mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
Add build instructions for PDF
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
13
README.rst
13
README.rst
@@ -106,6 +106,9 @@ For developers that want to ease the translation process, please read `this docu
|
||||
Building
|
||||
--------
|
||||
|
||||
Building HTML
|
||||
=============
|
||||
|
||||
1. Install `pipenv` - https://pipenv.readthedocs.io/en/latest/
|
||||
2. Create a Python environment (typically inside this repository): `pipenv --python 3.9`
|
||||
3. Change into the environment: `pipenv shell`
|
||||
@@ -121,6 +124,16 @@ When editing the documentation installing `sphinx-autobuild` though pip can be h
|
||||
3. Watch for file changes `make SPHINXBUILD=sphinx-autobuild html`
|
||||
4. Open http://127.0.0.1:8000 in the browser and start editing
|
||||
|
||||
Building PDF
|
||||
============
|
||||
|
||||
1. Follow instructions for "Building HTML" above
|
||||
2. Install `latexmk` and `texlive-latex-extra` - https://pipenv.readthedocs.io/en/latest/
|
||||
3. Create a Python environment (typically inside this repository): `pipenv --python 3.9`
|
||||
4. Change into the environment: `pipenv shell`
|
||||
5. Install the dependencies `pip install -r requirements.txt`
|
||||
6. Now you can use `make ...` to build all the stuff - for example `make pdf` to build the PDF flavor of all manuals
|
||||
|
||||
Icons
|
||||
-----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user