Skip to content

Commit

Permalink
Add Sphinx extensions for autodoc summaries and section labeling; upd…
Browse files Browse the repository at this point in the history
…ate installation instructions formatting
  • Loading branch information
boyuan276 committed Dec 13, 2024
1 parent 5a909b2 commit 64b008b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
2 changes: 2 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
'sphinx.ext.napoleon', # Support for Google/NumPy style docstrings
'sphinx.ext.viewcode', # Add links to source code
'sphinx_rtd_theme', # ReadTheDocs theme
'sphinx.ext.autosummary', # Generate autodoc summaries
'sphinx.ext.autosectionlabel', # Automatically label each section
]

templates_path = ['_templates']
Expand Down
8 changes: 0 additions & 8 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,3 @@ See also
--------

- `MATLAB version of the NYgrid model <https://github.com/AndersonEnergyLab-Cornell/NYgrid.git>`_


Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
3 changes: 2 additions & 1 deletion docs/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ Install using pip
-----------------

The ``nygrid`` package can be installed using pip::
pip install nygrid

pip install nygrid

Install from source
-------------------
Expand Down

0 comments on commit 64b008b

Please sign in to comment.