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

rustdoc: Add unstable option to only emit shared/crate-specific files #83478

Merged
merged 5 commits into from
Apr 2, 2021

Commits on Mar 25, 2021

  1. Add SharedResource abstraction and use it in write_shared

    This cleans up the code quite a bit, and also makes the next commit much
    easier.
    jyn514 committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    7c89cc4 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2021

  1. Add unstable option to only emit shared/crate-specific files

    The intended use case is for docs.rs, which can now copy exactly the
    files it cares about, rather than having to guess based on whether they
    have a resource suffix or not. In particular, some files have a resource
    suffix but cannot be shared between crates: rust-lang/docs.rs#1312 (comment)
    
    The end goal is to fix rust-lang/docs.rs#1327
    by reverting rust-lang/docs.rs#1324.
    
    This obsoletes `--print=unversioned-files`, which I plan to remove as
    soon as docs.rs stops using it.
    jyn514 committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    f77ebd4 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2021

  1. Enforce that Toolchain files are static and Crate files are dynamic

    This also changes custom themes from Toolchain to Crate files.
    jyn514 committed Mar 31, 2021
    Configuration menu
    Copy the full SHA
    d4f3f91 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1086d9b View commit details
    Browse the repository at this point in the history
  3. Fix --external-css to be invocation-specific and note main.js shoul…

    …d be invocation specific
    jyn514 committed Mar 31, 2021
    Configuration menu
    Copy the full SHA
    413938d View commit details
    Browse the repository at this point in the history