removed crowbook and mdbook configand moved sphinx dirs one level up
Makefile adapted to new directory structure and mixed with the one from Sphinx
1
.gitignore
vendored
@ -210,3 +210,4 @@ crowbook/wtf-handbook.pdf
|
|||||||
|
|
||||||
# Plantuml binary
|
# Plantuml binary
|
||||||
plantuml.jar
|
plantuml.jar
|
||||||
|
py3-sphinx
|
||||||
|
46
Makefile
@ -1,26 +1,34 @@
|
|||||||
.PHONY: mdbook crowbook sphinx bundle
|
# Minimal makefile for Sphinx documentation
|
||||||
|
#
|
||||||
|
|
||||||
all: mdbook crowbook sphinx
|
# You can set these variables from the command line, and also
|
||||||
|
# from the environment for the first two.
|
||||||
|
SPHINXOPTS ?=
|
||||||
|
SPHINXBUILD ?= sphinx-build
|
||||||
|
SOURCEDIR = source
|
||||||
|
BUILDDIR = build
|
||||||
|
|
||||||
|
# Put it first so that "make" without argument is like "make help".
|
||||||
|
help:
|
||||||
|
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
||||||
|
|
||||||
|
.PHONY: help Makefile
|
||||||
|
|
||||||
|
# Catch-all target: route all unknown targets to Sphinx using the new
|
||||||
|
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
||||||
|
%: Makefile
|
||||||
|
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
||||||
|
|
||||||
|
.PHONY: sphinx bundle
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-rm -rf sphinx/build/*
|
-rm -rf build/*
|
||||||
|
|
||||||
mdbook:
|
|
||||||
-mdbook build mdbook
|
|
||||||
-cd mdbook; RUST_BACKTRACE=1 mdbook-epub --standalone
|
|
||||||
|
|
||||||
crowbook:
|
|
||||||
crowbook crowbook/wtf-handbook.book
|
|
||||||
|
|
||||||
sphinx:
|
sphinx:
|
||||||
$(MAKE) -C sphinx singlehtml epub latexpdf
|
$(MAKE) singlehtml epub latexpdf
|
||||||
|
|
||||||
bundle: all
|
bundle: sphinx
|
||||||
-mkdir bundle
|
-mkdir bundle
|
||||||
cp mdbook/book/epub/RTFM\ -\ Das\ WTF\ Kooperative\ Handbuch.epub bundle/mdbook_RTFM\ -\ Das\ WTF\ Kooperative\ Handbuch.epub
|
cp build/epub/*.epub bundle/
|
||||||
cp crowbook/wtf-handbook.epub bundle/crowbook_wtf-handbook.epub
|
cp build/latex/*.pdf bundle/
|
||||||
cp crowbook/wtf-handbook.pdf bundle/crowbook_wtf-handbook.pdf
|
rsync -av --delete build/singlehtml/ bundle/html
|
||||||
cp crowbook/wtf-handbook.html bundle/crowbook_wtf_handbook.html
|
|
||||||
cp sphinx/build/epub/RTFM-DasHandbuchzurWTFeG.epub bundle/sphinx_DasHandbuchzurWTFeG.epub
|
|
||||||
cp sphinx/build/latex/rtfm-dashandbuchzurwtfeg.pdf bundle/sphinx_DasHandbuchzurWTFeG.pdf
|
|
||||||
rsync -av --delete sphinx/build/singlehtml/ bundle/sphinx_html
|
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
|
|
||||||
## Installation ##
|
|
||||||
|
|
||||||
````
|
|
||||||
rustup
|
|
||||||
cargo install crowbook
|
|
||||||
````
|
|
||||||
|
|
||||||
pdf generation needs xelatex
|
|
@ -1,25 +0,0 @@
|
|||||||
author: Autorenkollektiv
|
|
||||||
title: RTFM - Das Handbuch für die WTF eG
|
|
||||||
lang: de
|
|
||||||
|
|
||||||
## Output formats
|
|
||||||
|
|
||||||
# Uncomment and fill to generate files
|
|
||||||
# output.html: some_file.html
|
|
||||||
# output.epub: some_file.epub
|
|
||||||
# output.pdf: some_file.pdf
|
|
||||||
|
|
||||||
# Or uncomment the following to generate PDF, HTML and EPUB files based on this file's name
|
|
||||||
output: [pdf, epub, html]
|
|
||||||
|
|
||||||
# Uncomment and fill to set cover image (for EPUB)
|
|
||||||
# cover: some_cover.png
|
|
||||||
|
|
||||||
## List of chapters
|
|
||||||
+ ../handbuch/intro.md
|
|
||||||
+ ../handbuch/organisation.md
|
|
||||||
+ ../handbuch/Aufnahmeprozess.md
|
|
||||||
+ ../handbuch/Wegweiser.md
|
|
||||||
+ ../handbuch/Auszahlung.md
|
|
||||||
+ ../handbuch/RaaS.md
|
|
||||||
+ ../handbuch/FAQ.md
|
|
@ -1,8 +0,0 @@
|
|||||||
|
|
||||||
## Installation ##
|
|
||||||
|
|
||||||
``
|
|
||||||
rustup
|
|
||||||
cargo install mdbook
|
|
||||||
cargo install mdbook-epub
|
|
||||||
````
|
|
@ -1,11 +0,0 @@
|
|||||||
[book]
|
|
||||||
authors = ["Autorenkollektiv"]
|
|
||||||
language = "de"
|
|
||||||
multilingual = false
|
|
||||||
src = "src"
|
|
||||||
title = "RTFM - Das WTF Kooperative Handbuch"
|
|
||||||
|
|
||||||
[output.html]
|
|
||||||
mathjax-support = true
|
|
||||||
|
|
||||||
[output.epub]
|
|
@ -1,9 +0,0 @@
|
|||||||
# Inhaltsverzeichnis
|
|
||||||
|
|
||||||
- [Wichtige Links](../../Handbuch/intro.md)
|
|
||||||
- [Organisation](../../handbuch/organisation.md)
|
|
||||||
- [Aufnahmeprozess](../../Handbuch/Aufnahmeprozess.md)
|
|
||||||
- [Wegweiser für neue Mitglieder](../../Handbuch/Wegweiser.md)
|
|
||||||
- [Auszahlung](../../Handbuch/Auszahlung.md)
|
|
||||||
- [Rechnung as a Service (RaaS)](../../Handbuch/RaaS.md)
|
|
||||||
- [Häufige Fragen](../../Handbuch/FAQ.md)
|
|
Before Width: | Height: | Size: 163 KiB After Width: | Height: | Size: 163 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 78 KiB |
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 79 KiB |
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 81 KiB |
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 78 KiB |
Before Width: | Height: | Size: 91 KiB After Width: | Height: | Size: 91 KiB |
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 66 KiB |
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 90 KiB |