Skip to content

Sphinx documentation of the EXP C++ and Python libraries

License

Notifications You must be signed in to change notification settings

soleyhyman/EXP-docs

 
 

Repository files navigation

EXP documentation quick start guide

This file provides a quick guide on how to compile the EXP documentation.

Setup the environment

To compile the documentation you need Sphinx Python library. To install it along with the ReadTheDocs theme, run the following commands:

pip install sphinx
pip install sphinx-rtd-theme

For a Linux system with apt (e.g. Ubuntu), you can do:

apt-get install python3-sphinx python3-sphinx-rtd-theme

Compile the documentation

To compile the documentation (to classic HTML output) run the following command from this directory:

make html

Documentation will be generated (in HTML format) inside the _build/html directory.

Other formats are available. For example, you can make epub format with:

make epub

I've tested this with a standard epub reader under Linux and it works, but does not correctly render the LaTeX. You can generate a PDF file using:

make latexpdf

This makes correct LaTeX equations and a nice TOC with an index as well.

View the documentation

To view the documentation run the following command point your browser at _build/html/index.html

Start over

To clean up all generated documentation files and start from scratch run:

make clean

Keep in mind that this command won't touch any documentation source files.

About

Sphinx documentation of the EXP C++ and Python libraries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 32.9%
  • Batchfile 16.5%
  • XSLT 14.7%
  • HTML 14.4%
  • Makefile 13.7%
  • CSS 7.8%