Export documentation for Higher-level documentation

We’ve been using the generated HTML documentation from easymorph as input for AI (claude/OpenAI) to generate higher level documentation for multiple scripts that intersect and are connected to each other (via database tables or files exported from 1 script that is input to another script) And it’s working aswesomly!
But. we’d wish to automate this even further.
We’d wish for a way to easy export

  1. scheduling from easymorph server to include this as input into out AI documentation to get this also documented
  2. all jobs documentations as html to the same location as input for the AI
  3. last edit timestamp of the above

Mabye there is a way to create & schedule this in easymorph that I’m not aware of?

You can generate a list of Server tasks, including task schedules, with the "List tasks" command of the "EasyMorph Server Command" action.

Also, that list contains all the paths to .morph projects in the tasks, so you can generate all the documentation for them by iterating across the list and using the "Generate documentation" action.

Finally, in the same iteration, you can use the "List of files" action to get the last changed timestamp for each of the .morph files.

1 Like