Update Godot New Version Doc Update

Jori 2025-10-23 17:08:19 +00:00
parent 4918879849
commit b6d73ea333
1 changed files with 16 additions and 8 deletions

@ -1,41 +1,49 @@
<br>## **0. Preparation** <br>
## **0. Preparation**
- The generation takes 10-30 mins. - The generation takes 10-30 mins.
<br>## **1. Get Godot Docs From Source** <br>
## **1. Get Godot Docs From Source**
- Download the newest godot docs by pulling the current version: C:/rokojori/godot-projects/godot - Download the newest godot docs by pulling the current version: C:/rokojori/godot-projects/godot
<br>## **2. Generate Doc Page Structure** <br>
## **2. Generate Doc Page Structure**
- Create the following directories: <br> - 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/godot <br>
source/rokojori.com/pages/en/labs/godot/docs/version/rokojori source/rokojori.com/pages/en/labs/godot/docs/version/rokojori
<br>## **3. Configure Generator** <br>
## **3. Configure Generator**
Open GodotDocsGenerator.ts <br> Open GodotDocsGenerator.ts <br>
Set new GodotDocsGenerator.version = "X.X"<br> Set new GodotDocsGenerator.version = "X.X"<br>
Ensure to updateGodot and createDocIndex Ensure to updateGodot and createDocIndex
<br>## **4. Update Doc Index Selector** <br>
## **4. Update Doc Index Selector**
Open GodotDocsIndexSelector.ts Open GodotDocsIndexSelector.ts
Add the new GodotDocsIndex_X_X Add the new GodotDocsIndex_X_X
<br>## **5. Ensure Max Pages Creation** <br>
## **5. Ensure Max Pages Creation**
npm run pages-rokojori all npm run pages-rokojori all
<br>## **6. Run Updater for the Generator** <br>
## **6. Run Updater for the Generator**
Ensure the updater has Godot Doc creation enabled: <br> Ensure the updater has Godot Doc creation enabled: <br>
source/_rokojori.com/_dev-tools/updater/main.ts <br> source/_rokojori.com/_dev-tools/updater/main.ts <br>
npm run update-rokojori<br> npm run update-rokojori<br>
<br>## **7. Update Index** <br>
## **7. Update Index**
change pages/labs/godot/docs/X.X/index to create the index change pages/labs/godot/docs/X.X/index to create the index