Professional Documents
Culture Documents
==========================================
1. You should follow the instructions on the Sphinx website to install Sphinx on
your system.
4. Once you have installed the "readthedocs" theme, depending on your OS, it will
also have installed a `docutils` (http://docutils.sourceforge.net/) Python package.
This should be okay, however if you have issues with building docs for PDF
ensure that the `docutils` version works for you.
On Windows the required version was 0.18.1 to build PDF docs (pip install
docutils=0.18.1), however on other systems lower versions were fine.
Within this `src` folder update the associated `.rst` files which are in
restructured text format. These files represent the corresponding document pages.
- Use tab indented code for code blocks with, e.g. .. code-block:: bash
- For headers underline text with ==== for h1 level, ---- for h2, ~~~~ for h3 &
"""" for h4
For full details on RST syntax, see:
https://www.sphinx-doc.org/en/master/usage/restructuredtext/
This then creates the HTML documentation within `doc/build` for your review, you
can then run `build/index.html` to check out the results.
pdflatex --help
cd build/latex
make
If there any warnings then hit return to pass through them to continue building
( also decide if you need to fix them or not ).
Move the Ghostscript.pdf file into the root of "doc" and replace the existing PDF
as required.
- Make your edits as required in the relevant RST files ( see above: Editing the
documentation )
- Test locally by building and running in local browser ( see above "Building HTML
documentation" )
- Ensure that `News.html` reflects the latest release and has any further "news"
- Once changes are pushed to golden master then readthedocs.io should pick up the
changes, build & deploy the docs!
---