diff options
| author | Leitwolf11 | 2026-10-18 09:00:14 +0300 |
|---|---|---|
| committer | Leitwolf11 | 2026-10-18 09:00:14 +0300 |
| commit | 47ffd40c8b61aa9dd131e567bfb2ce78ec7f354c (patch) | |
| tree | 4760813c7550a29ee25160f70cf91b2f5bd552cd /.github/codeql | |
| parent | c2eb3d208b37826167496cfdf657ffca33fef703 (diff) | |
| download | website-design/docs-layout.tar.gz | |
Lay out the documentation like kotlinlang.org/docsdesign/docs-layout
The three documentation pages each drew their own sidebar. The two hand-built
pages listed different topics: Getting started had no link to Syntax. Each page
also opened with a capitalized section kicker.
DocShell now frames every documentation page:
- On the left, the topics of the site, with the current one marked. On a
narrow screen they fold into a Contents button above the page.
- Above the page, a breadcrumb: site / Documentation / topic.
- The page in a column of at most 720 px.
- On the right, "On this page". It is read from the h2 headings of the
rendered page, and each heading gets an id from its words in any script.
It is hidden below 1100 px.
- Under the page, previous and next topic cards and an "Edit this page"
link to the file the page is written in.
DocPage, OverviewPage and GettingStartedPage use it and drop their own
sidebars and kickers. The styles of the old layout are removed. The labels
are in all four languages.
Diffstat (limited to '.github/codeql')
0 files changed, 0 insertions, 0 deletions