-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.P-lowLow priorityLow priorityT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
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
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.P-lowLow priorityLow priorityT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.