Skip to content
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

Move label generating code to one place #269

Merged
merged 4 commits into from
Apr 7, 2024

Conversation

felixfontein
Copy link
Collaborator

@felixfontein felixfontein commented Apr 6, 2024

Cherry-picked from #216 and then extended.

@felixfontein
Copy link
Collaborator Author

felixfontein commented Apr 6, 2024

TODO: look at similar labels:

src/antsibull_docs/data/docsite/simplified-rst/macros/attributes.rst.j2:  * - .. _ansible_collections.@{plugin_name}@_@{plugin_type}@__attribute-@{ attribute }@:
src/antsibull_docs/data/docsite/simplified-rst/plugin.rst.j2:see `Requirements <ansible_collections.@{plugin_name}@_@{plugin_type}@_requirements_>`_ for details.
src/antsibull_docs/data/docsite/simplified-rst/plugin.rst.j2:.. _ansible_collections.@{plugin_name}@_@{plugin_type}@_requirements:
src/antsibull_docs/data/docsite/ansible-docsite/macros/parameters.rst.j2:      .. _ansible_collections.@{plugin_name}@_@{plugin_type}@__parameter-@{ parameter_rst_prefix }@{% for part in full_key %}@{ part }@{% if not loop.last %}/{% endif %}{% endfor %}:
src/antsibull_docs/data/docsite/ansible-docsite/macros/attributes.rst.j2:      .. _ansible_collections.@{plugin_name}@_@{plugin_type}@__attribute-@{ attribute }@:
src/antsibull_docs/data/docsite/ansible-docsite/macros/returnvalues.rst.j2:      .. _ansible_collections.@{plugin_name}@_@{plugin_type}@__return-{% for part in full_key %}@{ part }@{% if not loop.last %}/{% endif %}{% endfor %}:
src/antsibull_docs/data/docsite/ansible-docsite/plugin.rst.j2:.. _ansible_collections.@{plugin_name}@_@{plugin_type}@_requirements:

@felixfontein felixfontein merged commit 90ea4e7 into ansible-community:main Apr 7, 2024
11 checks passed
@felixfontein felixfontein deleted the refs branch April 7, 2024 11:38
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.

1 participant