Maintain Repository Documentation
Give each document a job
README.md helps a newcomer understand the project and start using it. CONTRIBUTING.md describes how to propose changes and test them. SECURITY.md explains supported security reporting channels and, when relevant, supported versions. CHANGELOG.md records notable changes for readers over time; it is a project convention, not a Git requirement. LICENSE sets reuse terms; keep its legal role distinct from the README. Avoid repeating instructions in many places: link to the authoritative file instead.
Use templates to ask for evidence
An issue template in .github/ISSUE_TEMPLATE/ can prompt for steps and observed results. GitHub also supports YAML issue forms. A pull request template can ask for scope, tests and related issues. Forms and templates guide authors; required fields cannot establish that a report is true. Keep instructions short and accessible, use meaningful link text, and review them as part of ordinary changes. The sample documentation map is illustrative and not a hosted form configuration.
Test the documentation
When you change the project, inspect the README from the perspective of a new user. Confirm that relative paths exist in the intended snapshot, examples work under stated prerequisites, supported versions are accurate, and security reporting does not direct sensitive details to a public issue. Keep a dated changelog entry or an Unreleased section according to project policy. Use git diff to review documentation together with related changes. A local link check does not prove remote links, accessibility or security policy enforcement.
Practice example
# Plant notes
Read [the notes](notes.txt).See [contribution guidance](CONTRIBUTING.md).See [security reporting](SECURITY.md).See [changes by version](CHANGELOG.md).The fixture records these four relative paths and checks that each target exists in the tagged tree. File contents are original teaching text; the security document contains no real reporting address.
Check your understanding
Where should a new contributor find test instructions, a security reporting route, and a list of released fixes? Check the sample README links against the fixture.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Maintain Repository Documentation — knowledge check
Reason about project planning, repository documentation and release evidence.
Where should new users find basic project setup?
Where should contributors find the testing and submission process?
Which document should explain security reporting routes?
What does CHANGELOG.md typically record?
What does checking four relative README targets establish?