Add documentation based on docusarus for opendbm
This commit is contained in:
25
docs/netlify.toml
Normal file
25
docs/netlify.toml
Normal file
@@ -0,0 +1,25 @@
|
||||
[build]
|
||||
base = ""
|
||||
publish = "website/build"
|
||||
command = "yarn && cd website && yarn build"
|
||||
|
||||
[context.production.environment]
|
||||
NODE_VERSION = "16.15.0"
|
||||
NODE_OPTIONS = "--max_old_space_size=4096"
|
||||
|
||||
[context.deploy-preview.environment]
|
||||
NODE_VERSION = "16.15.0"
|
||||
NODE_OPTIONS = "--max_old_space_size=4096"
|
||||
PREVIEW_DEPLOY = "true"
|
||||
|
||||
[[plugins]]
|
||||
package = "netlify-plugin-cache"
|
||||
[plugins.inputs]
|
||||
paths = [
|
||||
"website/node_modules/.cache",
|
||||
]
|
||||
|
||||
[[headers]]
|
||||
for = "/movies.json"
|
||||
[headers.values]
|
||||
Access-Control-Allow-Origin = "*"
|
||||
Reference in New Issue
Block a user