aboutsummaryrefslogtreecommitdiff
path: root/builddefs/docsgen/build-docs.sh
diff options
context:
space:
mode:
authorNick Brassel <[email protected]>2024-05-30 12:00:41 +1000
committerGitHub <[email protected]>2024-05-30 12:00:41 +1000
commit6ef97172889ccd5db376b2a9f8825489e24fdac4 (patch)
tree334e3bf41c8554d4bee73a140822f95f60eb64e9 /builddefs/docsgen/build-docs.sh
parent395766657ff98a4b1fd0dcba5917557f8acbb9e4 (diff)
downloadqmk_firmware-6ef97172889ccd5db376b2a9f8825489e24fdac4.tar.gz
qmk_firmware-6ef97172889ccd5db376b2a9f8825489e24fdac4.zip
Vitepress conversion of docs. (#23795)0.25.2
Diffstat (limited to 'builddefs/docsgen/build-docs.sh')
-rwxr-xr-xbuilddefs/docsgen/build-docs.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/builddefs/docsgen/build-docs.sh b/builddefs/docsgen/build-docs.sh
new file mode 100755
index 0000000000..2ea884752f
--- /dev/null
+++ b/builddefs/docsgen/build-docs.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+cd "$(dirname "$(realpath "${BASH_SOURCE[0]}")")"
+yarn install
+[[ -e docs ]] || ln -sf ../../docs docs
+DEBUG='vitepress:*,vite:*' yarn run docs:build