Update Godot New Version Doc Update

Jori 2025-10-23 17:06:48 +00:00
parent f830fdb176
commit a5a0b9257b
1 changed files with 8 additions and 8 deletions

@ -1,15 +1,15 @@
## **0. PREPARATION**
## **0. Preparation**
- The generation takes 10-30 mins.
## **1. UPDATE GODOT DOCS**
## **1. Get Godot Docs From Source**
- Download the newest godot docs by pulling the current version: C:/rokojori/godot-projects/godot
<br><br>
## **2. GENERETE DOC STRUCTURE (FOR NEW VERSION)**
## **2. Generate Doc Page Structure**
- Create the following directories: <br>
source/rokojori.com/pages/en/labs/godot/docs/version/godot <br>
@ -18,21 +18,21 @@ source/rokojori.com/pages/en/labs/godot/docs/version/rokojori
<br><br>
## **3. CONFIGURE GENERATOR**
## **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 **
## **4. Update Doc Index Selector**
Open GodotDocsIndexSelector.ts
Add the new GodotDocsIndex_X_X
## **5. ENSURE PAGES CREATER WITH MAX PAGES**
## **5. Ensure Max Pages Creation**
npm run pages-rokojori all
## **6. RUN UPDATER TO RUN GENERATOR**
## **6. Run Updater for the Generator**
Ensure the updater has Godot Doc creation enabled: <br>
source/_rokojori.com/_dev-tools/updater/main.ts <br>
@ -41,7 +41,7 @@ npm run update-rokojori<br>
<br><br>
## **7. RUN UPDATER TO RUN GENERATOR**
## **7. Update Index**
change pages/labs/godot/docs/X.X/index to create the index