Closed
Description
rustdoc needs syntax highlighting and the ability to execute code examples, and it would be nice if all the documentation logic were inside rustdoc (there's a lot of boilerplate in tests.mk to support doc tests).
extract-tests.js we can rewrite in Rust using an integrated driver (instead of using compiletest as we currently do). The parts of prep.js that interpret the little directives embedded in examples can be rewritten in rust. For now, the syntax highlighting scripts can be include!ed in rustdoc and rustdoc can drive the python script. Ultimately, pandoc should handle the syntax highlighting.
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
metajack commentedon May 23, 2013
nominating feature complete
graydon commentedon Jun 20, 2013
sub-bug of #5413
pnkfelix commentedon Jun 27, 2013
extracting tests from api docs is important enough for milestone. accepted for milestone production ready.
brson commentedon Jun 27, 2013
Syntax highlighting is now provided by pandoc, so we don't need js for it.
thestinger commentedon Sep 2, 2013
This is still an issue. The
pandoc
on the doc builder needs to be updated.pnkfelix commentedon Jan 22, 2014
Assigning P-low.
alexcrichton commentedon May 22, 2014
Closing, this has been completed.
2 remaining items