File: doc-no-git.patch

package info (click to toggle)
numba 0.56.4%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 23,672 kB
  • sloc: python: 183,651; ansic: 15,370; cpp: 2,259; javascript: 424; sh: 308; makefile: 174
file content (13 lines) | stat: -rw-r--r-- 518 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/docs/source/_ext/ghfiles.py b/docs/source/_ext/ghfiles.py
index 2a71982..72bcbc6 100644
--- a/docs/source/_ext/ghfiles.py
+++ b/docs/source/_ext/ghfiles.py
@@ -9,7 +9,7 @@ logger = logging.getLogger(__name__)
 # use an old git trick, to get the top-level, could have used ../ etc.. but
 # this will be fine..
 top = subprocess.check_output(shlex.split(
-    "git rev-parse --show-toplevel")).strip().decode("utf-8")
+    "true rev-parse --show-toplevel")).strip().decode("utf-8")
 
 
 def make_ref(text):