about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-03-05 23:26:40 -0800
committerbors <bors@rust-lang.org>2014-03-05 23:26:40 -0800
commit2153293ae434861c72469d41fc7c9dfe9b90b1c4 (patch)
treedbd74c23cb755fdb3f07a1c1d261f0cd6b6af32a /src/rustllvm/ExecutionEngineWrapper.cpp
parent253dbcb8c0a8eac06e2877fd9c60025a70a8eb73 (diff)
parent31e7e676e1ed4ae34e3f80fa606f74403ae721ce (diff)
downloadrust-2153293ae434861c72469d41fc7c9dfe9b90b1c4.tar.gz
rust-2153293ae434861c72469d41fc7c9dfe9b90b1c4.zip
auto merge of #12687 : alexcrichton/rust/issue-12681, r=huonw
This commit adds a appear-on-over link to all section headers to generated
documentation. Each header also receives an id now, even those generated through
markdown. The purpose of this is to provide easy to link to sections.

This modifies the default header markdown generation because the default id
added looks like "toc_NN" which is difficult to reconcile among all sections (by
default each section gets a "toc_0" id), and it's also not very descriptive of
where you're going.

This chooses to adopt the github-style anchors by taking the contents of the
title and hyphen-separating them (after lower casing).

Closes #12681
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions