Skip to content

docs: fix Markdown staleness/gaps + add apikey example - #180

Merged
Jaro-c merged 2 commits into
developfrom
docs/md-review
Jun 29, 2026
Merged

docs: fix Markdown staleness/gaps + add apikey example#180
Jaro-c merged 2 commits into
developfrom
docs/md-review

Conversation

@Jaro-c

@Jaro-c Jaro-c commented Jun 29, 2026

Copy link
Copy Markdown
Member

From the Markdown docs review (verdict: marketing surface is captivating and well-sized; defects were staleness and completeness). All findings addressed:

  1. README stale Roadmap — deleted; every item (apikey, rotation, revocation hook, pluggable key source, oauth) shipped and is in the Modules table above it.
  2. docs/validation.md — the email Close() comment described a background goroutine that no longer exists; it is now an optional no-op.
  3. docs/errors.md — added the auth/apikey and auth/oauth error sections and the jwt.ErrTokenRevoked row (referenced by jwt.md/secure-login.md but previously unlisted).
  4. README badges — removed the third-party shields.io badges (kept the GitHub-native CI badge + the canonical pkg.go.dev one); the feature tags moved into the pitch text.
  5. README Mermaid — added apikey/oauth to the architecture diagram.
  6. docs/testing.md — added apikey/oauth to the layout tree and import table, plus the oauth/apikey examples.
  7. docs/configuration.md — documented the KeyStore field.
  8. examples/apikey/ — added a runnable example for parity (every other module has one) and to the CI matrix.

Docs + one new example module. go build, go vet, golangci-lint (0 issues) pass; the apikey example builds in readonly mode.

- README: delete the stale Roadmap (all of it shipped), drop the third-party
  shields.io badges (keep the GitHub-native CI + pkg.go.dev badges), fold the
  feature tags into the pitch text, and add apikey/oauth to the architecture
  diagram.
- docs/validation.md: the email Close() comment described a background goroutine
  that no longer exists; Close is now an optional no-op.
- docs/errors.md: add the auth/apikey and auth/oauth error sections and the
  jwt.ErrTokenRevoked row (referenced elsewhere but previously unlisted).
- docs/configuration.md: document the KeyStore field.
- docs/testing.md: add apikey/oauth to the layout tree and the import table,
  and the oauth/apikey examples.
- examples/apikey: add a runnable example for parity with the other modules,
  and add it to the examples CI matrix.

Signed-off-by: Jaro-c <75870284+Jaro-c@users.noreply.github.com>
@Jaro-c Jaro-c added area:examples Subsystem: examples area:meta Subsystem: meta effort:S Small prio:P2 Medium priority status:review In review type:docs Documentation labels Jun 29, 2026
@Jaro-c
Jaro-c enabled auto-merge (squash) June 29, 2026 17:02
Signed-off-by: Jaro-c <75870284+Jaro-c@users.noreply.github.com>
@Jaro-c
Jaro-c merged commit be8cc7d into develop Jun 29, 2026
11 checks passed
@Jaro-c
Jaro-c deleted the docs/md-review branch June 29, 2026 17:04
@Jaro-c Jaro-c mentioned this pull request Jun 29, 2026
Jaro-c added a commit that referenced this pull request Jun 29, 2026
Release v1.10.7 — documentation. One new example, no library code
changes.

From the Markdown docs review: removed the stale README Roadmap and the
third-party shields.io badges, fixed the false email Close() goroutine
comment, completed the error reference (apikey/oauth/ErrTokenRevoked),
documented the KeyStore config field, added apikey/oauth to the
architecture diagram and the testing layout/import table, and added a
runnable examples/apikey for parity. (#180)
Jaro-c added a commit that referenced this pull request Jun 29, 2026
The Markdown review fixes intended for #180 were dropped when a failed
`git add` of a non-existent `go.sum` aborted staging — only the apikey
example landed. This commits the actual changes:

- README: removed the stale Roadmap and the third-party shields.io
badges (kept GitHub-native CI + pkg.go.dev; feature tags moved into the
pitch); added apikey/oauth to the architecture diagram.
- docs/validation.md: the email `Close()` is an optional no-op, not
goroutine cleanup.
- docs/errors.md: added the apikey and oauth error sections and
`jwt.ErrTokenRevoked`.
- docs/configuration.md: documented the `KeyStore` field.
- docs/testing.md: added apikey/oauth to the layout tree and import
table.
- examples CI matrix now includes the apikey example.

Docs + CI matrix only.

Signed-off-by: Jaro-c <75870284+Jaro-c@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:examples Subsystem: examples area:meta Subsystem: meta effort:S Small prio:P2 Medium priority status:review In review type:docs Documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant