Contribute / Add Content¶
The site is built with MkDocs Material. Editors work through GitHub pull requests that another editor reviews before anything goes live – see TEAM_GUIDE.md in the repository. Everything is plain text: Markdown pages in docs/, data in data/*.yml.
Add or edit a page¶
- Create
docs/<section>/<page>.md(copy an existing page for the layout). - Add it to the
nav:list inmkdocs.yml. - Telugu version: save the translation as
<page>.te.mdnext to the English file. Pages without a Telugu file show the English text in the Telugu site.
Add a GO¶
Edit data/gos.yml and add one line:
- {go: "G.O.Ms.No.XX", date: 2026-01-31, dept: "Water Resources (Reforms)", topic: Tendering,
subject: "Short subject in your own words", url: "https://goir.ap.gov.in/...",
source: official-copy, note: "Amends G.O.Ms.94", checked: 2026-11-30}
Only add a GO after you have seen the official copy. source must be official-copy, cited-in-official or news-report.
Add a link¶
Edit data/links.yml – add {cat: "<category>", name: "...", url: "...", desc: "one line"} and run:
python scripts/check_links.py # checks every link in links.yml and gos.yml
Add a PDF / template¶
Put the file in docs/downloads/ and list it on docs/downloads.md. Remove personal and confidential information first.
Add a calculator¶
- Add a pure function to
docs/assets/js/calc-core.js. - Add a definition (fields + output) to
DEFSindocs/assets/js/calc-ui.js. - Add a test in
tests/calc-core.test.jsand runnpm test. - Use it in a page with
<div class="calc" data-calc="name"></div>.
Preview & build¶
./scripts/serve.sh # live preview at http://127.0.0.1:8000
./scripts/build.sh # tests + static build into site/