Skip to content

Add Hugo documentation site#80

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

Add Hugo documentation site#80
devcrocod merged 1 commit into
masterfrom
docs/hugo-site

Conversation

@devcrocod

@devcrocod devcrocod commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Documentation site under docs/, built on the kotlin-docs-kit Hugo theme module (pinned to hugo-v0.1.0).

  • Getting started (installation, quickstart), DOM / On-Demand / serialization guides, and a worked example
  • Deploys to GitHub Pages via docs.yml on release or manual dispatch
  • test.yml skips docs-only changes

One-time setup: Settings → Pages → Source = GitHub Actions.

Documentation site under docs/, built on the kotlin-docs-kit Hugo theme
module (pinned to hugo-v0.1.0). Covers getting started, the DOM, On-Demand
and serialization guides, and a worked example. Publishes to GitHub Pages
via .github/workflows/docs.yml on release or manual dispatch; test.yml
skips docs-only changes.
Copilot AI review requested due to automatic review settings July 7, 2026 19:38

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

Adds a Hugo-based documentation site under docs/ (using the kotlin-docs-kit theme module) and a GitHub Actions workflow to build/deploy it to GitHub Pages, while skipping CI tests for docs-only changes.

Changes:

  • Introduce Hugo site configuration and content pages under docs/.
  • Add docs.yml workflow to build the site and deploy to GitHub Pages on release/manual dispatch.
  • Update test.yml to ignore docs-only changes.

Reviewed changes

Copilot reviewed 15 out of 16 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
docs/hugo.toml Hugo site configuration (module import, outputs, menus, markup).
docs/go.mod Go module pinning for the Hugo theme module (used by Hugo Modules).
docs/go.sum Dependency checksums for the Hugo theme module.
docs/.gitignore Ignore Hugo build artifacts.
docs/content/_index.md Docs homepage content.
docs/content/getting-started/_index.md “Getting started” section landing page.
docs/content/getting-started/installation.md Installation and requirements guide.
docs/content/getting-started/quickstart.md Quickstart guide for DOM and On-Demand.
docs/content/guides/_index.md Guides section landing page.
docs/content/guides/dom.md DOM API guide.
docs/content/guides/on-demand.md On-Demand API guide.
docs/content/guides/serialization.md kotlinx.serialization integration guide.
docs/content/examples/_index.md Examples section landing page.
docs/content/examples/twitter.md Worked example comparing APIs on twitter.json.
.github/workflows/docs.yml New workflow to build Hugo site and deploy to GitHub Pages.
.github/workflows/test.yml Skip test workflow runs when only docs/** changes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/go.mod
@@ -0,0 +1,5 @@
module github.com/devcrocod/simdjson-kotlin/docs

go 1.26.4
Comment thread docs/go.mod

go 1.26.4

require github.com/devcrocod/kotlin-docs-kit/packages/hugo v0.0.0-20260621234919-def8378dca04 // indirect
@devcrocod devcrocod merged commit 2861307 into master Jul 7, 2026
10 checks passed
@devcrocod devcrocod deleted the docs/hugo-site branch July 7, 2026 20:01
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