-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
rustdoc no longer honours --default-theme #87263
Copy link
Copy link
Closed
Labels
A-rustdoc-jsArea: Rustdoc's JS front-endArea: Rustdoc's JS front-endC-bugCategory: This is a bug.Category: This is a bug.P-mediumMedium priorityMedium priorityT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Metadata
Metadata
Assignees
Labels
A-rustdoc-jsArea: Rustdoc's JS front-endArea: Rustdoc's JS front-endC-bugCategory: This is a bug.Category: This is a bug.P-mediumMedium priorityMedium priorityT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Steps to reproduce
Expected results
The documentation appears in the "ayu" (dark) theme.
Observed results
The documentation appears in the default (light) theme.
Notes
This works on stable. I haven't bisected it or anything.
Empirically, changing the default theme once works for any one browser profile with the default firefox settings. AIUI the setting is intended to be recorded in web local storage. However, my firefox configuration does not permit use of web storage or cookies, so it does not work. This is one of the reasons for the
--default-themeoption's existence.FTR I see this message in my JS console which seems to support this hypothesis:
Request to access cookie or storage on “file:///home/rustcargo/Rustup/Game/vecdeque-stableix/target/doc/vecdeque_stableix/struct.IntoIter.html” was blocked because we are blocking all storage access requests.Meta