Skip to content

Rebuild docs homepage as a full-width landing page#83

Merged
devcrocod merged 1 commit into
masterfrom
docs/hugo-fixes
Jul 7, 2026
Merged

Rebuild docs homepage as a full-width landing page#83
devcrocod merged 1 commit into
masterfrom
docs/hugo-fixes

Conversation

@devcrocod

Copy link
Copy Markdown
Owner

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 (no sidebar, no TOC)
  • Bump the stale kotlin-docs-kit theme pin in go.mod (was pinned pre-redesign) to the shipped hugo-v0.2.0 release
  • Drop a couple of semicolons from guide prose

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.
Copilot AI review requested due to automatic review settings July 7, 2026 21:40

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-baseof layout overrides to render the homepage without the default list-page shell.
  • Update the kotlin-docs-kit Hugo module requirement in docs/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.

Comment thread docs/go.mod
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.
@devcrocod devcrocod merged commit b031d85 into master Jul 7, 2026
1 check passed
@devcrocod devcrocod deleted the docs/hugo-fixes branch July 7, 2026 21:52
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