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

Add mathematics support to rustdoc #17390

Closed
wants to merge 10 commits into from
Closed

Commits on Sep 29, 2014

  1. Configuration menu
    Copy the full SHA
    035a321 View commit details
    Browse the repository at this point in the history
  2. rustdoc: enable support for mathematics.

    Gankra authored and huonw committed Sep 29, 2014
    Configuration menu
    Copy the full SHA
    4a1b2e8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0bbb5ac View commit details
    Browse the repository at this point in the history
  4. Add KaTeX to the distribution.

    huonw committed Sep 29, 2014
    Configuration menu
    Copy the full SHA
    a3b23a1 View commit details
    Browse the repository at this point in the history
  5. Switch to KaTeX for math.

    Unlike MathJaX, KaTeX is small enough to be included directly in the
    distribution; the JS is 110KB, the CSS is 20KB, and the full suite of
    fonts are about 850KB.
    huonw committed Sep 29, 2014
    Configuration menu
    Copy the full SHA
    84e1804 View commit details
    Browse the repository at this point in the history
  6. Remove the EOT fonts from KaTeX.

    These are only used by IE8 and below, which we do not support.
    huonw committed Sep 29, 2014
    Configuration menu
    Copy the full SHA
    71052f8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ca92372 View commit details
    Browse the repository at this point in the history
  8. Allow LaTeX in standalone markdown files via --markdown-enable-math.

    Requires the KaTeX files to be arranged correctly.
    huonw committed Sep 29, 2014
    Configuration menu
    Copy the full SHA
    2088184 View commit details
    Browse the repository at this point in the history
  9. Semi-conditionally insert the CSS.

    Only on all pages in crates with #[doc(enable_math)], not on all pages
    in all crates.
    huonw committed Sep 29, 2014
    Configuration menu
    Copy the full SHA
    8a0aab1 View commit details
    Browse the repository at this point in the history
  10. Update hoedown.

    huonw committed Sep 29, 2014
    Configuration menu
    Copy the full SHA
    98e6f14 View commit details
    Browse the repository at this point in the history