steveklabnik/rustdoc

Flag: extend-css

開放

#148 建立於 2017年8月10日

 (4 則留言) (0 個反應) (0 位負責人) (22 個分叉)github user discovery
E-Mediumbackendhelp wantedquestion

倉庫指標

星標
 (104 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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?

貢獻者指南