Skip to content

Commit

Permalink
Attempt to fix the doc builds
Browse files Browse the repository at this point in the history
Untested. If this doesn't work, I know a version that will
  • Loading branch information
eric-wieser authored Oct 23, 2024
1 parent 31feffa commit 2ba2126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@


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

0 comments on commit 2ba2126

Please sign in to comment.