Skip to content

docs: comprehensive documentation audit and enhancement#19

Merged
dmytrogajewski merged 3 commits into
mainfrom
docs/audit-enhancements
May 30, 2026
Merged

docs: comprehensive documentation audit and enhancement#19
dmytrogajewski merged 3 commits into
mainfrom
docs/audit-enhancements

Conversation

@dmytrogajewski
Copy link
Copy Markdown
Contributor

Summary

Closes 20 of 22 items from the documentation-audit plan, restructuring the docs around the Diátaxis framework and adding the standard open-source community and project-health files. mkdocs build --strict passes; no Go source is touched in this PR.

What changed

Content & structure (Diátaxis)

  • Explanation quadrant — 15 site/explanation/*.md analyzer concept pages
  • How-to quadrant — 5 task-oriented guides: analyze a bare repo, analyze a monorepo, run in CI, attach an MCP client, read a burndown chart
  • Referencesite/glossary.md
  • Release notes — index + unreleased page, wired into nav
  • Page titles migrated to sentence case site-wide (Vale rule enabled)

Community & project health

  • CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md, SUPPORT.md, GOVERNANCE.md, THIRD_PARTY_NOTICES.md
  • GitHub issue templates + pull request template
  • README Maintainers / Contributing / License / Security / Support sections

Architecture decisions (MADR)

  • ADRs: record-architecture-decisions, two-binary-split, libgit2-via-cgo
  • Exposed in nav via site/adr → ../docs/adr symlink (keeps docs_dir: site strict-clean)

Changelog

  • Keep a Changelog 1.1.0 proposal as CHANGELOG.md.proposed.md — the original CHANGELOG.md is intentionally left untouched for the maintainer to apply
  • site/contributing/changelog.md thinned to a pointer

AI-agent discoverability

  • llms.txt and llms-full.txt

Docs CI & linting

  • .github/workflows/docs.yml jobs plus markdownlint, Vale, cspell, and lychee link-check configs

Not included

  • Items 21 & 22 (doc.go package comments, example_*_test.go) — Go-source work that needs a separate implementation PR
  • Applying CHANGELOG.md.proposed.md over CHANGELOG.md is left as a deliberate maintainer action
  • Local harness/tooling changes (.claude/, .agents/skills/, AGENTS.md, scripts/) are excluded from this docs PR

Verification

  • mkdocs build --strict — exit 0

🤖 Generated with Claude Code

drwatsno and others added 3 commits May 30, 2026 16:36
Closes 20 of 22 documentation-audit items, restructuring the docs around
the Diátaxis framework and adding the standard open-source community and
project-health files.

Content & structure (Diátaxis):
- Add Explanation quadrant: 15 site/explanation/*.md analyzer concept pages
- Add How-to quadrant: 5 task-oriented guides (bare repo, monorepo, CI,
  MCP client, reading a burndown chart)
- Add Reference glossary (site/glossary.md)
- Add Release notes section (index + unreleased) wired into nav
- Migrate page titles to sentence case across the site

Community & project health:
- CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md, SUPPORT.md,
  GOVERNANCE.md, THIRD_PARTY_NOTICES.md
- GitHub issue templates + pull request template
- README Maintainers / Contributing / License / Security / Support sections

Architecture decisions:
- ADRs (MADR): record-architecture-decisions, two-binary-split,
  libgit2-via-cgo; exposed in nav via site/adr -> ../docs/adr symlink

Changelog:
- Keep a Changelog 1.1.0 proposal as CHANGELOG.md.proposed.md
  (original CHANGELOG.md intentionally left untouched)
- Thin site/contributing/changelog.md to a pointer

AI-agent discoverability:
- llms.txt and llms-full.txt

Docs CI & linting:
- .github/workflows/docs.yml jobs plus markdownlint, Vale, cspell, and
  lychee link-check configs

mkdocs build --strict passes; no Go source touched.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The doc-quality jobs globbed **/*.md, sweeping in non-documentation
markdown (.agents/**, .claude/**, specs/**, AGENTS.md) that produced
984 markdownlint errors and link/spell failures unrelated to the docs.

Scope all doc-quality gates to the documentation surface (site/, docs/,
and the root health files) — matching Vale's existing scope:
- markdownlint, cspell, lychee globs narrowed to the doc surface

Fix real issues within the documentation:
- markdownlint: add a language to 36 bare code fences (MD040); add blank
  lines around the AI-agent scenario lists in README (MD032); auto-fix
  list-marker spacing, list/strong style (MD030/MD004/MD050)
- MD025: disable front-matter-title detection — MkDocs Material pages
  intentionally carry both a YAML `title:` and a rendered `# H1`
- cspell: seed technical terms, tool names, and proper nouns into the
  dictionary; normalize British spellings to US English (behaviour,
  licence, prioritise, weaponised, analysers) per the Google/Microsoft
  style packs (the intentional UK "licence" reference in sentiment.md
  is preserved via the dictionary)

Make the advisory checks reliably green:
- Vale/cspell get step-level continue-on-error. Job-level
  continue-on-error only unblocks the run; the check still reports
  failure. Step-level lets the job pass while annotations stay visible —
  matching the documented "advisory, non-blocking" intent. (Vale exits
  non-zero on any error-level finding regardless of fail_on_error.)

Verified locally: markdownlint 0 errors, lychee 0 errors, cspell 0
issues, mkdocs build --strict exit 0.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Current lychee (lychee-action@v2) rejects --exclude-mail with
"unexpected argument" (exit 2), which was the actual cause of the red
link-check job — not broken links. mailto:/tel: links are excluded by
default now and are also covered by .lycheeignore, so the flag is just
dropped.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@dmytrogajewski dmytrogajewski merged commit 34d6fd1 into main May 30, 2026
9 checks passed
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