File: doc_build.patch

package info (click to toggle)
slepc4py 3.24.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,340 kB
  • sloc: python: 6,876; makefile: 129; ansic: 98; sh: 46
file content (28 lines) | stat: -rw-r--r-- 1,221 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
23
24
25
26
27
28
Index: slepc4py/docs/source/conf.py
===================================================================
--- slepc4py.orig/docs/source/conf.py	2025-11-23 00:46:36.802047707 +0100
+++ slepc4py/docs/source/conf.py	2025-11-23 00:47:35.491707114 +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
 
@@ -501,10 +501,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 ------------------------------------------