From 66a5c9568be2fc1677dbdf7d1d76608430919df4 Mon Sep 17 00:00:00 2001 From: catloversg <152669316+catloversg@users.noreply.github.com> Date: Thu, 2 Oct 2025 02:37:04 +0700 Subject: [PATCH] TOOLS: Update doc.sh (#2331) * TOOLS: Update doc.sh * Update as suggested --- tools/doc.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tools/doc.sh b/tools/doc.sh index 429a950a0..fb216b263 100644 --- a/tools/doc.sh +++ b/tools/doc.sh @@ -1,9 +1,5 @@ #!/bin/bash -echo "Bundling ingame documentation..." -node tools/bundle-doc/index.js - -echo "" echo "Using API Extractor to generate mappings for Netscript API definitions..." npx api-extractor run @@ -15,7 +11,14 @@ echo "" echo "Running cleanup tasks..." rm input/bitburner.api.json && rm -r input +echo "" +echo "Bundling ingame documentation..." +node tools/bundle-doc/index.js + +echo "" +echo "Add generated docs to git..." # This git add is needed due to documenter using wrong line endings. Console spam discarded. git add markdown/ 2> /dev/null && git add tsdoc-metadata.json 2> /dev/null + echo "" echo "Documentation build completed."