13
Documentation-Standards
Jonathan Miller edited this page 2026-06-09 16:55:05 +00:00

Documentation Standards

Wiki-first documentation policy.

Policy

Documentation lives in Gitea wiki pages, not README files. READMEs contain only:

  • Project name and badges
  • One-paragraph description
  • Installation quick-start
  • Link to wiki for full docs
  • Contributing link
  • License

Wiki Structure

Every repo wiki should have at minimum:

  • Home - overview and navigation
  • Installation - setup instructions
  • Configuration - settings reference

File Headers

All source files include SPDX headers with DEFGROUP/INGROUP/REPO/PATH/BRIEF. See File Header Standards.

Inline Documentation

  • PHPDoc on all public methods
  • @param, @return, @throws, @since tags
  • Explain WHY in comments, not WHAT

CHANGELOG.md

Required in every repo. Follow Keep a Changelog format. Update as work progresses.