From a0dfcab49f6537e2eae3ed903da86580da07408e Mon Sep 17 00:00:00 2001 From: Jonas L Date: Wed, 4 Jan 2023 08:00:27 +0100 Subject: [PATCH] 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. --- .gitignore | 2 ++ Makefile | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/.gitignore b/.gitignore index fbc984c9d..b768cd8d4 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,8 @@ *~ VERSION +/website/ + ## Github Python .gitignore ## See https://github.com/github/gitignore/blob/master/Python.gitignore ################################################################################ diff --git a/Makefile b/Makefile index 49cde37a7..2a6d6301a 100644 --- a/Makefile +++ b/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