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 GitHub
parent 29a21c24a2
commit 87bc388c3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

2
.gitignore vendored
View File

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

View File

@ -37,3 +37,12 @@ clean:
docs-lint: docs-lint:
vale sync vale sync
vale docs 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