Skip to content

Commit

Permalink
Embed Jupyter Notebook in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aadya940 committed Aug 5, 2024
1 parent 976e4c0 commit 72b3bc3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"sphinx.ext.githubpages",
"sphinx.ext.extlinks",
"sphinx_autodoc_typehints",
"nbsphinx",
]

source_suffix = {
Expand Down
7 changes: 6 additions & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ Examples
--------

You can see example usage of chainopy here:
`demo.ipynb <https://github.com/aadya940/chainopy/blob/master/examples/demo.ipynb>`_

.. toctree::
:maxdepth: 2
:caption: Examples:

../../examples/demo.ipynb

Autosummary
-----------
Expand Down
3 changes: 2 additions & 1 deletion requirements_doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ sphinx
sphinx-rtd-theme
furo
myst-parser
sphinx-autodoc-typehints
sphinx-autodoc-typehints
nbsphinx

0 comments on commit 72b3bc3

Please sign in to comment.