Skip to content

Introduce documentation standardization for at all communication levels - #841

Merged
MGibson1 merged 7 commits into
mainfrom
arch/adr/0034-documentation-standard
Aug 7, 2026
Merged

Introduce documentation standardization for at all communication levels#841
MGibson1 merged 7 commits into
mainfrom
arch/adr/0034-documentation-standard

Conversation

@MGibson1

@MGibson1 MGibson1 commented Aug 3, 2026

Copy link
Copy Markdown
Member

📔 Objective

Investigate and recommend a direction for documentation standards at Bitwarden.

@github-actions github-actions Bot added the adr label Aug 3, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 4, 2026

Copy link
Copy Markdown

Deploying contributing-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: e8122b0
Status: ✅  Deploy successful!
Preview URL: https://77d58648.contributing-docs.pages.dev
Branch Preview URL: https://arch-adr-0034-documentation.contributing-docs.pages.dev

View logs

@MGibson1
MGibson1 force-pushed the arch/adr/0034-documentation-standard branch from 4ecd36c to f86488b Compare August 4, 2026 22:42
@withinfocus withinfocus added the ai-review Request a Claude code review label Aug 5, 2026
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

🤖 Bitwarden Claude Code Review

Overall Assessment: APPROVE

Reviewed the single new file in this PR, docs/architecture/adr/0034-adopt-engineering-documentation-standard.md, a Proposed ADR adopting an org-wide docs-as-code documentation standard. Since the last pass, commit e8122b0 applied the subject-verb fix in the plugin bullet ("local documents need to be updated"), resolving the only open finding. Frontmatter (adr, status, date, tags), heading style, section structure, the relative link to 0033-adopt-mermaid-diagram-standard.md, and 100-character prose wrapping remain consistent with neighboring ADRs; the ADR index renders via DocCardList, so no sidebar update is needed, and Lint, Build, and Aikido checks pass. No code, dependency, or configuration changes are included.

Code Review Details

No new findings.

The earlier suggestion about CI link checkers not covering external inbound links was answered by the author (the checkers live in the consuming repositories and validate the links they add); that call is left to the author and human reviewers.

Comment on lines +72 to +73
- Strict-move deletions can break unknown inbound links. Known links are updated at move time and
link checkers in CI are the mitigation for the rest.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎨 SUGGESTED: CI link checkers don't mitigate the inbound-link risk this bullet names.

Details and rationale

docusaurus.config.js sets onBrokenLinks: "throw", which only catches links within this site. The risk called out here is unknown inbound links — search results, Confluence pages, Jira tickets, external blog posts pointing at contributing.bitwarden.com/architecture/.... Those break silently when the Plan moves architecture/{clients,server,sdk,mobile-clients} and 12 of 28 deep-dive pages out of this repo, and no CI check in this repo or the destination repos will detect it.

Consider naming redirects as the mitigation for external inbound links, e.g. adding @docusaurus/plugin-client-redirects so moved pages redirect to their new homes, with CI link checking covering only the in-site case.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a bit of chicken and egg here. The link checker being referenced are in external repositories. The idea is to have link checkers (for example, in clients) that validate links added to them. Issues will arise with PR ordering, but I don't see a better solution to dead links

@withinfocus withinfocus left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few tweaks requested but I already consider this the standard and where we're headed, captured now as truly official.

Comment thread docs/architecture/adr/0034-adopt-engineering-documentation-standard.md Outdated
Comment thread docs/architecture/adr/0034-adopt-engineering-documentation-standard.md Outdated
Comment thread docs/architecture/adr/0034-adopt-engineering-documentation-standard.md Outdated
Comment thread docs/architecture/adr/0034-adopt-engineering-documentation-standard.md Outdated
@MGibson1
MGibson1 marked this pull request as ready for review August 5, 2026 17:20
@MGibson1
MGibson1 requested a review from a team as a code owner August 5, 2026 17:20
Audit showed that clients was the one that needed attention, but drift may occur between proposal and acceptance. We need to bring all repos up to compliance
@MGibson1
MGibson1 requested a review from withinfocus August 5, 2026 18:18
allows for flexibility of implementation without altering the plan
Comment thread docs/architecture/adr/0034-adopt-engineering-documentation-standard.md Outdated

@withinfocus withinfocus left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One ⛏️.

…ndard.md

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
@MGibson1
MGibson1 merged commit b068f2d into main Aug 7, 2026
19 checks passed
@MGibson1
MGibson1 deleted the arch/adr/0034-documentation-standard branch August 7, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adr ai-review Request a Claude code review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants