llvm.org GIT mirror llvm / aadf715
[Docs] Fix Sphinx incremental build. Patch by Sean Silva! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163235 91177308-0d34-0410-b5e6-96231b3b80d8 Michael J. Spencer 6 years ago
14 changed file(s) with 408 addition(s) and 414 deletion(s). Raw diff Collapse all Expand all
4545 html:
4646 $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
4747 @echo
48 @# FIXME: Remove this `cp` once HTML->Sphinx transition is completed.
49 @# Kind of a hack, but HTML-formatted docs are on the way out anyway.
50 @echo "Copying legacy HTML-formatted docs into $(BUILDDIR)/html"
51 @cp -a *.html tutorial $(BUILDDIR)/html
4852 @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
4953
5054 dirhtml:
0 {#
1 sphinxdoc/layout.html
2 ~~~~~~~~~~~~~~~~~~~~~
3
4 Sphinx layout template for the sphinxdoc theme.
5
6 :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
7 :license: BSD, see LICENSE for details.
8 #}
9 {% extends "basic/layout.html" %}
10
11 {% block relbar1 %}
12
13
14
15 alt="LLVM Logo" width="250" height="88"/>
16
17 {{ super() }}
18 {% endblock %}
19
20 {# put the sidebar before the body #}
21 {% block sidebar1 %}{{ sidebar() }}{% endblock %}
22 {% block sidebar2 %}{% endblock %}
0 /*
1 * sphinxdoc.css_t
2 * ~~~~~~~~~~~~~~~
3 *
4 * Sphinx stylesheet -- sphinxdoc theme. Originally created by
5 * Armin Ronacher for Werkzeug.
6 *
7 * :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
8 * :license: BSD, see LICENSE for details.
9 *
10 */
11
12 @import url("basic.css");
13
14 /* -- page layout ----------------------------------------------------------- */
15
16 body {
17 font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva',
18 'Verdana', sans-serif;
19 font-size: 14px;
20 letter-spacing: -0.01em;
21 line-height: 150%;
22 text-align: center;
23 background-color: #BFD1D4;
24 color: black;
25 padding: 0;
26 border: 1px solid #aaa;
27
28 margin: 0px 80px 0px 80px;
29 min-width: 740px;
30 }
31
32 div.logo {
33 background-color: white;
34 text-align: left;
35 padding: 10px 10px 15px 15px;
36 }
37
38 div.document {
39 background-color: white;
40 text-align: left;
41 background-image: url(contents.png);
42 background-repeat: repeat-x;
43 }
44
45 div.bodywrapper {
46 margin: 0 240px 0 0;
47 border-right: 1px solid #ccc;
48 }
49
50 div.body {
51 margin: 0;
52 padding: 0.5em 20px 20px 20px;
53 }
54
55 div.related {
56 font-size: 1em;
57 }
58
59 div.related ul {
60 background-image: url(navigation.png);
61 height: 2em;
62 border-top: 1px solid #ddd;
63 border-bottom: 1px solid #ddd;
64 }
65
66 div.related ul li {
67 margin: 0;
68 padding: 0;
69 height: 2em;
70 float: left;
71 }
72
73 div.related ul li.right {
74 float: right;
75 margin-right: 5px;
76 }
77
78 div.related ul li a {
79 margin: 0;
80 padding: 0 5px 0 5px;
81 line-height: 1.75em;
82 color: #EE9816;
83 }
84
85 div.related ul li a:hover {
86 color: #3CA8E7;
87 }
88
89 div.sphinxsidebarwrapper {
90 padding: 0;
91 }
92
93 div.sphinxsidebar {
94 margin: 0;
95 padding: 0.5em 15px 15px 0;
96 width: 210px;
97 float: right;
98 font-size: 1em;
99 text-align: left;
100 }
101
102 div.sphinxsidebar h3, div.sphinxsidebar h4 {
103 margin: 1em 0 0.5em 0;
104 font-size: 1em;
105 padding: 0.1em 0 0.1em 0.5em;
106 color: white;
107 border: 1px solid #86989B;
108 background-color: #AFC1C4;
109 }
110
111 div.sphinxsidebar h3 a {
112 color: white;
113 }
114
115 div.sphinxsidebar ul {
116 padding-left: 1.5em;
117 margin-top: 7px;
118 padding: 0;
119 line-height: 130%;
120 }
121
122 div.sphinxsidebar ul ul {
123 margin-left: 20px;
124 }
125
126 div.footer {
127 background-color: #E3EFF1;
128 color: #86989B;
129 padding: 3px 8px 3px 0;
130 clear: both;
131 font-size: 0.8em;
132 text-align: right;
133 }
134
135 div.footer a {
136 color: #86989B;
137 text-decoration: underline;
138 }
139
140 /* -- body styles ----------------------------------------------------------- */
141
142 p {
143 margin: 0.8em 0 0.5em 0;
144 }
145
146 a {
147 color: #CA7900;
148 text-decoration: none;
149 }
150
151 a:hover {
152 color: #2491CF;
153 }
154
155 div.body p a{
156 text-decoration: underline;
157 }
158
159 h1 {
160 margin: 0;
161 padding: 0.7em 0 0.3em 0;
162 font-size: 1.5em;
163 color: #11557C;
164 }
165
166 h2 {
167 margin: 1.3em 0 0.2em 0;
168 font-size: 1.35em;
169 padding: 0;
170 }
171
172 h3 {
173 margin: 1em 0 -0.3em 0;
174 font-size: 1.2em;
175 }
176
177 h3 a:hover {
178 text-decoration: underline;
179 }
180
181 div.body h1 a, div.body h2 a, div.body h3 a, div.body h4 a, div.body h5 a, div.body h6 a {
182 color: black!important;
183 }
184
185 div.body h1,
186 div.body h2,
187 div.body h3,
188 div.body h4,
189 div.body h5,
190 div.body h6 {
191 background-color: #f2f2f2;
192 font-weight: normal;
193 color: #20435c;
194 border-bottom: 1px solid #ccc;
195 margin: 20px -20px 10px -20px;
196 padding: 3px 0 3px 10px;
197 }
198
199 div.body h1 { margin-top: 0; font-size: 200%; }
200 div.body h2 { font-size: 160%; }
201 div.body h3 { font-size: 140%; }
202 div.body h4 { font-size: 120%; }
203 div.body h5 { font-size: 110%; }
204 div.body h6 { font-size: 100%; }
205
206 h1 a.anchor, h2 a.anchor, h3 a.anchor, h4 a.anchor, h5 a.anchor, h6 a.anchor {
207 display: none;
208 margin: 0 0 0 0.3em;
209 padding: 0 0.2em 0 0.2em;
210 color: #aaa!important;
211 }
212
213 h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor, h4:hover a.anchor,
214 h5:hover a.anchor, h6:hover a.anchor {
215 display: inline;
216 }
217
218 h1 a.anchor:hover, h2 a.anchor:hover, h3 a.anchor:hover, h4 a.anchor:hover,
219 h5 a.anchor:hover, h6 a.anchor:hover {
220 color: #777;
221 background-color: #eee;
222 }
223
224 a.headerlink {
225 color: #c60f0f!important;
226 font-size: 1em;
227 margin-left: 6px;
228 padding: 0 4px 0 4px;
229 text-decoration: none!important;
230 }
231
232 a.headerlink:hover {
233 background-color: #ccc;
234 color: white!important;
235 }
236
237 cite, code, tt {
238 font-family: 'Consolas', 'Deja Vu Sans Mono',
239 'Bitstream Vera Sans Mono', monospace;
240 font-size: 0.95em;
241 letter-spacing: 0.01em;
242 }
243
244 :not(a.reference) > tt {
245 background-color: #f2f2f2;
246 border-bottom: 1px solid #ddd;
247 color: #333;
248 }
249
250 tt.descname, tt.descclassname, tt.xref {
251 border: 0;
252 }
253
254 hr {
255 border: 1px solid #abc;
256 margin: 2em;
257 }
258
259 p a tt {
260 border: 0;
261 color: #CA7900;
262 }
263
264 p a tt:hover {
265 color: #2491CF;
266 }
267
268 a tt {
269 border: none;
270 }
271
272 pre {
273 font-family: 'Consolas', 'Deja Vu Sans Mono',
274 'Bitstream Vera Sans Mono', monospace;
275 font-size: 0.95em;
276 letter-spacing: 0.015em;
277 line-height: 120%;
278 padding: 0.5em;
279 border: 1px solid #ccc;
280 background-color: #f8f8f8;
281 }
282
283 pre a {
284 color: inherit;
285 text-decoration: underline;
286 }
287
288 td.linenos pre {
289 padding: 0.5em 0;
290 }
291
292 div.quotebar {
293 background-color: #f8f8f8;
294 max-width: 250px;
295 float: right;
296 padding: 2px 7px;
297 border: 1px solid #ccc;
298 }
299
300 div.topic {
301 background-color: #f8f8f8;
302 }
303
304 table {
305 border-collapse: collapse;
306 margin: 0 -0.5em 0 -0.5em;
307 }
308
309 table td, table th {
310 padding: 0.2em 0.5em 0.2em 0.5em;
311 }
312
313 div.admonition, div.warning {
314 font-size: 0.9em;
315 margin: 1em 0 1em 0;
316 border: 1px solid #86989B;
317 background-color: #f7f7f7;
318 padding: 0;
319 }
320
321 div.admonition p, div.warning p {
322 margin: 0.5em 1em 0.5em 1em;
323 padding: 0;
324 }
325
326 div.admonition pre, div.warning pre {
327 margin: 0.4em 1em 0.4em 1em;
328 }
329
330 div.admonition p.admonition-title,
331 div.warning p.admonition-title {
332 margin: 0;
333 padding: 0.1em 0 0.1em 0.5em;
334 color: white;
335 border-bottom: 1px solid #86989B;
336 font-weight: bold;
337 background-color: #AFC1C4;
338 }
339
340 div.warning {
341 border: 1px solid #940000;
342 }
343
344 div.warning p.admonition-title {
345 background-color: #CF0000;
346 border-bottom-color: #940000;
347 }
348
349 div.admonition ul, div.admonition ol,
350 div.warning ul, div.warning ol {
351 margin: 0.1em 0.5em 0.5em 3em;
352 padding: 0;
353 }
354
355 div.versioninfo {
356 margin: 1em 0 0 0;
357 border: 1px solid #ccc;
358 background-color: #DDEAF0;
359 padding: 8px;
360 line-height: 1.3em;
361 font-size: 0.9em;
362 }
363
364 .viewcode-back {
365 font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva',
366 'Verdana', sans-serif;
367 }
368
369 div.viewcode-block:target {
370 background-color: #f4debf;
371 border-top: 1px solid #ac9;
372 border-bottom: 1px solid #ac9;
373 }
0 [theme]
1 inherit = basic
2 stylesheet = llvm-theme.css
3 pygments_style = friendly
9797 #html_theme_options = {}
9898
9999 # Add any paths that contain custom themes here, relative to this directory.
100 html_theme_path = ["."]
100 html_theme_path = ["_themes"]
101101
102102 # The name for this set of Sphinx documents. If None, it defaults to
103103 # " v documentation".
133133
134134 # Additional templates that should be rendered to pages, maps page names to
135135 # template names.
136 #
137 # We load all the old-school HTML documentation pages into Sphinx here.
138 basedir = os.path.dirname(__file__)
139 html_additional_pages = {}
140 for directory in ('', 'tutorial'):
141 for file in os.listdir(os.path.join(basedir, directory)):
142 if not file.endswith('.html'):
143 continue
144
145 subpath = os.path.join(directory, file)
146 name,_ = os.path.splitext(subpath)
147 html_additional_pages[name] = subpath
136 #html_additional_pages = {}
148137
149138 # If false, no module index is generated.
150139 #html_domain_indices = True
225214
226215 # Automatically derive the list of man pages from the contents of the command
227216 # guide subdirectory.
217 basedir = os.path.dirname(__file__)
228218 man_page_authors = "Maintained by The LLVM Team (http://llvm.org/)."
229219 command_guide_subpath = 'CommandGuide'
230220 command_guide_path = os.path.join(basedir, command_guide_subpath)
+0
-23
docs/llvm-theme/layout.html less more
None {#
1 sphinxdoc/layout.html
2 ~~~~~~~~~~~~~~~~~~~~~
3
4 Sphinx layout template for the sphinxdoc theme.
5
6 :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
7 :license: BSD, see LICENSE for details.
8 #}
9 {% extends "basic/layout.html" %}
10
11 {% block relbar1 %}
12
13
14
15 alt="LLVM Logo" width="250" height="88"/>
16
17 {{ super() }}
18 {% endblock %}
19
20 {# put the sidebar before the body #}
21 {% block sidebar1 %}{{ sidebar() }}{% endblock %}
22 {% block sidebar2 %}{% endblock %}
docs/llvm-theme/static/contents.png less more
Binary diff not shown
+0
-374
docs/llvm-theme/static/llvm-theme.css less more
None /*
1 * sphinxdoc.css_t
2 * ~~~~~~~~~~~~~~~
3 *
4 * Sphinx stylesheet -- sphinxdoc theme. Originally created by
5 * Armin Ronacher for Werkzeug.
6 *
7 * :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
8 * :license: BSD, see LICENSE for details.
9 *
10 */
11
12 @import url("basic.css");
13
14 /* -- page layout ----------------------------------------------------------- */
15
16 body {
17 font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva',
18 'Verdana', sans-serif;
19 font-size: 14px;
20 letter-spacing: -0.01em;
21 line-height: 150%;
22 text-align: center;
23 background-color: #BFD1D4;
24 color: black;
25 padding: 0;
26 border: 1px solid #aaa;
27
28 margin: 0px 80px 0px 80px;
29 min-width: 740px;
30 }
31
32 div.logo {
33 background-color: white;
34 text-align: left;
35 padding: 10px 10px 15px 15px;
36 }
37
38 div.document {
39 background-color: white;
40 text-align: left;
41 background-image: url(contents.png);
42 background-repeat: repeat-x;
43 }
44
45 div.bodywrapper {
46 margin: 0 240px 0 0;
47 border-right: 1px solid #ccc;
48 }
49
50 div.body {
51 margin: 0;
52 padding: 0.5em 20px 20px 20px;
53 }
54
55 div.related {
56 font-size: 1em;
57 }
58
59 div.related ul {
60 background-image: url(navigation.png);
61 height: 2em;
62 border-top: 1px solid #ddd;
63 border-bottom: 1px solid #ddd;
64 }
65
66 div.related ul li {
67 margin: 0;
68 padding: 0;
69 height: 2em;
70 float: left;
71 }
72
73 div.related ul li.right {
74 float: right;
75 margin-right: 5px;
76 }
77
78 div.related ul li a {
79 margin: 0;
80 padding: 0 5px 0 5px;
81 line-height: 1.75em;
82 color: #EE9816;
83 }
84
85 div.related ul li a:hover {
86 color: #3CA8E7;
87 }
88
89 div.sphinxsidebarwrapper {
90 padding: 0;
91 }
92
93 div.sphinxsidebar {
94 margin: 0;
95 padding: 0.5em 15px 15px 0;
96 width: 210px;
97 float: right;
98 font-size: 1em;
99 text-align: left;
100 }
101
102 div.sphinxsidebar h3, div.sphinxsidebar h4 {
103 margin: 1em 0 0.5em 0;
104 font-size: 1em;
105 padding: 0.1em 0 0.1em 0.5em;
106 color: white;
107 border: 1px solid #86989B;
108 background-color: #AFC1C4;
109 }
110
111 div.sphinxsidebar h3 a {
112 color: white;
113 }
114
115 div.sphinxsidebar ul {
116 padding-left: 1.5em;
117 margin-top: 7px;
118 padding: 0;
119 line-height: 130%;
120 }
121
122 div.sphinxsidebar ul ul {
123 margin-left: 20px;
124 }
125
126 div.footer {
127 background-color: #E3EFF1;
128 color: #86989B;
129 padding: 3px 8px 3px 0;
130 clear: both;
131 font-size: 0.8em;
132 text-align: right;
133 }
134
135 div.footer a {
136 color: #86989B;
137 text-decoration: underline;
138 }
139
140 /* -- body styles ----------------------------------------------------------- */
141
142 p {
143 margin: 0.8em 0 0.5em 0;
144 }
145
146 a {
147 color: #CA7900;
148 text-decoration: none;
149 }
150
151 a:hover {
152 color: #2491CF;
153 }
154
155 div.body p a{
156 text-decoration: underline;
157 }
158
159 h1 {
160 margin: 0;
161 padding: 0.7em 0 0.3em 0;
162 font-size: 1.5em;
163 color: #11557C;
164 }
165
166 h2 {
167 margin: 1.3em 0 0.2em 0;
168 font-size: 1.35em;
169 padding: 0;
170 }
171
172 h3 {
173 margin: 1em 0 -0.3em 0;
174 font-size: 1.2em;
175 }
176
177 h3 a:hover {
178 text-decoration: underline;
179 }
180
181 div.body h1 a, div.body h2 a, div.body h3 a, div.body h4 a, div.body h5 a, div.body h6 a {
182 color: black!important;
183 }
184
185 div.body h1,
186 div.body h2,
187 div.body h3,
188 div.body h4,
189 div.body h5,
190 div.body h6 {
191 background-color: #f2f2f2;
192 font-weight: normal;
193 color: #20435c;
194 border-bottom: 1px solid #ccc;
195 margin: 20px -20px 10px -20px;
196 padding: 3px 0 3px 10px;
197 }
198
199 div.body h1 { margin-top: 0; font-size: 200%; }
200 div.body h2 { font-size: 160%; }
201 div.body h3 { font-size: 140%; }
202 div.body h4 { font-size: 120%; }
203 div.body h5 { font-size: 110%; }
204 div.body h6 { font-size: 100%; }
205
206 h1 a.anchor, h2 a.anchor, h3 a.anchor, h4 a.anchor, h5 a.anchor, h6 a.anchor {
207 display: none;
208 margin: 0 0 0 0.3em;
209 padding: 0 0.2em 0 0.2em;
210 color: #aaa!important;
211 }
212
213 h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor, h4:hover a.anchor,
214 h5:hover a.anchor, h6:hover a.anchor {
215 display: inline;
216 }
217
218 h1 a.anchor:hover, h2 a.anchor:hover, h3 a.anchor:hover, h4 a.anchor:hover,
219 h5 a.anchor:hover, h6 a.anchor:hover {
220 color: #777;
221 background-color: #eee;
222 }
223
224 a.headerlink {
225 color: #c60f0f!important;
226 font-size: 1em;
227 margin-left: 6px;
228 padding: 0 4px 0 4px;
229 text-decoration: none!important;
230 }
231
232 a.headerlink:hover {
233 background-color: #ccc;
234 color: white!important;
235 }
236
237 cite, code, tt {
238 font-family: 'Consolas', 'Deja Vu Sans Mono',
239 'Bitstream Vera Sans Mono', monospace;
240 font-size: 0.95em;
241 letter-spacing: 0.01em;
242 }
243
244 :not(a.reference) > tt {
245 background-color: #f2f2f2;
246 border-bottom: 1px solid #ddd;
247 color: #333;
248 }
249
250 tt.descname, tt.descclassname, tt.xref {
251 border: 0;
252 }
253
254 hr {
255 border: 1px solid #abc;
256 margin: 2em;
257 }
258
259 p a tt {
260 border: 0;
261 color: #CA7900;
262 }
263
264 p a tt:hover {
265 color: #2491CF;
266 }
267
268 a tt {
269 border: none;
270 }
271
272 pre {
273 font-family: 'Consolas', 'Deja Vu Sans Mono',
274 'Bitstream Vera Sans Mono', monospace;
275 font-size: 0.95em;
276 letter-spacing: 0.015em;
277 line-height: 120%;
278 padding: 0.5em;
279 border: 1px solid #ccc;
280 background-color: #f8f8f8;
281 }
282
283 pre a {
284 color: inherit;
285 text-decoration: underline;
286 }
287
288 td.linenos pre {
289 padding: 0.5em 0;
290 }
291
292 div.quotebar {
293 background-color: #f8f8f8;
294 max-width: 250px;
295 float: right;
296 padding: 2px 7px;
297 border: 1px solid #ccc;
298 }
299
300 div.topic {
301 background-color: #f8f8f8;
302 }
303
304 table {
305 border-collapse: collapse;
306 margin: 0 -0.5em 0 -0.5em;
307 }
308
309 table td, table th {
310 padding: 0.2em 0.5em 0.2em 0.5em;
311 }
312
313 div.admonition, div.warning {
314 font-size: 0.9em;
315 margin: 1em 0 1em 0;
316 border: 1px solid #86989B;
317 background-color: #f7f7f7;
318 padding: 0;
319 }
320
321 div.admonition p, div.warning p {
322 margin: 0.5em 1em 0.5em 1em;
323 padding: 0;
324 }
325
326 div.admonition pre, div.warning pre {
327 margin: 0.4em 1em 0.4em 1em;
328 }
329
330 div.admonition p.admonition-title,
331 div.warning p.admonition-title {
332 margin: 0;
333 padding: 0.1em 0 0.1em 0.5em;
334 color: white;
335 border-bottom: 1px solid #86989B;
336 font-weight: bold;
337 background-color: #AFC1C4;
338 }
339
340 div.warning {
341 border: 1px solid #940000;
342 }
343
344 div.warning p.admonition-title {
345 background-color: #CF0000;
346 border-bottom-color: #940000;
347 }
348
349 div.admonition ul, div.admonition ol,
350 div.warning ul, div.warning ol {
351 margin: 0.1em 0.5em 0.5em 3em;
352 padding: 0;
353 }
354
355 div.versioninfo {
356 margin: 1em 0 0 0;
357 border: 1px solid #ccc;
358 background-color: #DDEAF0;
359 padding: 8px;
360 line-height: 1.3em;
361 font-size: 0.9em;
362 }
363
364 .viewcode-back {
365 font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva',
366 'Verdana', sans-serif;
367 }
368
369 div.viewcode-block:target {
370 background-color: #f4debf;
371 border-top: 1px solid #ac9;
372 border-bottom: 1px solid #ac9;
373 }
docs/llvm-theme/static/logo.png less more
Binary diff not shown
docs/llvm-theme/static/navigation.png less more
Binary diff not shown
+0
-4
docs/llvm-theme/theme.conf less more
None [theme]
1 inherit = basic
2 stylesheet = llvm-theme.css
3 pygments_style = friendly