This is some messing around I did to try to generate markdown from the action and shared workflow YAML files.
I did in Ansible, as an "internal" collection with a role and playbook.
I figured, as a bonus, we could use this internal collection for some of the tests in terms of actually generating documentation (the role has an argspec 😎).
This also has a workflow that would run the Ansible, and synchronize the changes to those files to the repo's wiki.
The worklow is set to run on push (was going to add workflow_dispatch but for now leaving it out, because the commit info is not available in the event, would have to retrieve it separately).
~pull_request trigger is added just for this PR, so I can test it a little; that must be removed before merging.~
Testing stuff has been removed, this is ready to review/merge.
Generated pages can be seen in the wiki now, for example.
This is some messing around I did to try to generate markdown from the action and shared workflow YAML files.
I did in Ansible, as an "internal" collection with a role and playbook.
I figured, as a bonus, we could use this internal collection for some of the tests in terms of actually generating documentation (the role has an argspec 😎).
This also has a workflow that would run the Ansible, and synchronize the changes to those files to the repo's wiki.
The worklow is set to run on
push
(was going to addworkflow_dispatch
but for now leaving it out, because the commit info is not available in the event, would have to retrieve it separately).~
pull_request
trigger is added just for this PR, so I can test it a little; that must be removed before merging.~Testing stuff has been removed, this is ready to review/merge.
Generated pages can be seen in the wiki now, for example.