Contributing¶
There are two kinds of contribution and they work quite differently.
Fixing the documentation¶
Click the icon at the top of any page. It opens that file on GitHub; edit, describe the change, submit. No local setup needed.
If you want to preview your changes first, see Editing the docs.
Catalog pages cannot be edited directly
Pages under Catalog are generated from each dataset's
manifest.json. Their edit button points at the manifest, which is the
thing to change. Editing the generated page is impossible — it does not
exist on disk.
Adding or correcting data¶
This is a more involved process, because a boundary file carries legal and factual weight that a documentation typo does not.
- Check the licence first. Not last. Approved sources & licensing has the green/amber/red list. This is the step most likely to end a contribution, so doing it first saves you the rest of the work.
- Follow Add a country end to end.
- Run through the Review checklist before opening the PR.
What gets a PR rejected¶
Being direct about this up front, because the alternative is wasting your time:
- An incompatible upstream licence. GADM in particular is the most convenient global source and is not usable here. See sources.
- No stated source. "I found it online" is not provenance. The manifest's
sourceblock is mandatory. - Geometry edited to reflect a political position. See Disputed boundaries.
- Files that ignore the conventions in Reference. These are usually fixable — expect review comments rather than a rejection.
Reporting a problem, proposing a country¶
Open an issue. Three forms ask for what a review needs:
- New country or territory — the source, its SPDX licence and where that licence is stated. Read Approved sources first: this is where most proposals fail.
- Data problem — the dataset path, the feature
id(CHL:ADM3:01402), the data version you read it from, and evidence. A screenshot of the wrong geometry is worth a lot. - Library bug — the package, its version, your runtime, and a minimal reproduction.
Known gaps are already tracked on the Roadmap — worth a look before filing. Pull requests get a template with the checks that CI runs; ticking them before opening saves a round trip.
Ground rules¶
The Code of conduct applies. It is not boilerplate here: a repository of national boundaries attracts sovereignty disputes, and those discussions need to stay technical.