chore: add docs dev setup with the website (#2340)

This will clone the website repo, install the website dependencies and override the docs path to the current main repository docs path.
This commit is contained in:
Jonas L 2023-01-04 08:00:27 +01:00 committed by Kyle Robbertze
parent cfa90c89d1
commit a0dfcab49f
2 changed files with 11 additions and 0 deletions

2
.gitignore vendored
View File

@ -8,6 +8,8 @@
*~
VERSION
/website/
## Github Python .gitignore
## See https://github.com/github/gitignore/blob/master/Python.gitignore
################################################################################

View File

@ -37,3 +37,12 @@ clean:
docs-lint:
vale sync
vale docs
website:
git clone git@github.com:libretime/website.git
website/node_modules: website
yarn --cwd website install
docs-dev: website website/node_modules
DOCS_PATH="../docs" yarn --cwd website start