-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Combine rustdoc, prep.js and extract-tests.js #3546
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
P-low
Low priority
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Comments
ghost
assigned z0w0
May 21, 2013
nominating feature complete |
sub-bug of #5413 |
extracting tests from api docs is important enough for milestone. accepted for milestone production ready. |
Syntax highlighting is now provided by pandoc, so we don't need js for it. |
This is still an issue. The |
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Sep 24, 2013
This takes rendering times of documentation down from 30s to 0.5s. Kinda sad that none of the parallelism is needed, but oh well! Closes rust-lang#7380 cc rust-lang#3546
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Sep 25, 2013
This takes rendering times of documentation down from 30s to 0.5s. Kinda sad that none of the parallelism is needed, but oh well! Closes rust-lang#7380 cc rust-lang#3546
Assigning P-low. |
Closing, this has been completed. |
bors
pushed a commit
to rust-lang-ci/rust
that referenced
this issue
May 15, 2021
Enable unreachable_pub lint
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
P-low
Low priority
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
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.
The text was updated successfully, but these errors were encountered: