File: docs_local_scripts.patch

package info (click to toggle)
python-gsd 4.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,152 kB
  • sloc: python: 3,255; ansic: 1,965; cpp: 129; makefile: 14
file content (22 lines) | stat: -rw-r--r-- 963 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Index: python-gsd/doc/conf.py
===================================================================
--- python-gsd.orig/doc/conf.py	2025-10-18 12:06:40.723923266 +0200
+++ python-gsd/doc/conf.py	2025-10-18 12:06:40.715119174 +0200
@@ -27,12 +27,14 @@
 napoleon_include_special_with_doc = True
 
 intersphinx_mapping = {
-    'python': ('https://docs.python.org/3', None),
-    'numpy': ('https://numpy.org/doc/stable', None),
-    'hoomd': ('https://hoomd-blue.readthedocs.io/en/latest/', None),
+    'python': ('https://docs.python.org/3', ('/usr/share/doc/python3/html/objects.inv', None)),
+    'numpy': ('https://numpy.org/doc/stable', ('/usr/share/doc/python-numpy/html/objects.inv', None)),
+#    'hoomd': ('https://hoomd-blue.readthedocs.io/en/latest/', None),
 }
 autodoc_docstring_signature = True
 
+mathjax_path = 'file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
+
 templates_path = ['_templates']
 
 source_suffix = '.rst'