The structure is simple. Each jurisdiction (province) and year has an entry in the
_gazettes directory, which
Jekyll treats as a collection. All the gazette info is taken from
_data/gazettes.json which is grouped
by jurisdiction and year. Jekyll then does the hard work of generating the listings for each jurisdiction and year.
- Clone the repo
jekyll server --watch
To update this list from the production index:
curl http://archive.opengazettes.org.za/index/gazette-index-latest.jsonlines -O python bin/build-index.py
The website is built automatically by GitHub pages based on the Gazette information already in the repository.
The build branch has code that updates the information in the repository from the Gazette index in S3. A Travis build for this branch is triggered automatically when we archive new Gazettes in S3.