File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
src/error-index-generator Expand file tree Collapse file tree 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)
7777
7878D := $(S ) src/doc
7979
80- DOC_TARGETS := trpl style
80+ DOC_TARGETS := trpl style error-index
8181COMPILER_DOC_TARGETS :=
8282DOC_L10N_TARGETS :=
8383
Original file line number Diff line number Diff line change @@ -57,7 +57,15 @@ r##"<!DOCTYPE html>
5757<html>
5858<head>
5959<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"/>
6063<link rel="stylesheet" type="text/css" href="rust.css"/>
64+ <style>
65+ .error-undescribed {{
66+ display: none;
67+ }}
68+ </style>
6169</head>
6270<body>
6371"##
@@ -79,7 +87,7 @@ r##"<!DOCTYPE html>
7987
8088 // Error title (with self-link).
8189 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 " ,
8391 err_code
8492 ) ) ;
8593
You can’t perform that action at this time.
0 commit comments