Skip to content

Commit

Permalink
added jupyter notebooks to the html documentation (VincentStimper#38)
Browse files Browse the repository at this point in the history
* added jupyter notebooks to the html documentation

* the mkdocs workflow installs mkdocs-jupyter

* replacing in docs symbolic links to file by symbolic link to folder

---------

Co-authored-by: Vincent Berenz <[email protected]>
  • Loading branch information
vincentberenz and Vincent Berenz authored Jun 6, 2023
1 parent 11c49ef commit 29a480c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/mkdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install mkdocs-material mkdocstrings[python]
- run: pip install mkdocs-material mkdocstrings[python] mkdocs-jupyter
- run: mkdocs gh-deploy --force
1 change: 1 addition & 0 deletions docs/examples
16 changes: 15 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,26 @@ site_url: https://github.com/VincentStimper/normalizing-flows
plugins:
- search
- autorefs
- mkdocs-jupyter
- mkdocstrings:
handlers:
python:
options:
show_submodules: true

nav:
- about: index.md
- About: index.md
- API: references.md
- Examples:
- augmented_flow: examples/augmented_flow.ipynb
- change_base_distribution: examples/change_base_distribution.ipynb
- circular_nsf: examples/circular_nsf.ipynb
- comparison_plan_rad_aff: examples/comparison_plan_rad_aff.ipynb
- glow: examples/glow.ipynb
- image: examples/image.ipynb
- neural_spline_flow: examples/neural_spline_flow.ipynb
- paper_example_nsf: examples/paper_example_nsf.ipynb
- planar: examples/planar.ipynb
- real_nvp: examples/real_nvp.ipynb
- residual: examples/residual.ipynb
- vae: examples/vae.ipynb

0 comments on commit 29a480c

Please sign in to comment.