* Update baseline-browser-mapping to version 2.9.19
Addresses issue in build
[baseline-browser-mapping] The data in this module is over two
months old. To ensure accurate Baseline data, please update: `npm i
baseline-browser-mapping@latest -D`
Signed-off-by: Charlie Egan <charlie_egan@apple.com>
* Add fmt and lint config for docs
This is based on dprint and eslint. Some vendored paths are ignored.
Signed-off-by: Charlie Egan <charlie_egan@apple.com>
* Format and lint docs project
Markdown linting will be added in another PR.
Signed-off-by: Charlie Egan <charlie_egan@apple.com>
---------
Signed-off-by: Charlie Egan <charlie_egan@apple.com>
This new function allows netlify to process the form's notification hook
itself and post to slack without zapier.
Signed-off-by: Charlie Egan <charlie_egan@apple.com>
We have been having some issues with the badge endpoints and have opted
to standardize on the `/badge` as the public API for this feature.
e.g. https://openpolicyagent.org/badge/v1.5.0
Signed-off-by: Charlie Egan <charlie@styra.com>
This retains the badge behaviour from the old site and still uses a
function for all badge related requests.
Signed-off-by: Charlie Egan <charlie@styra.com>
This feature had been based on _redirects and a function. Now we have a
single function to handle all badge requests.
Signed-off-by: Charlie Egan <charlie@styra.com>
Some things added on this branch:
- icons and client logos at known paths
- some spam redirects
- some redirects for docs/latest/foo /docs/foo
- redirects for the two ‘moved’ pages (k8s and envoy intros)
I am going to be monitoring the traffic this week on Netlify to make
sure we have a good coverage with redirects where needed.
We also now prompt users to file issues directly from the 404 pages
which should help flag things we miss too.