Skip to content

Commit

Permalink
Fix relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdstein committed May 20, 2024
1 parent efad0c1 commit f9cf8d2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,20 @@ Contents
--------

.. toctree::
:maxdepth: 2

about
installation
design
usage
contributors
contributing-guide
modules

.. toctree::
:maxdepth: 3

autogen/pipelines
modules

Indices and tables
==================
Expand Down
2 changes: 1 addition & 1 deletion mirar/utils/docs/auto_config_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def auto_rst_config(pipeline: str, config: str):
)
)
doc.newline()
doc.content(f".. image:: {relative_image_path}")
doc.content(f".. image:: ../../{relative_image_path}")
doc.newline()


Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ generated-members=["u.*"]

[tool.poetry.scripts]
mirar-run = 'mirar.__main__:main'
mirar-docs-autogen = "mirar.utils.docs:iterate_rst_generation"
winter-stack = 'mirar.pipelines.winter.run:run_stack_of_stacks'

[build-system]
Expand Down

0 comments on commit f9cf8d2

Please sign in to comment.