aboutsummaryrefslogtreecommitdiff
path: root/bin/build.sh
diff options
context:
space:
mode:
authorJakob Stendahl <14180120+JakobST1n@users.noreply.github.com>2021-10-11 20:02:04 +0200
committerGitHub <noreply@github.com>2021-10-11 20:02:04 +0200
commitc67531161e56488166a33232f87566309ba8676e (patch)
tree846e59a020e80bea48557d5a06af5728e44961ff /bin/build.sh
parente6880cd8ccf82d993f222cb14b4860581654acb8 (diff)
parentc1b6eec770b885a9829e1f62bad5cc99389ca429 (diff)
downloadLuxcena-Neo-c67531161e56488166a33232f87566309ba8676e.tar.gz
Luxcena-Neo-c67531161e56488166a33232f87566309ba8676e.zip
Merge pull request #24 from JakobST1n/rebuild
v1.0.0
Diffstat (limited to 'bin/build.sh')
-rw-r--r--bin/build.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/build.sh b/bin/build.sh
new file mode 100644
index 0000000..6c10225
--- /dev/null
+++ b/bin/build.sh
@@ -0,0 +1,12 @@
+echo "> Install node modules needed for build"
+NODE_ENV="development"
+npm i
+
+echo "> Make sure all python dependencies for build is installed"
+pip3 install mkdocs mkdocs-gitbook pygments pymdown-extensions
+
+echo "> Compile es6 and sass to bundles"
+npx webpack -p
+
+echo "> Generate html docs using sphinx"
+mkdocs build