Skip to content

docs: resync the site with the code it describes - #245

Merged
skyoo2003 merged 1 commit into
mainfrom
docs/resync-drifted-doc-indexes
Sep 6, 2026
Merged

docs: resync the site with the code it describes#245
skyoo2003 merged 1 commit into
mainfrom
docs/resync-drifted-doc-indexes

Conversation

@skyoo2003

Copy link
Copy Markdown
Owner

Pull Request

Description

Three passes of doc-vs-source comparison, one per /update-docs run. Everything found had drifted the same way: a feature merged, and the index pages that route readers to it did not follow.

Reachability. Five pages existed with no inbound link from their section index — reference/versioned, reference/text-processing, guides/preset-engine, and both performance reports. Hugo published them; nothing pointed at them. guides/_index.md had not been touched in 139 days, which is how preset-engine went unlisted.

Counts. dictionary (#244) made the CLI twenty commands. Three places still said nineteen — cli/_index.md twice, _index.md's CLI card once — and the command table had no row for it.

Structure. cli/commands.md had its "Versioned dictionaries" section appended below ## Navigation, so the nav footer rendered mid-page.

Type listings. The CacheStats and ParallelOptions blocks in reference/api.md omitted PresetReloadFailures, PresetPollFailures, and AutoOverlap. All three are described in prose further down the same page — the listing that claims to show the type's shape just did not show them. Also corrected ChunkSize and Overlap, which the block labelled as having defaults when a hand-built ParallelOptions has none (ChunkSize fails with ErrInvalidChunkSize; Overlap means zero).

CONTRIBUTING.md. Documented the four Make targets it never covered — bench, bench-module, bench-v3, proto — including that bench-module needs ACOR_INTEGRATION_ADDR and that proto is the one target needing a toolchain go will not install. Its doccheck fence count said 22 of 91; it is now 25 of 93.

Examples. examples/basic, examples/batch, and examples/parallel build against the current API but were mentioned in no doc page. Linked from Getting Started with the go run line and the localhost:6379 prerequisite.

Checked and found already in sync, so left alone: the 8 proto RPCs against server/grpc-api.md, the 9 HTTP routes against server/http-api.md, the 6 acor_* metric names against operations/monitoring.md, and all four server constructors against server/running.md.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Test update

Checklist

  • Tests pass (make test) — no Go files changed; pre-commit skipped the Go hooks for that reason
  • Vet/make vet — same
  • Linting passes (make lint) — same
  • Build succeeds (make build) — same
  • Documentation updated if needed — this PR is the update; make docs-verify passes, 25 blocks compiled
  • Changelog fragment added (changie new) — changes/unreleased/20260906-docs-index-resync.yaml, kind Documentation
  • Commit messages follow guidelines

Additional Notes

No prose was rewritten and no page was created. Every change is a link, a count, a field, a section move, or a Make target — the parts of these files that are derivable from source and had stopped matching it.

make docs-verify is the only gate that covers this content, and it only compiles Go fences carrying a <!-- doccheck --> marker. None of the drift here was in a marked fence, which is why all of it survived CI.


By submitting this PR, I agree that my contributions will be licensed under the Apache License 2.0.

Three passes of doc-vs-source comparison found drift that all landed the same
way: a feature merged, and the index pages that route readers to it did not.

- CLI pages counted nineteen commands after `dictionary` made twenty
- Five pages (versioned, text-processing, preset-engine, and both performance
  reports) were reachable only by URL, listed in no section index
- commands.md had its V3 section appended below the nav footer, so the footer
  rendered mid-page
- CacheStats and ParallelOptions type listings omitted three fields the same
  page describes in prose lower down

CONTRIBUTING.md gains the four Make targets it never documented (bench,
bench-module, bench-v3, proto) and a corrected doccheck fence count, and
Getting Started now links the three runnable examples/ programs, which build
against the current API but were mentioned nowhere.
@skyoo2003
skyoo2003 merged commit baed40e into main Sep 6, 2026
9 checks passed
@skyoo2003
skyoo2003 deleted the docs/resync-drifted-doc-indexes branch September 6, 2026 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant