Compare commits

..

7 Commits

Author SHA1 Message Date
30ae14dde1 Merge pull request 'Readme' (#15) from dancesWithCycles/handbuch-gen:readme into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #15
2022-11-22 21:10:22 +01:00
b67f892ed5 #15 doc: add missing markdown
All checks were successful
continuous-integration/drone/pr Build is passing
2022-11-22 15:21:53 +01:00
f03e5d87eb #15 doc: summarized apt install 2022-11-22 15:20:28 +01:00
b8b9be9891 #15 doc: add section: clean up
All checks were successful
continuous-integration/drone/pr Build is passing
2022-10-14 10:11:33 +02:00
2265935bd6 #15 doc: adjust section: other dependencies
All checks were successful
continuous-integration/drone/pr Build is passing
2022-10-14 09:55:46 +02:00
3414b67e58 #15 doc: adjust section: other dependencies
All checks were successful
continuous-integration/drone/pr Build is passing
2022-10-14 09:22:23 +02:00
8d6ee6f776 #15 doc: adjust section: checkout with submodules
All checks were successful
continuous-integration/drone/pr Build is passing
2022-10-14 08:28:08 +02:00

View File

@ -17,6 +17,14 @@ This repository accesses the required WTF handbook's content as a git submodule.
git clone --recurse-submodules https://git.wtf-eg.de/wtf-eg/handbuch-gen.git git clone --recurse-submodules https://git.wtf-eg.de/wtf-eg/handbuch-gen.git
``` ```
If you cloned this repository initially without submobules, you can always update the content of submodule directories with the git submodule update command. Execute the command from the main project directory:
```
git submodule update --init --recursive
```
The --init flag initializes the submodules before the update. The --recursive option searches for nested submodules and ensures they are updated too.
### Python based dependencies ### Python based dependencies
In order to generate the documentation, first create a Python 3 virtual environment using the `venv` module included in Python 3: In order to generate the documentation, first create a Python 3 virtual environment using the `venv` module included in Python 3:
@ -29,7 +37,13 @@ In order to generate the documentation, first create a Python 3 virtual environm
For generating the images from PlantUML sources (`*.plantuml`), [PlantUML](https://plantuml.com/) is required. For generating the images from PlantUML sources (`*.plantuml`), [PlantUML](https://plantuml.com/) is required.
For pdf output the LaTeX builder is used, so `latex` and `pdflatex` need to be installed. For pdf output the LaTeX builder is used, so `latex` and `pdflatex` need to be installed. On a clean (no Latex compilation yet) operating system like GNU/Debian, the following dependencies are required to make Latex compile the sources.
```
sudo apt install texlive-base texlive-latex-base texlive-latex-extra texlive-lang-german texlive-fonts-extra --no-install-recommends
```
For document generation `make` and `latexmk` is required.
### Running the document generation via make ### Running the document generation via make
@ -48,3 +62,8 @@ export SPHINXOPTS="-D version=$(git -C source/handbuch describe --tags --abbrev=
The output files of the final handbook can be found in the subfolder `./bundle`. The output files of the final handbook can be found in the subfolder `./bundle`.
All generated intermediate artifacts and the final output files can be found in the `./build` subfolder. All generated intermediate artifacts and the final output files can be found in the `./build` subfolder.
### Clean up
1. Deactivate the virtual Python environment: ```deactivate```
2. Clean up the build sources: ```make clean``` and ```rm -r build bundle```