This is a tool which can parse the documentation for Jomini engine games. These are Victoria 3, Crusader Kings 3 and Europa Universalis V.
First download and install the Go SDK:
Next, open the project folder in a terminal (e.g. cmd) and run the following command:
go build
That is it. There should be an executable in the project folder now.
Generate the documentation files for the game you want. They can be generated with these two in-game console commands:
script_docsdump_data_types
The generated files can be found in <Documents>/Paradox Interactive/<Game>/. These are the relevant files:
logs/event_scopes.loglogs/data_types/data_types_common.loglogs/data_types/data_types_gui.loglogs/data_types/data_types_internalclausewitzgui.loglogs/data_types/data_types_script.loglogs/data_types/data_types_uncategorized.logdocs/custom_localization.logdocs/effects.logdocs/event_targets.logdocs/modifiers.logdocs/on_actions.logdocs/triggers.log
Put the generated documentation into the docs/new folder.
The docs/old is only needed when you want to generate a digest and should contain the old versions documentation to generate a diff of both versions.
Run the application in the command line with one of the following commands:
digestto generate a modding digestcwtto generate CWT configuration filesnppto generate Notepad++ language filesjsonto generate machine-readable JSON files
Example: .\pdx-documentation-manager.exe json
The results can be found in the out folder.