R206 Keep content Markdown under docs/

Off by default

Put the Markdown that holds content, such as knowledge, decisions and logs, under docs/, put code in the directories of its languages, and keep only convention files at the root of the repository.

Reason

Documents and code each keep to their own part of the repository: a reader knows where to find the documents, and a change to the code does not touch them (Art. III §4). The root holds only the files that tools and platforms look for there, so the layout of the repository shows at a glance.

Verification

Convention files are files that a tool or platform reads at a fixed place, for example README.md, AGENTS.md, CLAUDE.md, LICENSE and CONTRIBUTING.md. A subproject’s README sits with its code and is no violation.

Violated when the root of the repository or a code directory holds Markdown with content (knowledge, decisions, logs and the like) other than convention files and the READMEs of subprojects.

Provisions of the constitution it cites

Relations

Parent
R16 Documentation
Requires
none
Conflicts with
none

Metadata

ID
206
Revision
2
Kind
rule
Status
trial
Slug
content-markdown-in-docs
Default level
project
Constitution revisions
>=1
Check
none
Default
off
Uses
Instructions instructions, Review review
Original language
English en
Translations
Chinese zh