File tree 2 files changed +10
-2
lines changed
src/error-index-generator 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ ERR_IDX_GEN = $(RPATH_VAR2_T_$(CFG_BUILD)_H_$(CFG_BUILD)) $(ERR_IDX_GEN_EXE)
77
77
78
78
D := $(S ) src/doc
79
79
80
- DOC_TARGETS := trpl style
80
+ DOC_TARGETS := trpl style error-index
81
81
COMPILER_DOC_TARGETS :=
82
82
DOC_L10N_TARGETS :=
83
83
Original file line number Diff line number Diff line change @@ -57,7 +57,15 @@ r##"<!DOCTYPE html>
57
57
<html>
58
58
<head>
59
59
<title>Rust Compiler Error Index</title>
60
+ <meta charset="utf-8">
61
+ <!-- Include rust.css after main.css so its rules take priority. -->
62
+ <link rel="stylesheet" type="text/css" href="main.css"/>
60
63
<link rel="stylesheet" type="text/css" href="rust.css"/>
64
+ <style>
65
+ .error-undescribed {{
66
+ display: none;
67
+ }}
68
+ </style>
61
69
</head>
62
70
<body>
63
71
"##
@@ -79,7 +87,7 @@ r##"<!DOCTYPE html>
79
87
80
88
// Error title (with self-link).
81
89
try!( write ! ( & mut output_file,
82
- "<h2 id=\" {0}\" ><a href=\" #{0}\" >{0}</a></h2>\n " ,
90
+ "<h2 id=\" {0}\" class= \" section-header \" ><a href=\" #{0}\" >{0}</a></h2>\n " ,
83
91
err_code
84
92
) ) ;
85
93
You can’t perform that action at this time.
0 commit comments