rust-lang / rust-lang/docs.rs

Add a button to change theme on the main page?

Open
#1,124 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-docs-rs-themes A-frontend C-enhancement
Dominant language
Rust
Stars
1.2k
Forks
232
Avg merge
11h 35m
Merged PRs (30d)
60

Description

Currently, it's only possible to change the theme from the documentation pages. Adding a button on the "main" page (/) would improve this situation.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing how theme changes are exposed on the documentation pages, then trace the main-page (/) entry point to identify where a matching control belongs. Done means the main page provides a button for changing the theme, with behavior consistent with the existing documentation-page control.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
frontend, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.