This is a Sphinx project for documentation of the MESSAGEix-GLOBIOM global integrated assessment model (IAM). The built documentation is at:
- Branches other than
master
in the main repository (iiasa/message_doc
) can be built under the IIASA ENE ReadTheDocs account, and will appear athttps://docs.messageix.org/projects/global/en/[BRANCH]
. Authorized users can configure these at https://readthedocs.com/projects/iiasa-energy-program-message-doc/versions/ - For a personal fork, e.g.
[USER]/message_doc
, visit https://readthedocs.io [1] and configure builds for your fork, using a project name likemessage-doc-[USER]
. These will appear athttps://message-doc-[USER].readthedocs.io/en/[BRANCH]
.
[1] | note that this is the free/open-source version of RTD, rather than the commercial product used by ENE for the official documentation of releases. |
- Install Sphinx and other requirements (
):
pip install -r requirements.txt
Build from the command line. On Linux or macOS:
make html
On Windows:
.\make html
Open
_build/index.html
.
Use the following references:
- Quick reStructuredText reference from docutils.
- ReST cheat sheet by Thomas Cokelaer.
- Sphinx documentation, including reference on Sphinx-specific ReST syntax.
- Usage for
sphinxcontrib.bibtex
(citations and bibliography).
Add citations to bibs/main.bib
. Format entries:
- Field lines like
[TAB]year = {2010},
: tab indent, spaces around=
, value inside{}
, trailing comma. - Use either
doi
(preferred) orurl
, not both. keywords
separated by semicolons (';').- Do not include
abstract
,localfile
, orfile
fields.