Skip to content

Commit

Permalink
Fixed docs bug
Browse files Browse the repository at this point in the history
  • Loading branch information
PennyWieser committed Oct 24, 2024
1 parent 64ff8b9 commit 7a76440
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
# Some change in dependencies made us need to replace `var` with
# `env.config.html_context['var']`.
nbsphinx_prolog = r"""
{% set docname = 'docs/' + env.doc2path(env.docname, base=None) %}
{% set docname = 'docs' / env.doc2path(env.docname, base=None) %}
{% set git_ref = 'main' if not env.config.html_context['READTHEDOCS'] else
env.config.html_context['github_version']
if '.' not in env.config.html_context['current_version'] else
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sphinx_rtd_theme>=0.5.0
ipython
sphinxcontrib-bibtex>=2.3.0
nbsphinx==0.8.12
nbsphinx

0 comments on commit 7a76440

Please sign in to comment.