Skip to content

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

  1. Create docs/<section>/<page>.md (copy an existing page for the layout).
  2. Add it to the nav: list in mkdocs.yml.
  3. Telugu version: save the translation as <page>.te.md next 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.

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

  1. Add a pure function to docs/assets/js/calc-core.js.
  2. Add a definition (fields + output) to DEFS in docs/assets/js/calc-ui.js.
  3. Add a test in tests/calc-core.test.js and run npm test.
  4. 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/