File: docs_local_scripts.patch

package info (click to toggle)
python-gsd 3.4.2-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,020 kB
  • sloc: python: 3,141; ansic: 2,057; cpp: 120; makefile: 16
file content (22 lines) | stat: -rw-r--r-- 963 bytes parent folder | download | duplicates (2)
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	2024-07-05 14:50:53.377212575 +0200
+++ python-gsd/doc/conf.py	2024-07-05 14:51:13.037448439 +0200
@@ -26,12 +26,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'