-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Be able to override note on ansible-galaxy commands #15
Comments
I'm wondering a bit how we should allow this to be configured.
I'm currently tending to option 4. |
First, I love this idea, especially as I'm ramping up private collection use at a company and expect to make heavy use of docs generation. To me this sounds like a good fit for |
Also the file links.yml could fit for the URL link behind the name of the collection, I find that a bit weird to use it for the I think I'd prefer to use another file (but this is just an opinion :))
@felixfontein Do you have any documentation about |
antsibull.cfg can look like this: https://github.com/ansible-community/antsibull-core/blob/main/antsibull.cfg There are already some docs-specific configuration values in there ( |
I've started some config file experiments in #26. |
I'm currently building a private ansible collection. It contains roles and modules.
Because of this private aspect, it will (probably) never be uploaded to
ansible-galaxy
.Now, when I'm build my documentation, I'd like the links and command in the note to fit my context. For example, just by running the normal
antsibull
commands, I have the following output :But :
ansible-galaxy
server. So this commandansible-galaxy collection install itcorp_datalayer.deploy_app
will never work. So I'd like to be able to override the full command to reflect my git dependency setup.Just for the record, I'm currently using a
tox
environment to build my docs and, before any changes I have the following builds :So I think this could be great to be able to customize more the output of the documentations.
Workaround
As suggested by @felixfontein in the Ansible chat, I have updated the provided
build.sh
file to fit my needs. For now, I have the followingtox
setupAnd my
build-docs.sh
looks like this :With this setup, I have the following output :
With the link pointing to what I want and the command looks like a command runnable in my context.
The text was updated successfully, but these errors were encountered: