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:
parent
cfa90c89d1
commit
a0dfcab49f
2 changed files with 11 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -8,6 +8,8 @@
|
|||
*~
|
||||
VERSION
|
||||
|
||||
/website/
|
||||
|
||||
## Github Python .gitignore
|
||||
## See https://github.com/github/gitignore/blob/master/Python.gitignore
|
||||
################################################################################
|
||||
|
|
9
Makefile
9
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue