From 49188798490aa0c560db7f6da09163d53b87fd7c Mon Sep 17 00:00:00 2001 From: Jori Date: Thu, 23 Oct 2025 17:08:01 +0000 Subject: [PATCH] Update Godot New Version Doc Update --- Godot-New-Version-Doc-Update.md | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/Godot-New-Version-Doc-Update.md b/Godot-New-Version-Doc-Update.md index 495f3e7..672e8c2 100644 --- a/Godot-New-Version-Doc-Update.md +++ b/Godot-New-Version-Doc-Update.md @@ -1,47 +1,41 @@ -## **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