HajimeKawahara/exojax

View on GitHub
documents/developers/doc.rst

Summary

Maintainability
Test Coverage
Generates documents
==============================

We use the google style of the sphinx document.

.. code:: sh
    
    pip install sphinx_rtd_theme sphinxemoji

This is an example to generate the sphinx doc.

.. code:: python3

    python setup.py install
    rm -rf documents/exojax
    sphinx-apidoc -F -o documents/exojax src/exojax
    cd documents
    make clean
    make html

Generates the up-to-date documents of tutorials
------------------------------------------------

The following commands automatically run the tutorial notebooks and generate rst:

``documents/tutorials/``


.. code:: sh

    python jupyter2rst.py exe

If you just want to generate rst without executing notebooks, try this:

.. code:: sh

    python jupyter2rst.py none

One by One:

.. code:: sh

    python jupyter2rst_each.py (python filename)