Skip to content

Commit

Permalink
Switch to use sphinx_mdinclude
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed Mar 30, 2024
1 parent f34412e commit 9c8facc
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@
'releases',
'sphinxcontrib.bibtex',
'sphinx_rtd_theme',

# local extensions
'md_include',
'sphinx_mdinclude'
]

# This is not actually used as we have a template overload to render this with
Expand Down
2 changes: 0 additions & 2 deletions doc/getting-started.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
.. mdinclude:: ../README.md
:start-after: <!-- begin: getting-started -->
:end-before: <!-- end: getting-started -->
1 change: 0 additions & 1 deletion doc/index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.. mdinclude:: ../README.md
:end-before: <!-- begin:

.. these are all hidden, because they render more clearly in the sidebar.
Expand Down
1 change: 1 addition & 0 deletions doc/readthedocs-pip-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ ipykernel
nbsphinx
numba
sphinx-rtd-theme
sphinx_mdinclude

sphinx-markdown-tables
notedown
Expand Down

0 comments on commit 9c8facc

Please sign in to comment.