Skip to content

Add ability for rustdoc to use custom CSS. #13659

Description

@SiegeLord

Proposed API:

--custom-css MAIN_CSS [AUX_CSS...]

MAIN_CSS would be copied as main.css into the output directory and linked to by all the HTML files. The set of other CSS files specified by AUX_CSS will be copied into the output directory, but not linked to. The intention is for the MAIN_CSS to @import them (like is currently done to normalize.css).

Alternatively, they could all be linked in the HTML files in some specified order (the internet suggests linking is better than @import).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions