Is it possible to add some hooks before and after the build function, as well as before and after converting PUML to PNG, to achieve some effects using additional script processing?
For example, my current project scans all generated markdown files after build is complete, and then
The content in the API description is output according to the Python script I wrote. If this is used to automatically generate and export some APIs and descriptive text.
In addition, before converting PUML, we can write a script to replace placeholders like '$ABC' to automatically generate some PUML content to prevent a certain degree of document corruption.
At present, my approach is to simply rewrite build.js to achieve my goal, but I think it can be more modular
Is it possible to add some hooks before and after the build function, as well as before and after converting PUML to PNG, to achieve some effects using additional script processing? For example, my current project scans all generated markdown files after build is complete, and then
The content in the API description is output according to the Python script I wrote. If this is used to automatically generate and export some APIs and descriptive text.
In addition, before converting PUML, we can write a script to replace placeholders like '$ABC' to automatically generate some PUML content to prevent a certain degree of document corruption.
At present, my approach is to simply rewrite build.js to achieve my goal, but I think it can be more modular