Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

Commit

Permalink
docs: better navigation and notebooks (#20)
Browse files Browse the repository at this point in the history
### Summary of Changes

* Show "Back to Top" button
* Allow to attach documents to section headers (good for overview pages)
* Add notebook support
  • Loading branch information
lars-reimann authored Mar 15, 2023
1 parent 0d9a51a commit dd2bdef
Show file tree
Hide file tree
Showing 3 changed files with 124 additions and 2 deletions.
9 changes: 8 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repo_name: Safe-DS/Stdlib-Examples

nav:
- Home:
- README: README.md
- README.md
- Changelog: CHANGELOG.md
- Examples:
- Titanic: examples/titanic.md
Expand Down Expand Up @@ -37,8 +37,10 @@ theme:
features:
- content.code.copy
- navigation.tabs
- navigation.indexes
- navigation.instant
- navigation.sections
- navigation.top

plugins:
- mkdocstrings:
Expand All @@ -58,6 +60,11 @@ plugins:
- autorefs
- glightbox
- search
- mkdocs-jupyter:
include: ["*.ipynb"]
execute: true
allow_errors: false
include_source: true

watch:
- src
Expand Down
116 changes: 115 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ mkdocs-glightbox = "^0.3.1"
mkdocs-literate-nav = "^0.6.0"
mkdocs-material = "^9.1.2"
mkdocs-section-index = "^0.3.5"
mkdocs-jupyter = "^0.23.0"

[build-system]
requires = ["poetry-core"]
Expand Down

0 comments on commit dd2bdef

Please sign in to comment.