2021-06-14 11:47:18 -04:00
|
|
|
Dependencies for LBPM documentation
|
|
|
|
|
|
|
|
|
|
# install sphinx
|
2021-06-21 20:49:53 +02:00
|
|
|
```python
|
2021-06-14 11:47:18 -04:00
|
|
|
pip install Sphinx
|
2021-06-21 20:49:53 +02:00
|
|
|
```
|
2021-10-21 20:26:21 -04:00
|
|
|
# formatting requires sphinx read-the-docs-theme
|
2021-06-21 20:49:53 +02:00
|
|
|
```python
|
2021-06-14 11:47:18 -04:00
|
|
|
pip install sphinx-rtd-theme
|
2021-06-21 20:49:53 +02:00
|
|
|
```
|
|
|
|
|
|
2021-06-14 11:47:18 -04:00
|
|
|
|
2021-09-21 19:32:35 -04:00
|
|
|
# support for doxygen requires breathe
|
|
|
|
|
pip install breathe
|
|
|
|
|
|
2021-06-14 11:47:18 -04:00
|
|
|
# equation rendering requires latex and dvipng command
|
2021-06-21 20:49:53 +02:00
|
|
|
```
|
2021-06-14 11:47:18 -04:00
|
|
|
sudo apt-get install dvipng
|
|
|
|
|
sudo apt-get install texlive texstudio
|
|
|
|
|
sudo apt-get install texlive-latex-recommended texlive-pictures texlive-latex-extra
|
2021-06-21 20:49:53 +02:00
|
|
|
```
|
2021-06-14 11:50:10 -04:00
|
|
|
|
|
|
|
|
# To build the docs
|
2021-06-21 20:49:53 +02:00
|
|
|
```
|
2021-06-14 11:50:10 -04:00
|
|
|
Step 1) install dependencies listed above
|
2021-09-21 19:32:35 -04:00
|
|
|
Step 2) build LBPM with doxygen support enabled in CMake
|
|
|
|
|
Step 3) From the build directory run the command 'make doc' to build html and xml from doxygen
|
|
|
|
|
Step 4) modify source/conf.py so that the breathe directory specifies the full path to the xml
|
|
|
|
|
documentation built in Step 3
|
|
|
|
|
Step 5) type 'make html' from the docs/ directory (the same directory that contains this README file)
|
|
|
|
|
Step 6) point your browser at ~/local/doc/build/html/index.html
|
2021-06-21 20:49:53 +02:00
|
|
|
#
|