about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2014-03-09 14:14:07 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2014-03-09 20:59:43 +1100
commitbb8ac2159feb1739992b1b511a0a9afeaab10a8e (patch)
treeea9c5ff4eef6a61dd834b5b088c7d8384fc72d25 /src/rustllvm/ExecutionEngineWrapper.cpp
parent6d6e2880d2f1b3e00d28957a5e6f540fcfda2556 (diff)
downloadrust-bb8ac2159feb1739992b1b511a0a9afeaab10a8e.tar.gz
rust-bb8ac2159feb1739992b1b511a0a9afeaab10a8e.zip
docs: render rustdoc docs with rustdoc, hack around sundown code-fence
parsing limitations.

Sundown parses

    ```
    ~~~

as a valid codeblock (i.e. mismatching delimiters), which made using
rustdoc on its own documentation impossible (since it used nested
codeblocks to demonstrate how testable codesnippets worked).

This modifies those snippets so that they're delimited by indentation,
but this then means they're tested by `rustdoc --test` & rendered as
Rust code (because there's no way to add `notrust` to
indentation-delimited code blocks). A comment is added to stop the
compiler reading the text too closely, but this unfortunately has to be
visible in the final docs, since that's the text on which the
highlighting happens.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions