Commit 05999219 authored by Guillaume Blanchy's avatar Guillaume Blanchy
Browse files

Update to fix latexpdf doc build

Showing with 7 additions and 2 deletions
+7 -2
......@@ -11,9 +11,9 @@ pages:
- pip install sphinx numpydoc sphinx_rtd_theme pandoc recommonmark linuxdoc
- cp configs/config_default.py ohmpi/config.py # needed otherwise, module ohmpi cannot be instantiated (no API doc)
- cd doc
- make latexpdf
- sphinx-build -M latexpdf source build
- mv build/latex/ohmpi.pdf source/_static/ohmpi.pdf
- make html
- sphinx-build -M html source build
- cd ..
- mv doc/build/html/ public/
- ls public/
......
To compile the documentation:
Copy a default config just to be able to instantiate the ohmpi class, then build the doc.
```bash
cp configs/config_default.py ohmpi/config.py
cd doc/
rm -r build
sphinx-build source build
```
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment