Skip to content

RFC: Documentation philosophy for ODP projects - #44

Open
dhillonk wants to merge 9 commits into
OpenDevicePartnership:mainfrom
dhillonk:dhillonk-rfc-docs-philosophy
Open

RFC: Documentation philosophy for ODP projects#44
dhillonk wants to merge 9 commits into
OpenDevicePartnership:mainfrom
dhillonk:dhillonk-rfc-docs-philosophy

Conversation

@dhillonk

@dhillonk dhillonk commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Adds a new RFC proposing that ODP standardize on co-located project documentation rather than continuing with today's mixed model, where some projects (Patina) keep docs next to their code while others (Secure EC, Standardized EC Services) keep them in the shared documentation repository. The split causes drift between code and docs, hurts discoverability, blurs ownership, and gives contributors an inconsistent experience across projects.

The RFC proposes:

  • Each project owns its documentation in-repo under docs/, authored as an mdBook and published via GitHub Pages from the project repository.
  • Code and docs ship in the same PR, with CODEOWNERS on docs/ following the project's maintainers.
  • The documentation repository is retained but narrows to organization-level content only: charter, governance, cross-project standards, RFC index, and a landing page that links out to each project's mdBook.
  • Existing centralized docs for Secure EC and Standardized EC Services are migrated into their project repositories, with the previous locations in the documentation repository replaced by short link stubs so inbound links keep working.
  • New projects onboarded under ODP follow this model from day one.

The RFC follows rfc/0000-template.md and the style of recent process RFCs (e.g. 0036-private-repo-access-control.md). Because this is a process/governance RFC rather than a Rust code RFC, the code-specific sections of the template are omitted; the RFC instead includes an explicit Migration Plan section.

Open questions called out in the RFC include the canonical in-repo path, versioning strategy for published books, where shared cross-project content should live, ownership of the org-level landing page, migration timeline, and whether the RFC index itself should move.

dhillonk added 2 commits July 21, 2026 10:27
Standardize on co-located project documentation authored as an mdBook and published via GitHub Pages from the project repository. The documentation repository is retained for org-level content and links out to each project's mdBook.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 4f445347-b4ca-4d78-9ceb-22f13d746c7d
Comment thread rfc/0000-documentation-philosophy.md Outdated
This RFC proposes standardizing on co-located project documentation within ODP projects, allowing each project to own its documentation alongside its source code. It aims to streamline documentation practices and improve discoverability and ownership.
Comment thread rfc/0000-documentation-philosophy.md
@makubacki

Copy link
Copy Markdown
Contributor

@dhillonk, the RFC does not need to be in draft before FCP.

@dhillonk
dhillonk marked this pull request as ready for review July 23, 2026 16:59
@dhillonk
dhillonk requested a review from a team as a code owner July 23, 2026 16:59
Copilot AI review requested due to automatic review settings July 23, 2026 16:59

Copilot AI 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.

Pull request overview

This PR introduces a new governance/process RFC proposing that ODP standardize on co-located, in-repo project documentation (under docs/) authored with mdBook and published via GitHub Pages, while narrowing the shared documentation repo to org-level materials and a landing/index that links to each project’s docs.

Changes:

  • Adds a new RFC document describing motivation, goals, requirements, and a per-project migration plan for moving project docs into their respective repos.
  • Defines the intended steady state for the documentation repo (org-level content + landing/index) and how link stubs should preserve inbound links during migration.
  • Captures alternatives and prior art to justify the proposed approach.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread rfc/0000-documentation-philosophy.md
Comment thread rfc/0000-documentation-philosophy.md
dhillonk added 2 commits July 27, 2026 15:49
Replace the "approach 1 vs approach 2" framing with two positive principles: no project-specific documentation in the documentation repository, and every ODP project has its own project-level mdBook. Rework the summary, motivation, goals, and requirements to lead with these principles.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 4f445347-b4ca-4d78-9ceb-22f13d746c7d
This RFC proposes a documentation philosophy for ODP projects, emphasizing that no project-specific documentation should reside in the `documentation` repository and that each ODP project should maintain its own project-level mdBook published via GitHub Pages. The change aims to resolve inconsistencies in documentation handling across ODP projects.

@makubacki makubacki 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.

Approved overall with some additional feedback.

Comment thread rfc/0000-documentation-philosophy.md Outdated
Comment thread rfc/0000-documentation-philosophy.md
Comment thread rfc/0000-documentation-philosophy.md Outdated
Comment thread rfc/0000-documentation-philosophy.md
dhillonk and others added 4 commits July 28, 2026 14:35
Co-authored-by: Michael Kubacki <michael.kubacki@microsoft.com>
Co-authored-by: Michael Kubacki <michael.kubacki@microsoft.com>
Co-authored-by: Michael Kubacki <michael.kubacki@microsoft.com>
This RFC establishes a documentation philosophy for ODP projects, emphasizing project-level mdBooks and organization-level content in the documentation repository. It aims to resolve inconsistencies in documentation handling across projects.
@dhillonk
dhillonk requested a review from jerrysxie July 30, 2026 20:12
@jerrysxie
jerrysxie requested a review from a team August 4, 2026 20:15

## Requirements

1. **No project-specific docs in the `documentation` repository.** The

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

My concern here is there is no "project level" repo. Some projects span multiple repos. For those are we proposing we have one high level repo that represents each project? Or do we keep the documentation for those projects at the documentation repo level?


## Unresolved Questions

- **Migration timeline.** This RFC does not fix a completion date. Should

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.

We have been talking about this for a while. To prompt some action, we should create backlog of issues to do the changes and then assign it to an iteration.

  1. Top-level README for the ODP GitHub highlighting the top-level repo for each project
  2. Move project specific documentation out of the documentation repo, change documentation repo to be more top-level overview.
  3. For project lead and owner to create their documentation and publish as gh-pages for centralized documentation to point to

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.

5 participants