Rebuild docs homepage as a full-width landing page#83
Merged
Conversation
The theme's _default/list.html always renders the 3-column shell (sidebar + main + TOC), so the home page inherited a cramped reading column instead of a landing page. Add a site-level index/index-baseof layout override for a full-width home, bump the stale kotlin-docs-kit theme pin (was pre-redesign) to pick up the shipped 0.2.0 release, and drop a couple of semicolons from guide prose.
There was a problem hiding this comment.
Pull request overview
Updates the documentation site’s Hugo layouts so the home page can render as a full-width landing page rather than inheriting the theme’s default 3-column shell, and refreshes the docs theme module pin alongside minor guide prose edits.
Changes:
- Add
index+index-baseoflayout overrides to render the homepage without the default list-page shell. - Update the
kotlin-docs-kitHugo module requirement indocs/go.mod. - Minor punctuation/wording tweaks in two guide pages.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| docs/layouts/index.html | Defines the homepage main block to render page content. |
| docs/layouts/index-baseof.html | Adds a dedicated base layout for the homepage to achieve a full-width landing layout. |
| docs/go.mod | Bumps the pinned kotlin-docs-kit Hugo module version. |
| docs/content/guides/serialization.md | Small prose punctuation adjustment. |
| docs/content/guides/dom.md | Small prose punctuation adjustment (plus an inline code snippet). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| go 1.26.4 | ||
|
|
||
| require github.com/devcrocod/kotlin-docs-kit/packages/hugo v0.0.0-20260621234919-def8378dca04 // indirect | ||
| require github.com/devcrocod/kotlin-docs-kit/packages/hugo v0.0.0-20260707184015-32b9a06f04ee // indirect |
| still close the *parser* itself (it owns reusable buffers and, on Native, native | ||
| memory); `use { }` does that for you. | ||
| still close the *parser* itself — it owns reusable buffers and, on Native, | ||
| native memory — and `use { }` does that for you. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The theme's
_default/list.htmlalways renders the 3-column shell (sidebar + main + TOC), so the home page inherited a cramped reading column instead of a landing page.index/index-baseoflayout override for a full-width home (no sidebar, no TOC)kotlin-docs-kittheme pin ingo.mod(was pinned pre-redesign) to the shippedhugo-v0.2.0release