zitadel/docs/netlify.toml
Florian Forster 220c8e4922
docs: V2 alpha readme (#3669)
* docs: add actions dok from v1

* docs: change readme

* remove billing which will be redone

* fix search

* use readme branch to test index

* fix algolia

* fine tune

* tweak

* test

* Update netlify.toml

* Update netlify.toml

* Update docusaurus.config.js

* Update docusaurus.config.js

* Apply suggestions from code review

Co-authored-by: mffap <mpa@zitadel.com>

* tweak readme

* Apply suggestions from code review

Co-authored-by: Silvan <silvan.reusser@gmail.com>
Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>

* fix broken part of contrib guide

Co-authored-by: mffap <mpa@zitadel.com>
Co-authored-by: Silvan <silvan.reusser@gmail.com>
Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>
2022-05-20 14:20:31 +00:00

31 lines
598 B
TOML

[build]
command = "npm run build"
[[plugins]]
package = "@algolia/netlify-plugin-crawler"
[plugins.inputs]
branches = ['v2-alpha', 'v2', 'v2-alpha-readme']
renderJavaScript = false
template = "hierarchical"
[[redirects]]
from = "/proxy/js/script.js"
to = "https://plausible.io/js/plausible.js"
status = 200
force = true
[[redirects]]
from = "/proxy/api/event"
to = "https://plausible.io/api/event"
status = 202
force = true
[[headers]]
for = "/*"
[headers.values]
Strict-Transport-Security = '''
max-age=31536000;
includeSubDomains;
preload'''