Skip to content

docs: add style guide and bring docs, Javadoc and site into conformance - #178

Merged
wolpert merged 1 commit into
mainfrom
docs/style-guide-conformance
Oct 8, 2026
Merged

wolpert merged 1 commit into
mainfrom
docs/style-guide-conformance

Conversation

@wolpert

@wolpert wolpert commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds docs/style.md and points CLAUDE.md at it.
  • Brings all Markdown (root, docs/, ADRs, example and SDK READMEs), site/index.html, Javadoc in every module, and TSDoc in the browser SDK into line with the guide: third-person present tense, no stress emphasis, noun-phrase headings, no em dashes, serial comma, British spelling, 100-column wrap.
  • Prose only. Code, identifiers, {@code}/{@link} targets, @since values and code blocks are unchanged. Renamed heading anchors had their cross-references updated; no external links into renamed anchors were found.
  • A few factual fixes surfaced along the way: ChallengeId format and SPI ownership in DESIGN.md, demo persistence switches (GETTING_STARTED, Dropwizard demo README and Javadoc), host-run migrations on the site, and the missing [2.2.0] CHANGELOG link reference.

Test plan

  • ./gradlew spotlessApply check (JDK 21) passes
  • Browser SDK npm run build and npm test pass (npm run typecheck fails identically on main: Cannot find module '../dist/src')

Open items for the maintainer

  • og-image.png was not regenerated; it still shows the old tagline (the SVG source is updated).
  • README disclaimer below the "do not edit" marker was left untouched; it does not conform to the guide.
  • SECURITY.md still says fixes land on the latest 1.x line, while releases are on 2.x.
  • ADR 0015 mentions a ttl field on JwtClaims that does not exist.
  • Three ADR titles (0008, 0011, 0018) exceed the heading rules; titles were kept as-is.
  • Decorative <em>/<b> styling on the site was kept because removing it needs CSS changes.
  • // line comments and code-block comments were out of scope and still contain some em dashes.

🤖 Generated with Claude Code

- Add docs/style.md (register, emphasis, headings, justification,
  punctuation and mechanics) and point CLAUDE.md at it.
- Root Markdown (README, DESIGN, CONTRIBUTING, GETTING_STARTED, RELEASE,
  SECURITY, CHANGELOG, CLAUDE.md), docs/ (operator guide, stability,
  threat model, transactional semantics, ADRs), example and SDK READMEs,
  and site/index.html: third-person present tense, no stress emphasis,
  noun-phrase headings, no em dashes, serial comma, British spelling,
  100-column wrap. Cross-references to renamed anchors updated.
- Javadoc across all modules and TSDoc in the browser SDK: same rules,
  prose only; code, identifiers and tags unchanged.
- Factual fixes found along the way: ChallengeId format and SPI
  ownership in DESIGN.md, demo persistence flags in GETTING_STARTED and
  the Dropwizard demo, migrations are host-run (site), missing [2.2.0]
  CHANGELOG link reference.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sonarqubecloud

sonarqubecloud Bot commented Oct 7, 2026

Copy link
Copy Markdown

@wolpert
wolpert merged commit d1cc335 into main Oct 8, 2026
8 checks passed
@wolpert
wolpert deleted the docs/style-guide-conformance branch October 8, 2026 13:21
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