mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-05 21:45:25 +02:00
feat(docs): 👷 add netlify.toml for docs
Add netlify.toml file for automated deployed of documentation on netlify
This commit is contained in:
parent
5ee0a57163
commit
84043f8235
2 changed files with 11 additions and 1 deletions
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
|
@ -16,7 +16,7 @@
|
|||
"cSpell.words": ["compression", "hkotel", "performant", "postgres", "webp"],
|
||||
"search.mode": "reuseEditor",
|
||||
"python.linting.flake8Enabled": true,
|
||||
"conventionalCommits.scopes": ["frontend"],
|
||||
"conventionalCommits.scopes": ["frontend", "docs"],
|
||||
"editor.formatOnSave": true,
|
||||
"eslint.workingDirectories": ["./frontend"],
|
||||
"editor.codeActionsOnSave": {
|
||||
|
|
10
netlify.toml
Normal file
10
netlify.toml
Normal file
|
@ -0,0 +1,10 @@
|
|||
[build]
|
||||
publish = "docs/site/"
|
||||
command = """
|
||||
restore_home_cache ".cache" "pip cache" &&
|
||||
restore_cwd_cache '.venv' 'python virtualenv' &&
|
||||
pip3 install -q poetry &&
|
||||
poetry config settings.virtualenvs.in-project true &&
|
||||
poetry install &&
|
||||
poetry run mkdocs build
|
||||
"""
|
Loading…
Add table
Add a link
Reference in a new issue