File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
5
5
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
- refs/heads/try2: 3aad0e249cebaf2123cd875b737c088ae2c48728
8
+ refs/heads/try2: b05af1f6a83ad6eacc02493f71fb4116b120837e
9
9
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
10
10
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
11
11
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ DOCS := index intro tutorial guide-ffi guide-macros guide-lifetimes \
30
30
guide-tasks guide-container guide-pointers guide-testing \
31
31
guide-runtime complement-bugreport complement-cheatsheet \
32
32
complement-lang-faq complement-project-faq rust rustdoc \
33
- guide-unsafe not_found
33
+ guide-unsafe
34
34
35
35
PDF_DOCS := tutorial rust
36
36
@@ -42,10 +42,11 @@ L10N_LANGS := ja
42
42
# Generally no need to edit below here.
43
43
44
44
# The options are passed to the documentation generators.
45
- RUSTDOC_HTML_OPTS = --markdown-css rust.css \
46
- --markdown-before-content=doc/version_info.html \
45
+ RUSTDOC_HTML_OPTS_NO_CSS = --markdown-before-content=doc/version_info.html \
47
46
--markdown-in-header=doc/favicon.inc --markdown-after-content=doc/footer.inc
48
47
48
+ RUSTDOC_HTML_OPTS = $(RUSTDOC_HTML_OPTS_NO_CSS ) --markdown-css rust.css
49
+
49
50
PANDOC_BASE_OPTS := --standalone --toc --number-sections
50
51
PANDOC_TEX_OPTS = $(PANDOC_BASE_OPTS ) --include-before-body=doc/version.tex \
51
52
--from=markdown --include-before-body=doc/footer.tex --to=latex
@@ -152,6 +153,11 @@ doc/footer.tex: $(D)/footer.inc | doc/
152
153
@$(call E, pandoc: $@ )
153
154
$(CFG_PANDOC ) --from=html --to=latex $< --output=$@
154
155
156
+ # HTML (rustdoc)
157
+ DOC_TARGETS += doc/not_found.html
158
+ doc/not_found.html : $(D ) /not_found.md $(HTML_DEPS ) | doc/
159
+ $(RUSTDOC ) $(RUSTDOC_HTML_OPTS_NO_CSS ) --markdown-css http://static.rust-lang.org/doc/master/rust.css $<
160
+
155
161
define DEF_DOC
156
162
157
163
# HTML (rustdoc)
You can’t perform that action at this time.
0 commit comments