Skip to content

docs: Stop using norust #14601

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

Merged
merged 1 commit into from
Jun 3, 2014
Merged

docs: Stop using norust #14601

merged 1 commit into from
Jun 3, 2014

Conversation

skade
Copy link
Contributor

@skade skade commented Jun 2, 2014

Now that rustdoc understands proper language tags
as the code not being Rust, we can tag everything
properly. norust as a negative statement is a bad
tag.

This change tags examples in other languages by
their language. Plain notations are marked as text.
Console examples are marked as console.

Also fix markdown.rs to not highlight non-rust code.

Amends the documentation to reflect the new
behaviour.

Now that rustdoc understands proper language tags
as the code not being Rust, we can tag everything
properly.

This change tags examples in other languages by
their language. Plain notations are marked as `text`.
Console examples are marked as `console`.

Also fix markdown.rs to not highlight non-rust code.
@brson
Copy link
Contributor

brson commented Jun 2, 2014

Nice thinking.

bors added a commit that referenced this pull request Jun 3, 2014
Now that rustdoc understands proper language tags
as the code not being Rust, we can tag everything
properly. `norust` as a negative statement is a bad
tag.

This change tags examples in other languages by
their language. Plain notations are marked as `text`.
Console examples are marked as `console`.

Also fix markdown.rs to not highlight non-rust code.

Amends the documentation to reflect the new
behaviour.
@bors bors closed this Jun 3, 2014
@bors bors merged commit 20fb7c6 into rust-lang:master Jun 3, 2014
@steveklabnik
Copy link
Member

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants