Update Godot New Version Doc Update
parent
f830fdb176
commit
a5a0b9257b
|
|
@ -1,15 +1,15 @@
|
||||||
## **0. PREPARATION**
|
## **0. Preparation**
|
||||||
- The generation takes 10-30 mins.
|
- 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
|
- Download the newest godot docs by pulling the current version: C:/rokojori/godot-projects/godot
|
||||||
|
|
||||||
|
|
||||||
<br><br>
|
<br><br>
|
||||||
|
|
||||||
|
|
||||||
## **2. GENERETE DOC STRUCTURE (FOR NEW VERSION)**
|
## **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>
|
||||||
|
|
@ -18,21 +18,21 @@ source/rokojori.com/pages/en/labs/godot/docs/version/rokojori
|
||||||
|
|
||||||
<br><br>
|
<br><br>
|
||||||
|
|
||||||
## **3. CONFIGURE GENERATOR**
|
## **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>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
Ensure to updateGodot and createDocIndex
|
Ensure to updateGodot and createDocIndex
|
||||||
|
|
||||||
## **4. UPDATE DOC INDEX SELECTER **
|
## **4. Update Doc Index Selector**
|
||||||
Open GodotDocsIndexSelector.ts
|
Open GodotDocsIndexSelector.ts
|
||||||
Add the new GodotDocsIndex_X_X
|
Add the new GodotDocsIndex_X_X
|
||||||
|
|
||||||
## **5. ENSURE PAGES CREATER WITH MAX PAGES**
|
## **5. Ensure Max Pages Creation**
|
||||||
npm run pages-rokojori all
|
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>
|
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>
|
||||||
|
|
||||||
|
|
@ -41,7 +41,7 @@ npm run update-rokojori<br>
|
||||||
<br><br>
|
<br><br>
|
||||||
|
|
||||||
|
|
||||||
## **7. RUN UPDATER TO RUN GENERATOR**
|
## **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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue