Skip to content

Commit 64b008b

Browse files
committed
Add Sphinx extensions for autodoc summaries and section labeling; update installation instructions formatting
1 parent 5a909b2 commit 64b008b

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

docs/source/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
'sphinx.ext.napoleon', # Support for Google/NumPy style docstrings
3030
'sphinx.ext.viewcode', # Add links to source code
3131
'sphinx_rtd_theme', # ReadTheDocs theme
32+
'sphinx.ext.autosummary', # Generate autodoc summaries
33+
'sphinx.ext.autosectionlabel', # Automatically label each section
3234
]
3335

3436
templates_path = ['_templates']

docs/source/index.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,3 @@ See also
4949
--------
5050

5151
- `MATLAB version of the NYgrid model <https://github.com/AndersonEnergyLab-Cornell/NYgrid.git>`_
52-
53-
54-
Indices and tables
55-
==================
56-
57-
* :ref:`genindex`
58-
* :ref:`modindex`
59-
* :ref:`search`

docs/source/installation.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ Install using pip
55
-----------------
66

77
The ``nygrid`` package can be installed using pip::
8-
pip install nygrid
8+
9+
pip install nygrid
910

1011
Install from source
1112
-------------------

0 commit comments

Comments
 (0)