rust-lang / rust-lang/docs.rs

Collapse the crate-details "sidebar" on mobile

Open
#966 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Seems like we might want to collapse the crate-details "sidebar" on mobile. So that you see the start of the readme above the fold. (e.g. https://docs.rs/crate/cargo/0.46.1)

Originally posted by @Nemo157 in https://github.com/rust-lang/docs.rs/issues/962#issuecomment-673495900

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 inspecting the crate-details page shown in the linked docs.rs example and trace its responsive layout. Confirm that the sidebar collapses on mobile so the beginning of the README appears above the fold; verify the behavior at mobile widths.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.