docs: add netlify configuration (#10073)
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
This commit is contained in:
parent
4eeee031c7
commit
f1e3f2fa3c
2 changed files with 15 additions and 0 deletions
10
netlify.toml
Normal file
10
netlify.toml
Normal 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue