docs: add netlify configuration (#10073)

Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
This commit is contained in:
Jintao Zhang 2023-06-13 10:45:58 +08:00 committed by GitHub
parent 4eeee031c7
commit f1e3f2fa3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

10
netlify.toml Normal file
View file

@ -0,0 +1,10 @@
# netlify configuration
[build]
publish = "site"
command = "make build-docs"
# available here https://github.com/netlify/build-image/blob/focal/included_software.md#languages
environment = { PYTHON_VERSION = "3.8" }
[context.deploy-preview]
publish = "site/"
command = "make build-docs"