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

package info (click to toggle)
llvm-toolchain-18 1%3A18.1.8-18
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,908,340 kB
  • sloc: cpp: 6,667,937; ansic: 1,440,452; asm: 883,619; python: 230,549; objc: 76,880; f90: 74,238; lisp: 35,989; pascal: 16,571; sh: 10,229; perl: 7,459; ml: 5,047; awk: 3,523; makefile: 2,987; javascript: 2,149; xml: 892; fortran: 649; cs: 573
file content (50 lines) | stat: -rw-r--r-- 2,655 bytes parent folder | download | duplicates (13)
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_11~++20200326111000+4673699a470/clang/docs/analyzer/conf.py
===================================================================
--- llvm-toolchain-snapshot_11~++20200326111000+4673699a470.orig/clang/docs/analyzer/conf.py
+++ llvm-toolchain-snapshot_11~++20200326111000+4673699a470/clang/docs/analyzer/conf.py
@@ -121,7 +121,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_11~++20200326111000+4673699a470/clang/docs/conf.py
===================================================================
--- llvm-toolchain-snapshot_11~++20200326111000+4673699a470.orig/clang/docs/conf.py
+++ llvm-toolchain-snapshot_11~++20200326111000+4673699a470/clang/docs/conf.py
@@ -122,7 +122,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_11~++20200326111000+4673699a470/polly/docs/conf.py
===================================================================
--- llvm-toolchain-snapshot_11~++20200326111000+4673699a470.orig/polly/docs/conf.py
+++ llvm-toolchain-snapshot_11~++20200326111000+4673699a470/polly/docs/conf.py
@@ -127,7 +127,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.