-
Notifications
You must be signed in to change notification settings - Fork 12
How to add brian2CUDA documentation
SudeshnaBora edited this page Jun 1, 2021
·
1 revision
- sphinx
-
Step 1: Create a folder to store the documentation (example :
docs_sphinx
). -
Step 2: Install
sphinx
package
pip install sphinx
-
Step 3: Install the documentation.
Usually this is done using
sphinx-quickstart
, which gives an interactive guide to create the documentation. Recommendation is to run it for the basic structure and then to change it according to brian2 and brians2genn.
The minimum files/folder structure inside docs_sphinx
is
- conf.py
- index.rst
index.rst contains the table of content structure for the documentation.
conf.py contains the configurations for creating the documentation. We will now discuss some custom changes done in conf.py for our documentation.
An additional module to handle documentation extension usage. This module contains function to generate examples, references etc.