Add Godot New Version Doc Update

Jori 2025-10-23 17:05:26 +00:00
parent f064c79a0d
commit f830fdb176
1 changed files with 50 additions and 0 deletions

@ -0,0 +1,50 @@
## **0. PREPARATION**
- The generation takes 10-30 mins.
## **1. UPDATE GODOT DOCS**
- Download the newest godot docs by pulling the current version: C:/rokojori/godot-projects/godot
<br><br>
## **2. GENERETE DOC STRUCTURE (FOR NEW VERSION)**
- Create the following directories: <br>
source/rokojori.com/pages/en/labs/godot/docs/version/godot <br>
source/rokojori.com/pages/en/labs/godot/docs/version/rokojori
<br><br>
## **3. CONFIGURE GENERATOR**
Open GodotDocsGenerator.ts <br>
Set new GodotDocsGenerator.version = "X.X"<br>
<br>
Ensure to updateGodot and createDocIndex
## **4. UPDATE DOC INDEX SELECTER **
Open GodotDocsIndexSelector.ts
Add the new GodotDocsIndex_X_X
## **5. ENSURE PAGES CREATER WITH MAX PAGES**
npm run pages-rokojori all
## **6. RUN UPDATER TO RUN GENERATOR**
Ensure the updater has Godot Doc creation enabled: <br>
source/_rokojori.com/_dev-tools/updater/main.ts <br>
npm run update-rokojori<br>
<br><br>
## **7. RUN UPDATER TO RUN GENERATOR**
change pages/labs/godot/docs/X.X/index to create the index