UPDATE GODOT DOCS
- Download the newest godot docs by pulling the current version: C:/rokojori/godot-projects/godot
GENERETE DOC STRUCTURE (FOR NEW VERSION)
- Create the following directories:
source/rokojori.com/pages/en/labs/godot/docs/version/godot
source/rokojori.com/pages/en/labs/godot/docs/version/rokojori
CREATE ROKOJORI DOCS
- Open the Rokojori Docs Project, pull and than create the docs via the editor
CONFIGURE GENERATOR
Set paths in GodotDocsGenerator.ts
Set which functions to execute in async _processInternal():Promise
-
copyGodotIcons: Godot Icons Update
-
copyRokojoriIcons: Rokojori Icons Update
-
_loadSourceFileMapping: Scans for godot classes the godot repo to create source file mapping
-
_processClassDocInfos: Creates from the Godot docs HTML files
-
_processGodotDocs: Creates from the Rokojori docs HTML files
RUN UPDATER TO RUN GENERATOR
Ensure the updater has Godot Doc creation enabled:
source/_rokojori.com/_dev-tools/updater/main.ts
npm run update-rokojori
RUN UPDATER TO RUN GENERATOR
change pages/labs/godot/docs/X.X/index to create the index