File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed 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