Skip to content

Commit

Permalink
Fixes path errors when generating table of contents
Browse files Browse the repository at this point in the history
  • Loading branch information
tsole0 committed Jun 30, 2023
1 parent 061f1ae commit 577d88f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/sphinx-docs/doc-regen/makedocumentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def get_main_docs():

def call_regenmodel(filepath, regen_py):
"""
Runs regenmodel.py/regentoc.py with all found PY_FILES
Runs regenmodel.py/regentoc.py (specified in parameter regen_py) with all found PY_FILES
"""
REGENMODEL = abspath(regen_py)
command = [
Expand Down
2 changes: 1 addition & 1 deletion docs/sphinx-docs/doc-regen/regentoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"""

MODEL_TOC_PATH = "../../../../docs/sphinx-docs/source-temp/user/qtgui/Perspectives/Fitting/models"
MODEL_TOC_PATH = "../source-temp/user/qtgui/Perspectives/Fitting/models"

def _make_category(category_name, label, title, parent=None):
# type: (str, str, str, Optional[BinaryIO]) -> BinaryIO
Expand Down

0 comments on commit 577d88f

Please sign in to comment.