Update Godot New Version Doc Update
parent
a5a0b9257b
commit
4918879849
|
|
@ -1,47 +1,41 @@
|
|||
## **0. Preparation**
|
||||
<br>## **0. Preparation**
|
||||
- The generation takes 10-30 mins.
|
||||
|
||||
|
||||
## **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
|
||||
|
||||
|
||||
<br><br>
|
||||
|
||||
|
||||
## **2. Generate Doc Page Structure**
|
||||
<br>## **2. Generate Doc Page Structure**
|
||||
|
||||
- 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**
|
||||
<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 Selector**
|
||||
<br>## **4. Update Doc Index Selector**
|
||||
Open GodotDocsIndexSelector.ts
|
||||
Add the new GodotDocsIndex_X_X
|
||||
|
||||
## **5. Ensure Max Pages Creation**
|
||||
|
||||
<br>## **5. Ensure Max Pages Creation**
|
||||
npm run pages-rokojori all
|
||||
|
||||
## **6. Run Updater for the Generator**
|
||||
|
||||
|
||||
<br>## **6. Run Updater for the 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. Update Index**
|
||||
<br>## **7. Update Index**
|
||||
|
||||
change pages/labs/godot/docs/X.X/index to create the index
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue