Closed caemor closed 6 years ago
Thanks for the PR!
I believe that if we build index.md
without the --markdown-no-toc
flag rustdoc
will add these numbers automatically. At least that's the case for the FAQ. Could you check?
I don't have much opinions on this other that I would prefer if we don't have to manually update these numbers.
Without --markdown-no-toc
it will add these numbers automatically. It's the same as the FAQ but that also means that it isn't the same the doc.rust-lang.org site because it has the same Table of Contents to the top as the FAQ.
Edit: added a screenshot for NOT using the --markdown-no-toc
flag where you can see the TOC at the top:
Added numeration to the different headings for faster and clearer visual separation similar to https://doc.rust-lang.org/.
I am not sure if it is yet needed for the sections where only one h2-heading exists but it looks much more appealing to me at least.