-
Install Sphinx
$ pip install sphinx sphinx_rtd_theme sphinx_copybutton
NOTE: You may get a warning about the
dot
command if you do not havegraphviz
installed. -
Build the documentation
$ make html # Option 1 $ make latexpdf # Option 2
-
View
_build/html/index.html
in your browser
$ make -C doc/OnlineDocs doctest -d # from the pyomo root folder