Some more fixes for the docs :ref: disambiguation
The big one is that we needed to set plugin_type when we processed the by_support template. Also added to list_of_CATEGORY_plugins page (which might not be used) and corrected a place where I did module_name instead of name_modulepull/4420/head
parent
6b970348b1
commit
8cdd75a09f
|
@ -560,6 +560,7 @@ These modules are currently shipped with Ansible, but will most likely be shippe
|
||||||
'modules': data['modules'],
|
'modules': data['modules'],
|
||||||
'slug': data['slug'],
|
'slug': data['slug'],
|
||||||
'module_info': plugin_info,
|
'module_info': plugin_info,
|
||||||
|
'plugin_type': plugin_type
|
||||||
}
|
}
|
||||||
text = templates['support_list'].render(template_data)
|
text = templates['support_list'].render(template_data)
|
||||||
write_data(text, output_dir, data['output'])
|
write_data(text, output_dir, data['output'])
|
||||||
|
|
|
@ -94,12 +94,12 @@ specify that all of the time. We'll use ``-m`` in later examples to
|
||||||
run some other :doc:`modules`.
|
run some other :doc:`modules`.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
The :ref:`command module <module_command>` does not support extended shell syntax like piping and
|
The :ref:`command module <command_module>` does not support extended shell syntax like piping and
|
||||||
redirects (although shell variables will always work). If your command requires shell-specific
|
redirects (although shell variables will always work). If your command requires shell-specific
|
||||||
syntax, use the `shell` module instead. Read more about the differences on the
|
syntax, use the `shell` module instead. Read more about the differences on the
|
||||||
:ref:`working_with_modules` page.
|
:ref:`working_with_modules` page.
|
||||||
|
|
||||||
Using the :ref:`shell module <module_shell>` looks like this::
|
Using the :ref:`shell module <shell_module>` looks like this::
|
||||||
|
|
||||||
$ ansible raleigh -m shell -a 'echo $TERM'
|
$ ansible raleigh -m shell -a 'echo $TERM'
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
.. toctree:: :maxdepth: 1
|
.. toctree:: :maxdepth: 1
|
||||||
|
|
||||||
{% for module in info['_modules'] | sort %}
|
{% for module in info['_modules'] | sort %}
|
||||||
:ref:`@{ module }@`{% if module_info[module]['deprecated'] %} **(D)**{% endif%} -- @{ module_info[module]['doc']['short_description'] }@
|
:ref:`@{ module }@_@{ plugin_type }@`{% if module_info[module]['deprecated'] %} **(D)**{% endif%} -- @{ module_info[module]['doc']['short_description'] }@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in New Issue