Skip to content

nimdoc: Add a nav-burger to display the panel on mobile#25606

Merged
Araq merged 1 commit intonim-lang:develfrom
ZoomRmc:nimdocburger
Mar 23, 2026
Merged

nimdoc: Add a nav-burger to display the panel on mobile#25606
Araq merged 1 commit intonim-lang:develfrom
ZoomRmc:nimdocburger

Conversation

@ZoomRmc
Copy link
Copy Markdown
Contributor

@ZoomRmc ZoomRmc commented Mar 15, 2026

Small changes to the default html template and the nimdoc.css.

Adds a burger button to show the navigation panel when on narrow screens/mobile. Displayed when the panel gets hidden.

Second element click or click on the dimmed background ides the panel.

Demo:

burger-action

@ZoomRmc
Copy link
Copy Markdown
Contributor Author

ZoomRmc commented Mar 18, 2026

Expected tests updated, rebased on devel.

@ZoomRmc
Copy link
Copy Markdown
Contributor Author

ZoomRmc commented Mar 19, 2026

A live demo can be seen at: https://indiscipline.github.io/cozycliparser/

@Araq Araq merged commit 57e15cd into nim-lang:devel Mar 23, 2026
18 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

Thanks for your hard work on this PR!
The lines below are statistics of the Nim compiler built from 57e15cd

Hint: mm: orc; opt: speed; options: -d:release
189899 lines; 9.489s; 803.375MiB peakmem

@ZoomRmc ZoomRmc deleted the nimdocburger branch March 23, 2026 11:59
narimiran pushed a commit that referenced this pull request Mar 24, 2026
Small changes to the default html template and the `nimdoc.css`.

Adds a burger button to show the navigation panel when on narrow
screens/mobile. Displayed when the panel gets hidden.

Second element click or click on the dimmed background ides the panel.

# Demo:

![burger-action](https://github.com/user-attachments/assets/a10bd626-95a1-4a04-80bb-c159c85ac1a7)

(cherry picked from commit 57e15cd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants