From: mmckerns <mmckerns@caltech.edu>
Date: Tue, 1 Oct 2024 22:53:28 -0400
Subject: docs formatting for sphinx 8.x

Origin: upstream, https://github.com/uqfoundation/pyina/pull/80
Bug-Debian: https://bugs.debian.org/1090118
Last-Update: 2024-12-24
---
 docs/source/conf.py | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/docs/source/conf.py b/docs/source/conf.py
index f0b2a48..9631810 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -19,6 +19,7 @@
 import os
 from datetime import datetime
 import sys
+sys.path.insert(0, os.path.abspath('../..'))
 scripts = os.path.abspath('../../scripts')
 sys.path.insert(0, scripts)
 try:
@@ -264,14 +265,14 @@ texinfo_documents = [
 
 
 # Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {'https://docs.python.org/3/': None}
-#    {'python': {'https://docs.python.org/': None},
-#     'mystic': {'https://mystic.readthedocs.io/en/latest/', None},
-#     'pathos': {'https://pathos.readthedocs.io/en/latest/', None},
-#     'pox': {'https://pox.readthedocs.io/en/latest/', None},
-#     'dill': {'https://dill.readthedocs.io/en/latest/', None},
-#     'multiprocess': {'https://multiprocess.readthedocs.io/en/latest/', None},
-#     'ppft': {'https://ppft.readthedocs.io/en/latest/', None},
-#     'klepto': {'https://klepto.readthedocs.io/en/latest/', None},
-#    }
+intersphinx_mapping = {
+    'python': ('https://docs.python.org/', None),
+#   'mystic': ('https://mystic.readthedocs.io/en/latest/', None),
+#   'pathos': ('https://pathos.readthedocs.io/en/latest/', None),
+#   'pox': ('https://pox.readthedocs.io/en/latest/', None),
+#   'dill': ('https://dill.readthedocs.io/en/latest/', None),
+#   'multiprocess': ('https://multiprocess.readthedocs.io/en/latest/', None),
+#   'ppft': ('https://ppft.readthedocs.io/en/latest/', None),
+#   'klepto': ('https://klepto.readthedocs.io/en/latest/', None),
+}
 
