Skip to content
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

Minor changes to rustdoc html templates #16209

Merged
merged 2 commits into from
Aug 3, 2014

Conversation

tomjakubowski
Copy link
Contributor

This PR introduces a couple of minor changes to the rustdoc html templates:

  1. The <meta name="generator" content="rustdoc"> tag now appears in API documentation as well.
  2. Adds a rustdoc class to the top-level <body> tag on all HTML pages.

The second point is a nice-to-have for those who would like to apply a user stylesheet to Rust documentation regardless of where it is hosted. Easier use of user stylesheets may alleviate much of the bikeshedding of personal taste on the rustdoc styles.

This is consistent with the meta tag in Markdown docs run through
rustdoc.
This allows for easier application of user stylesheets to rustdocs no
matter where they are hosted.
@tomjakubowski
Copy link
Contributor Author

cc #16207 #16173

bors added a commit that referenced this pull request Aug 3, 2014
…xcrichton

This PR introduces a couple of minor changes to the rustdoc html templates:

1. The `<meta name="generator" content="rustdoc">` tag now appears in API documentation as well.
2. Adds a `rustdoc` class to the top-level `<body>` tag on all HTML pages.

The second point is a nice-to-have for those who would like to apply a user stylesheet to Rust documentation regardless of where it is hosted. Easier use of user stylesheets may alleviate much of the bikeshedding of personal taste on the rustdoc styles.
@bors bors closed this Aug 3, 2014
@bors bors merged commit 9b44dfc into rust-lang:master Aug 3, 2014
bors added a commit to rust-lang-ci/rust that referenced this pull request Jan 15, 2024
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.

3 participants