ansible-community / github-docs-build

GitHub actions and workflows for building Ansible collection documentation.
GNU General Public License v3.0
10 stars 6 forks source link

Allow to pass --squash-hierarchy to 'antsibull-docs sphinx-init' #58

Closed felixfontein closed 1 year ago

felixfontein commented 1 year ago

That would allow to have the collections docs to be at https://ansible-collections.github.io/community.dns/branch/main/ instead of having them in a subdirectory https://ansible-collections.github.io/community.dns/branch/main/collections/community/dns/.

felixfontein commented 1 year ago

@briantist thanks for reviewing!

felixfontein commented 1 year ago

Unfortunately this introduced bugs into the shared workflows, see #59 for a fix.

felixfontein commented 1 year ago

60 had another one. But now it works, see https://ansible-collections.github.io/community.dns/branch/main/ for the result.

felixfontein commented 1 year ago

Ok, and after yet another fix the PR workflow also works, see https://github.com/ansible-collections/community.dns/actions/runs/3535870339 - https://github.com/ansible-collections/community.dns/pull/123#issuecomment-1325696356 - https://ansible-collections.github.io/community.dns/pr/123/