13 Godot New Version Doc Update
Jori edited this page 2025-10-23 17:14:59 +00:00

0. Preparation

  • The generation takes 10-30 mins.

1. Get Godot Docs From Source

  • Download the newest godot docs by pulling the current version: C:/rokojori/godot-projects/godot

2. Generate Doc Page Structure

  • Create the following directories:
    source/rokojori.com/pages/en/labs/godot/docs/version/godot
    source/rokojori.com/pages/en/labs/godot/docs/version/rokojori

3. Configure Generator

  • Open GodotDocsGenerator.ts
    Set GodotDocsGenerator.version = "X.X"
    Ensure to updateGodot and createDocIndex

4. Ensure Max Pages Creation

  • npm run pages-rokojori all

5. Run Updater for the Generator

  • Ensure the updater has Godot Doc creation enabled:
    source/_rokojori.com/_dev-tools/updater/main.ts
    npm run update-rokojori

6. Update Index

change pages/labs/godot/docs/X.X/index to create the index


7. Update Doc Index Selector

  • Open GodotDocsIndexSelector.ts
    Add the new GodotDocsIndex_X_X