Skip to content

docs: deploy documentation site to GitHub Pages#1

Merged
saldestechnology merged 2 commits into
mainfrom
docs/github-pages
Jul 9, 2026
Merged

docs: deploy documentation site to GitHub Pages#1
saldestechnology merged 2 commits into
mainfrom
docs/github-pages

Conversation

@saldestechnology

Copy link
Copy Markdown
Collaborator

Summary

Stands up an auto-deploying documentation site at https://saldestechnology.github.io/ctx/ and brings its content up to date with v0.2.1.

Previously the Docusaurus site under docs/website/ had never been deployed (no Pages workflow, no gh-pages), its config pointed at placeholder values (ctx.dev / ctx-dev/ctx), and its pages were a stale fork of the top-level docs/ tree.

What's in here

  • CI: .github/workflows/docs.yml — builds docs/website and publishes to GitHub Pages via actions/deploy-pages on push to main; also build-validates on PRs (deploy is guarded to main only).
  • Config: fixed docusaurus.config.ts for the project Pages path (url, baseUrl: /ctx/, organizationName, editUrl, GitHub links); added go/yaml syntax highlighting; dropped the missing social-card reference.
  • Content refresh to v0.2.1: agentis-ctx install (binary stays ctx), new global flags --count-only / --max-tokens / --encoding, index -j/--parallel & -p/--pattern, query graph --output text|json|dot, Go + YAML language support, serve requires --features mcp, audit --incremental marked not-yet-implemented.
  • New pages: Commands (audit, diff, smart, shell, serve) and Integrations (ci-cd, claude, vscode), wired into the sidebar.
  • Cleanup: removed the leftover Docusaurus starter blog and sample page; added a Documentation badge/link to the README.

Verification

cd docs/website && npm ci && npm run build passes with onBrokenLinks: 'throw' (no broken links) and all assets resolve under /ctx/. GitHub Pages has been set to build from GitHub Actions.

After merge, the Deploy Docs workflow publishes the site to https://saldestechnology.github.io/ctx/.

Set up an auto-deploying Docusaurus site at
https://saldestechnology.github.io/ctx/ and bring its content up to
date with v0.2.1.

- Add .github/workflows/docs.yml: build docs/website and publish to
  GitHub Pages via actions/deploy-pages on push to main
- Fix docusaurus.config.ts for the project Pages path: url,
  baseUrl (/ctx/), organizationName, editUrl and GitHub links
  (were ctx-dev/ctx.dev placeholders); add go/yaml highlighting
- Refresh all doc pages to v0.2.1: agentis-ctx install, new
  --count-only/--max-tokens/--encoding flags, index -j/-p,
  query graph --output text|json|dot, Go + YAML language support,
  serve requires --features mcp, audit --incremental not yet done
- Publish Commands (audit, diff, smart, shell, serve) and
  Integrations (ci-cd, claude, vscode) pages with sidebar entries
- Remove leftover Docusaurus starter blog and sample page
- Add Documentation badge/link to README

Verified: npm run build passes with onBrokenLinks: throw (no broken
links) and assets resolve under /ctx/.
Add paths-ignore (docs/**, **/*.md) to the CI workflow so pull requests
and pushes that only touch documentation don't run the full Rust
build/test/lint/publish-dry-run matrix.
@saldestechnology
saldestechnology merged commit c87ac82 into main Jul 9, 2026
5 checks passed
@saldestechnology
saldestechnology deleted the docs/github-pages branch July 9, 2026 13: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.

1 participant