File: build_docs.patch

package info (click to toggle)
petsc4py 3.24.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,592 kB
  • sloc: python: 13,451; ansic: 1,768; makefile: 345; f90: 313; sh: 14
file content (19 lines) | stat: -rw-r--r-- 874 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Index: petsc4py/docs/source/conf.py
===================================================================
--- petsc4py.orig/docs/source/conf.py	2025-11-06 12:00:05.003801052 +0100
+++ petsc4py/docs/source/conf.py	2025-11-06 12:01:50.862314729 +0100
@@ -420,10 +421,10 @@
     'navigation_with_keys': True,
     'footer_end': ['theme-version', 'last-updated'],
 }
-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 ------------------------------------------