File: 0048-Set-html_static_path-_static-everywhere.patch

package info (click to toggle)
llvm-toolchain-21 1%3A21.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,235,796 kB
  • sloc: cpp: 7,617,614; ansic: 1,433,901; asm: 1,058,726; python: 252,096; f90: 94,671; objc: 70,753; lisp: 42,813; pascal: 18,401; sh: 10,032; ml: 5,111; perl: 4,720; awk: 3,523; makefile: 3,401; javascript: 2,272; xml: 892; fortran: 770
file content (50 lines) | stat: -rw-r--r-- 2,664 bytes parent folder | download | duplicates (4)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
From: Nicholas D Steeves <nsteeves@gmail.com>
Date: Sat, 10 Feb 2018 21:00:55 -0500
Subject: Set html_static_path = ['_static'] everywhere.

---
 clang-tools-extra/docs/conf.py | 2 +-
 clang/docs/analyzer/conf.py    | 2 +-
 clang/docs/conf.py             | 2 +-
 polly/docs/conf.py             | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

Index: llvm-toolchain-snapshot_21~++20250422102230+f541a3aad8e7/clang/docs/analyzer/conf.py
===================================================================
--- llvm-toolchain-snapshot_21~++20250422102230+f541a3aad8e7.orig/clang/docs/analyzer/conf.py
+++ llvm-toolchain-snapshot_21~++20250422102230+f541a3aad8e7/clang/docs/analyzer/conf.py
@@ -118,7 +118,7 @@ html_theme = "haiku"
 # Add any paths that contain custom static files (such as style sheets) here,
 # relative to this directory. They are copied after the builtin static files,
 # so a file named "default.css" will overwrite the builtin "default.css".
-html_static_path = []
+html_static_path = ['_static']
 
 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
 # using the given strftime format.
Index: llvm-toolchain-snapshot_21~++20250422102230+f541a3aad8e7/clang/docs/conf.py
===================================================================
--- llvm-toolchain-snapshot_21~++20250422102230+f541a3aad8e7.orig/clang/docs/conf.py
+++ llvm-toolchain-snapshot_21~++20250422102230+f541a3aad8e7/clang/docs/conf.py
@@ -127,7 +127,7 @@ html_theme = "haiku"
 # Add any paths that contain custom static files (such as style sheets) here,
 # relative to this directory. They are copied after the builtin static files,
 # so a file named "default.css" will overwrite the builtin "default.css".
-html_static_path = []
+html_static_path = ['_static']
 
 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
 # using the given strftime format.
Index: llvm-toolchain-snapshot_21~++20250422102230+f541a3aad8e7/polly/docs/conf.py
===================================================================
--- llvm-toolchain-snapshot_21~++20250422102230+f541a3aad8e7.orig/polly/docs/conf.py
+++ llvm-toolchain-snapshot_21~++20250422102230+f541a3aad8e7/polly/docs/conf.py
@@ -124,7 +124,7 @@ except ImportError:
 # Add any paths that contain custom static files (such as style sheets) here,
 # relative to this directory. They are copied after the builtin static files,
 # so a file named "default.css" will overwrite the builtin "default.css".
-html_static_path = []
+html_static_path = ['_static']
 
 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
 # using the given strftime format.