mozilla-reports/script
Jeff Klukas e7bafc2c63 Bug 1501814 - Switch publishing from Knowledge Repo to Docere
Maintains the existing structure of the repository, but removes KR-specific
config and adds CI code to publish to a newly created bucket.
2019-03-21 12:49:12 -04:00
..
README.md Move static content into the repository 2018-10-24 13:57:07 -04:00
convert-knowledge-metadata.sh Add scripts for converting kr content to static html 2018-10-23 09:35:15 -04:00
remove-nav-all.sh Use set -exo pipefail in scripts 2018-10-23 11:06:25 -04:00
remove-nav.py Bug 1501814 - Switch publishing from Knowledge Repo to Docere 2019-03-21 12:49:12 -04:00
render.sh Move static content into the repository 2018-10-24 13:57:07 -04:00
scrape-kr.sh Bug 1501814 - Switch publishing from Knowledge Repo to Docere 2019-03-21 12:49:12 -04:00
serve.sh Use set -exo pipefail in scripts 2018-10-23 11:06:25 -04:00

README.md

Scripts used for local testing and continuous integration.

Conversion from Knowledge Repo

Some of the scripts here exist only for historical on how we converted to a static docere-based site from AirBnb's Knowledge Repo application.

The conversion can be run as follows:

python3 -m venv venv
source venv/bin/active
pip install beautifulsoup4 PyYAML
./script/convert-knowledge-metadata.sh
./script/scrape-kr.sh
./script/remove-nav-all.sh