1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
From: mmckerns <mmckerns@caltech.edu>
Date: Tue, 1 Oct 2024 22:57:01 -0400
Subject: docs formatting for sphinx 8.x
Origin: upstream, https://github.com/uqfoundation/mystic/pull/256
Bug-Debian: https://bugs.debian.org/1090106
Last-Update: 2025-03-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 658d058..eb1f4dc 100644
@@ -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:
@@ -254,14 +255,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},
-# 'pyina': {'https://pyina.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),
+# '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),
+# 'pyina': ('https://pyina.readthedocs.io/en/latest/', None),
+}
|