Skip to content
Snippets Groups Projects
Commit 989e95ad authored by Eduardo Rodrigues's avatar Eduardo Rodrigues
Browse files

Merge branch 'mamartin-docs-organisation' into 'master'

DaVinci website organisation

See merge request !719
parents 0d47ab7f 659f3a44
No related branches found
No related tags found
2 merge requests!1103Draft: Add AnalysisHelpers to DaVinci Stack,!719DaVinci website organisation
Pipeline #4435269 passed
Examples
========
.. toctree::
PyConf
======
DaVinci relies on`PyConf`, sharing this configuration framework with Moore.
Documenting DaVinci
===================
This documentation is written in `reStructuredText`_ and built in to web pages by `Sphinx`_.
The source can be found in the `doc`_ directory of the DaVinci project.
We follow the `Google style guide`_ (`example`_) when writing `docstrings`_ in Python.
Building the documentation locally
----------------------------------
It is enough to run the following command to get the documentation in ``DaVinci/doc/_build/html``
.. code-block:: sh
run make -C DaVinci/doc html
run make -C DaVinci/doc linkcheck
.. _reStructuredText: https://docutils.sourceforge.io/rst.html
.. _Sphinx: https://www.sphinx-doc.org/en/master/
.. _doc: https://gitlab.cern.ch/lhcb/DaVinci/-/tree/master/doc
.. _Google style guide: https://www.sphinx-doc.org/en/master/usage/extensions/napoleon.html
.. _docstrings: https://www.python.org/dev/peps/pep-0257/#what-is-a-docstring
.. _example: https://www.sphinx-doc.org/en/master/usage/extensions/example_google.html#example-google
...@@ -26,15 +26,22 @@ and Turbo output. ...@@ -26,15 +26,22 @@ and Turbo output.
:caption: User Guide :caption: User Guide
:maxdepth: 3 :maxdepth: 3
tutorials/running
configuration/davinci_configuration configuration/davinci_configuration
guide/documentation.rst
.. toctree::
:caption: Examples & Tutorials
:maxdepth: 3
tutorials/tutorials_index
examples/examples_index
.. toctree:: .. toctree::
:caption: API Reference :caption: API Reference
:maxdepth: 3 :maxdepth: 3
davinci/api_index davinci/api_index
framework/pyconf
Indices and tables Indices and tables
......
Tutorials
=========
.. toctree::
running
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment