-
Notifications
You must be signed in to change notification settings - Fork 1.3k
docs(html): KiCAD-inspired topbar, side TOC, language switcher, admonition tints #4113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
grandixximo
wants to merge
15
commits into
LinuxCNC:master
Choose a base branch
from
grandixximo:docs/topbar-greyout-on-build
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,351
−73
Open
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
1415bd2
docs(html): KiCAD-inspired topbar, side TOC, language switcher, admon…
grandixximo 75425c4
docs: read switcher labels from lang-labels file, not Submakefile
grandixximo 90f2023
docs: per-page translation banner instead of greying switcher
grandixximo 53a7734
docs: whole-document TOC tree in left sidebar
grandixximo 7c9df02
docs: move site links into the topbar
grandixximo ab4a5b2
docs: keep the HTML doc build idempotent
grandixximo ae40299
docs: point the topbar logo at the current language's home
grandixximo 8b41e18
docs: fold the nav tree down to the active page
grandixximo 1398a49
docs: active TOC page toggles its own sections inline
grandixximo 73ab607
docs: SVG admonition icons tinted per type
grandixximo a8860d2
docs: inject sidebar on English-only builds too
grandixximo 0c11d6b
docs: white-back PNG figures in dark mode too
grandixximo 5b32d23
docs: restore page and sidebar scrollbars via scrollbar-color
grandixximo eb19d2b
docs: strip asciidoctor index terms from sidebar titles
grandixximo 0052372
docs: inset admonition icon mask so its top is not clipped
grandixximo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| docinfo-header.html |
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| <header id="lcnc-topbar" class="lcnc-topbar"> | ||
| <a class="lcnc-topbar-home" href="{lcnc-cssrel}index.html"> | ||
| <img src="{lcnc-cssrel}lcnc-docs.svg" alt="LinuxCNC Documentation"> | ||
| </a> | ||
| <nav class="lcnc-topbar-links"> | ||
| <a data-lcnc-link="0" href="https://linuxcnc.org">LinuxCNC Home Page</a> | ||
| <span class="lcnc-sep" aria-hidden="true">•</span> | ||
| <a data-lcnc-link="1" href="https://wiki.linuxcnc.org/cgi-bin/wiki.pl">Wiki</a> | ||
| <span class="lcnc-sep" aria-hidden="true">•</span> | ||
| <a data-lcnc-link="2" href="https://forum.linuxcnc.org">Forum</a> | ||
| <span class="lcnc-sep" aria-hidden="true">•</span> | ||
| <a data-lcnc-link="3" href="https://github.com/LinuxCNC/linuxcnc">Source</a> | ||
| <span class="lcnc-sep" aria-hidden="true">•</span> | ||
| <a data-lcnc-link="4" href="{lcnc-cssrel}en/gcode.html">G-Code Quick Reference</a> | ||
| </nav> | ||
| @LANGUAGE_SWITCHER@ | ||
| </header> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # Native display labels for the docs language switcher. | ||
| # Format: <tag> <whitespace> <native name>. A language listed in | ||
| # po4a.cfg [po4a_langs] but absent here falls back to its bare tag. | ||
| en English | ||
| de Deutsch | ||
| es Español | ||
| fr Français | ||
| nb Norsk | ||
| ru Русский | ||
| uk Українська | ||
| zh_CN 中文 |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.