Skip to content

Commit

Permalink
Fix link to ipynb in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
utf committed Oct 10, 2023
1 parent 751d893 commit fbd2cbb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
default_language_version:
python: python3
exclude: '^.github/'
exclude: '^.github/|^docs/conf.py'
repos:
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.287
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,9 @@
:format: html
.. nbinfo::
This page is available as a Jupyter notebook: `{{ docpath }}`__.
This page is available as a Jupyter notebook: `{{ docpath | replace(".nblink", ".ipynb") }}`__.
__ https://github.com/fermisurfaces/IFermi/tree/main/examples/{{ docpath }}"""
__ https://github.com/fermisurfaces/IFermi/tree/main/examples/{{ docpath | replace(".nblink", ".ipynb") }}"""


# -- Options for manual page test_log ------------------------------------------
Expand Down

0 comments on commit fbd2cbb

Please sign in to comment.