steveklabnik/rustdoc

Flag: extend-css

Ouverte

#148 ouverte le 10 août 2017

 (4 commentaires) (0 réaction) (0 personne assignée) (22 forks)github user discovery
E-Mediumbackendhelp wantedquestion

Métriques du dépôt

Stars
 (104 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

This issue is part of https://github.com/steveklabnik/rustdoc/issues/125

-e/--extend-css: extend rustdoc's CSS

Using this flag looks like this:

$ rustdoc src/lib.rs -e extra.css
$ rustdoc src/lib.rs --extend-css extra.css

With this flag, the contents of the files you pass are included at the bottom of Rustdoc's theme.css file.

While this flag is stable, the contents of theme.css are not, so be careful! Updates may break your theme extensions.


Should we keep this flag or not?

Guide contributeur