Skip to content

Conversation

@briantist
Copy link
Collaborator

@briantist briantist commented Jan 16, 2022

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.

@briantist briantist mentioned this pull request Jan 16, 2022
Copy link
Collaborator

@felixfontein felixfontein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, awesome :)

@felixfontein felixfontein merged commit 16c96f2 into main Jan 17, 2022
@felixfontein felixfontein deleted the content-docs/generate branch January 17, 2022 06:34
@felixfontein
Copy link
Collaborator

@briantist thanks again for doing this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants