Revision 6575e90ac72aa07855659299a5fa2e6830cea121 authored by st-- on 13 March 2020, 17:24:58 UTC, committed by GitHub on 13 March 2020, 17:24:58 UTC
and clean up Makefile
1 parent 46809a1
README.md
# GPflow documentation
## Online
[![Documentation Status (master)](https://readthedocs.org/projects/gpflow/badge/?version=master)](http://gpflow.readthedocs.io/en/master/?badge=master)
[![Documentation Status (develop)](https://readthedocs.org/projects/gpflow/badge/?version=develop)](http://gpflow.readthedocs.io/en/develop/?badge=develop)
We use readthedocs to build the online documentation, and have separate versions for the `master` and `develop` branches: https://gpflow.readthedocs.io/en/master/ (for the latest official release e.g. on PyPI) and https://gpflow.readthedocs.io/en/develop/ (for the latest cutting-edge code available from the develop branch on github).
## Compiling documentation
To compile the GPflow documentation locally:
1. Install doc dependencies
```
pip install sphinx sphinx_rtd_theme numpydoc nbsphinx sphinx_autodoc_typehints ipython
```
2. Install pandoc
```
pip install pandoc
```
If pandoc does not install via pip, or step 4 does not work, go to pandoc.org/installing.html
3. Change directory to `doc`
```
cd doc
```
4. Compile the documentation as html
```
make html
```
5. Check documentation locally by opening (in a browser) doc/build/html/index.html
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...