Rename langref's Index to Contents (TOC)

The language reference's Index is a list of the documentation's contents in
order of appearance. This commit renames "Index" to "Contents" as in table of
contents. It also renames the HTML/CSS identifiers from "index" to "toc".
This commit is contained in:
Paul Espinosa 2020-07-08 11:42:02 +07:00 committed by Andrew Kelley
parent 6fbb5f0a81
commit eeae3a8f9d

View File

@ -97,7 +97,7 @@
margin: auto; margin: auto;
} }
#index { #toc {
padding: 0 1em; padding: 0 1em;
} }
@ -105,7 +105,7 @@
#main-wrapper { #main-wrapper {
flex-direction: row; flex-direction: row;
} }
#contents-wrapper, #index { #contents-wrapper, #toc {
overflow: auto; overflow: auto;
} }
} }
@ -181,7 +181,7 @@
</head> </head>
<body> <body>
<div id="main-wrapper"> <div id="main-wrapper">
<div id="index"> <div id="toc">
<a href="https://ziglang.org/documentation/0.1.1/">0.1.1</a> | <a href="https://ziglang.org/documentation/0.1.1/">0.1.1</a> |
<a href="https://ziglang.org/documentation/0.2.0/">0.2.0</a> | <a href="https://ziglang.org/documentation/0.2.0/">0.2.0</a> |
<a href="https://ziglang.org/documentation/0.3.0/">0.3.0</a> | <a href="https://ziglang.org/documentation/0.3.0/">0.3.0</a> |
@ -189,7 +189,7 @@
<a href="https://ziglang.org/documentation/0.5.0/">0.5.0</a> | <a href="https://ziglang.org/documentation/0.5.0/">0.5.0</a> |
<a href="https://ziglang.org/documentation/0.6.0/">0.6.0</a> | <a href="https://ziglang.org/documentation/0.6.0/">0.6.0</a> |
master master
<h1>Index</h1> <h1>Contents</h1>
{#nav#} {#nav#}
</div> </div>
<div id="contents-wrapper"><div id="contents"> <div id="contents-wrapper"><div id="contents">