-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Sphinx documentation: - Add a pre-build task to the `readthedocs` config file in order to generate the `rst` files from the package docstrings so that Sphinx build the HTML files from them. - Add the `napoleon` extension to the Sphinx config file so that it can parse NumPy and Google style docstrings. - Fix the `index.rst` file so that the package API is effectively displayed: set `whitematterpackage` as the entry for the reference section. - Set the `bin` and `utilities` packages as the entries for the scripts section in the `index.rst` file.
- Loading branch information
1 parent
6bd4a22
commit 7acafa0
Showing
3 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
Welcome to the whitematteranalysis documentation! | ||
================================================= | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
:caption: Reference | ||
|
||
whitematteranalysis | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
:caption: Scripts | ||
|
||
bin | ||
utilities | ||
|