File: doc_build.patch

package info (click to toggle)
slepc4py 3.24.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,760 kB
  • sloc: python: 6,916; makefile: 129; ansic: 98; sh: 46
file content (28 lines) | stat: -rw-r--r-- 1,221 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
23
24
25
26
27
28
Index: slepc4py/docs/source/conf.py
===================================================================
--- slepc4py.orig/docs/source/conf.py	2026-01-25 23:30:49.351185613 +0100
+++ slepc4py/docs/source/conf.py	2026-01-25 23:30:49.347744204 +0100
@@ -128,7 +128,7 @@
 
 # Links depends on the actual branch -> release or main
 www = f'https://gitlab.com/slepc/slepc/-/tree/{get_doc_branch()}'
-extlinks = {'sources': (f'{www}/src/binding/slepc4py/src/%s', '%s')}
+#extlinks = {'sources': (f'{www}/src/binding/slepc4py/src/%s', '%s')}
 
 napoleon_preprocess_types = True
 
@@ -519,10 +519,10 @@
     'footer_end': ['theme-version', 'last-updated'],
     'header_links_before_dropdown': 10, # before "more"
 }
-git_describe_version = (
-    subprocess.check_output(['git', 'describe', '--always']).strip().decode('utf-8')  # noqa: S603, S607
-)
-html_last_updated_fmt = r'%Y-%m-%dT%H:%M:%S%z (' + git_describe_version + ')'
+#git_describe_version = (
+#    subprocess.check_output(['git', 'describe', '--always']).strip().decode('utf-8')  # noqa: S603, S607
+#)
+#html_last_updated_fmt = r'%Y-%m-%dT%H:%M:%S%z (' + git_describe_version + ')'
 
 # -- Options for HTMLHelp output ------------------------------------------