summary refs log tree commit diff
path: root/src/test/run-make/rustdoc-hidden-line
AgeCommit message (Collapse)AuthorLines
2014-02-23rustdoc: Add syntax highlightingAlex Crichton-1/+1
This adds simple syntax highlighting based off libsyntax's lexer to be sure to stay up to date with rust's grammar. Some of the highlighting is a bit ad-hoc, but it definitely seems to get the job done! This currently doesn't highlight rustdoc-rendered function signatures and structs that are emitted to each page because the colors already signify what's clickable and I think we'd have to figure out a different scheme before colorizing them. This does, however, colorize all code examples and source code. Closes #11393
2014-02-07Added tests to make tidyDerek Guenther-0/+10
2013-12-30rustdoc: only filter lines starting with '# ' from the shown code.Huon Wilson-0/+37
Currently any line starting with `#` is filtered from the output, including line like `#[deriving]`; this patch makes it so lines are only filtered when followed by a space similar to the current behaviour of the tutorial/manual tester.