Collect source material
Strong docs updates start with strong inputs. Before writing or refreshing pages, gather the source material that anchors the repo in reality.
Files to inspect first
Open the repo itself and start with the files most likely to contain stable truth:
README.mddocs/anddocs/runbooks/- example READMEs
Makefile,package.json,pyproject.toml,go.mod, or other build metadata- local run scripts such as
docker-compose.yml,Dockerfile, or dev helpers - the main runtime entrypoints, such as
cmd/...,src/main..., or package roots - deployment or environment configuration paths when the docs need operational setup details
What to capture in your notes
Capture concrete answers for:
- repo name and workspace path
- one-sentence repo purpose
- key entrypoints and important directories
- setup, run, test, build, and verification commands
- important source docs and runbooks
- examples worth linking from the hosted docs
- diagrams or architecture notes that should be preserved
- Bitbucket URL and any repo-specific links that belong in the docs UI
- owner or steward if the repo has a clearly documented one
Resolve conflicts deliberately
When two sources disagree, trust them in this order:
- commands that currently run in the repo
- code and runtime entrypoints
- repo-local runbooks and maintained docs
- older summary pages in
docs_ui
If you still cannot tell which source is right, document the unknown instead of hiding it.
Keep the evidence small and reviewable
Avoid giant dumps of every markdown file in the repo. The best maintainer notes are short and specific:
README.md covers local setupdocs/runbooks/release.md is the best deploy referencecmd/notify-sender/main.go is the runtime entrypointmake test-integration is the safest end-to-end check
Next steps
- Continue to Write and organize pages
- Or, if the repo is not yet represented in the docs site, continue to Add a new repo