Skip to content

Commit

Permalink
ENH: Fix modules in index.rst Sphinx documentation index file
Browse files Browse the repository at this point in the history
Fix the package and script module names in the `index.rst` Sphinx
documentation index file so that they can be correctly discovered.

Allows the documentation to be extracted successfully by Sphinx.
  • Loading branch information
jhlegarreta committed Oct 17, 2023
1 parent 548392e commit 7bac48e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ build:
apt_packages:
- libblas-dev
- liblapack-dev
jobs:
pre_build:
- sphinx-apidoc -f -o . ../

# Build documentation in the doc/ directory with Sphinx
sphinx:
Expand Down
4 changes: 2 additions & 2 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ Welcome to the tractolearn documentation!
.. toctree::
:maxdepth: 1

modules/tractolearn
scripts/modules
modules
scripts

0 comments on commit 7bac48e

Please sign in to comment.