diff --git a/.vscode/settings.json b/.vscode/settings.json index 6a7b9ba50..9f9cd461f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -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": { diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 000000000..6f892c7f2 --- /dev/null +++ b/netlify.toml @@ -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 +""" \ No newline at end of file