diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-03-08 01:13:17 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2014-03-09 19:29:49 +1100 |
| commit | f22c96cc888eac4c1c5d44ea4765e5c2a65f64f3 (patch) | |
| tree | 697fce4442d4fa82d11fb6476610a00f518a617d /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 69b8ef806b3742ba7d41a77cd216713c84f36254 (diff) | |
| download | rust-f22c96cc888eac4c1c5d44ea4765e5c2a65f64f3.tar.gz rust-f22c96cc888eac4c1c5d44ea4765e5c2a65f64f3.zip | |
rustdoc: add table-of-contents recording & rendering, use it with plain
markdown files.
This means that
# Foo
## Bar
# Baz
### Qux
## Quz
Gets a TOC like
1 Foo
1.1 Bar
2 Baz
2.0.1 Qux
2.1 Quz
This functionality is only used when rendering a single markdown file,
never on an individual module, although it could very feasibly be
extended to allow modules to opt-in to a table of contents (std::fmt
comes to mind).
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
