Skip to content

Commit

Permalink
Modify conf.py for sphinx error due to update
Browse files Browse the repository at this point in the history
  • Loading branch information
atharva-2001 committed Dec 9, 2024
1 parent ed39066 commit 1483ee1
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@
bibtex_bibfiles = ["tardis.bib"]

intersphinx_mapping = {
"python": ("http://docs.python.org/", None),
"numpy": ("http://docs.scipy.org/doc/numpy/", None),
"scipy": ("http://docs.scipy.org/doc/scipy/reference/", None),
"matplotlib": ("http://matplotlib.sourceforge.net/", None),
"python": ("https://docs.python.org/3/", None),
"numpy": ("https://numpy.org/doc/stable/", None),
"scipy": ("https://docs.scipy.org/doc/scipy/", None),
"matplotlib": ("https://matplotlib.org/stable/", None),
"astropy": ("http://docs.astropy.org/en/stable/", None),
"h5py": ("http://docs.h5py.org/en/latest/", None),
"pandas": ("http://pandas.pydata.org/pandas-docs/dev/", None),
Expand Down Expand Up @@ -135,7 +135,7 @@
]

nbsphinx_prolog = r"""
{% set docname = 'docs/' + env.doc2path(env.docname, base=None) %}
{% set docname = 'docs/' + env.doc2path(env.docname, base=None)|string %}
.. raw:: html
<style>
Expand Down Expand Up @@ -183,6 +183,8 @@
else:
nbsphinx_execute = "auto"

# nbsphinx_kernel_name = 'python3'
# nbsphinx_allow_errors = True

# -- Project information ------------------------------------------------------

Expand Down

0 comments on commit 1483ee1

Please sign in to comment.