Repository navigation
docs: start the developer docs site with self-hosting and the API - #1
Merged
Merged
Conversation
Starlight on Bun, deployed to Cloudflare like chek.page, with Chek's brand tokens and self-hosted fonts. Covers getting started, running Chek server and the API, with the reference built from openapi.yaml at chek 0.3.0. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PY1z7gbTSbKghKSF1tWxKN
One mode per page, task titles for how-to guides, short sentences in the second person, conditions before instructions, and no dashes, semicolons or slashes. Provider settings move into the configuration reference, and AGENTS.md records the writing rules. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PY1z7gbTSbKghKSF1tWxKN
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.
Requested by Arya · project thread
Before
Chek had no public developer docs. How to self-host the server was spread across READMEs in chek,
docs/server.mdand the deploy folder.openapi.yamlwasn't rendered anywhere.After
This is the first version of docs.chek.page, as an Astro Starlight site.
CHEK_*variable.starlight-openapifromopenapi.yamlat chek0.3.0.The pages follow the pstack technical-writing rules, and AGENTS.md records those rules for later pages. I left out the private Fly.io proxy, the private sources and the demo setup.
How
bun --bun, and the site is static output.scripts/cloudflare.tsturns that output into the prebuilt outputcf deployreads, like chek.page.bun run deploypublishes it to thechek-docsworker atdocs.chek.page.chekReleaseinastro.config.tspins the server release that the reference is built from. The spec itself stays in chek.astro check(which needs TypeScript 6) and the build.openapi.yaml.Checks
bun run check,bun run lint,bun run format:checkandbun run buildpass locallydist/)docs.chek.pageand the firstbun run deployare left for youGenerated by Claude Code