Skip to content

Commit

Permalink
Updates to the documentation tech stack have resulted in errors and t…
Browse files Browse the repository at this point in the history
…he docs could not be built.

This change introduces a workaround, however there are still warnings being raised. It is likely
that they will persist until the underlying libraries adapt to the new versions. This commit
should restore the ability for readthedocs to build the documentation (hopefully).
  • Loading branch information
tennlee committed Aug 7, 2024
1 parent d4a53e9 commit e72e1e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
# -- nbsphinx ---------------------------------------------------------------
# This is processed by Jinja2 and inserted after each notebook
nbsphinx_prolog = r"""
{% set docname = '' + env.doc2path(env.docname, base=False) %}
{% set docname = '' + env.doc2path(env.docname, base=False)|string() %}
.. raw:: html
Expand All @@ -73,7 +73,7 @@

# This is processed by Jinja2 and inserted after each notebook
nbsphinx_epilog = r"""
{% set docname = 'doc/' + env.doc2path(env.docname, base=None) %}
{% set docname = 'doc/' + env.doc2path(env.docname, base=None)|string() %}
.. raw:: latex
\nbsphinxstopnotebook{\scriptsize\noindent\strut
Expand Down

0 comments on commit e72e1e8

Please sign in to comment.