This is the source repo for the Open Policy Containers (OPCR) landing page and documentation site.
This website is built using Docusaurus 2, a modern static website generator.
$ yarn
$ yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
$ yarn build
This command generates static content into the build
directory and can be served using any static contents hosting service.
The main branch is built and deployed with Netlify to https://openpolicyregistry.io.
To contribute a change, open a PR against the main branch. Once merged, it will automatically be deployed.
scripts/scrape.sh
contains a script that scrapes the doc site to an Algolia account.
From the room directory of the project, run:
$ yarn scrape