File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -237,6 +237,26 @@ for a target triple that's different than your host triple.
237237
238238All of the usual caveats of cross-compiling code apply.
239239
240+ ## ` --default-theme ` : set the default theme
241+
242+ Using this flag looks like this:
243+
244+ ``` bash
245+ $ rustdoc src/lib.rs --default-theme=ayu
246+ ```
247+
248+ Sets the default theme (for users whose browser has not remembered a
249+ previous theme selection from the on-page theme picker).
250+
251+ The supplied value should be the lowercase version of the theme name.
252+ The set of available themes can be seen in the theme picker in the
253+ gneerated output.
254+
255+ Note that the set of available themes - and their appearance - is not
256+ necessarily stable from one rustdoc version to the next. If the
257+ requested theme does not exist, the builtin default (currently
258+ ` light ` ) is used instead.
259+
240260## ` --markdown-css ` : include more CSS files when rendering markdown
241261
242262Using this flag looks like this:
You can’t perform that action at this time.
0 commit comments