From b6d73ea333a52c5e4cbb782f9822d9a3c3d120c9 Mon Sep 17 00:00:00 2001 From: Jori Date: Thu, 23 Oct 2025 17:08:19 +0000 Subject: [PATCH] Update Godot New Version Doc Update --- Godot-New-Version-Doc-Update.md | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/Godot-New-Version-Doc-Update.md b/Godot-New-Version-Doc-Update.md index 672e8c2..94607de 100644 --- a/Godot-New-Version-Doc-Update.md +++ b/Godot-New-Version-Doc-Update.md @@ -1,41 +1,49 @@ -
## **0. Preparation** +
+## **0. Preparation** - The generation takes 10-30 mins. -
## **1. Get Godot Docs From Source** +
+## **1. Get Godot Docs From Source** - Download the newest godot docs by pulling the current version: C:/rokojori/godot-projects/godot -
## **2. Generate Doc Page Structure** +
+## **2. Generate Doc Page Structure** - Create the following directories:
source/rokojori.com/pages/en/labs/godot/docs/version/godot
source/rokojori.com/pages/en/labs/godot/docs/version/rokojori -
## **3. Configure Generator** +
+## **3. Configure Generator** Open GodotDocsGenerator.ts
Set new GodotDocsGenerator.version = "X.X"
Ensure to updateGodot and createDocIndex -
## **4. Update Doc Index Selector** +
+## **4. Update Doc Index Selector** Open GodotDocsIndexSelector.ts Add the new GodotDocsIndex_X_X -
## **5. Ensure Max Pages Creation** +
+## **5. Ensure Max Pages Creation** npm run pages-rokojori all -
## **6. Run Updater for the Generator** +
+## **6. Run Updater for the Generator** Ensure the updater has Godot Doc creation enabled:
source/_rokojori.com/_dev-tools/updater/main.ts
npm run update-rokojori
-
## **7. Update Index** +
+## **7. Update Index** change pages/labs/godot/docs/X.X/index to create the index