-
Notifications
You must be signed in to change notification settings - Fork 9
Documentation: mention the plugin type more prominently #57
Comments
As an example of how to vote on this, I'm voting: 1+ |
I originally brought up the "visual clutter" issue about 3, but I do want to be clear that I don't find it so egregious as to support removing an option that would be better for accessibility, so I'd rather have the slight clutter to better support screen reader users. Is it possible for us to set Also of note, I'm not very familiar at all with web accessibility solutions and their pros/cons/quirks. This might be a good topic for the diversity working group. |
@briantist I think for |
I am 1+ and 3+ since additional clutter in those use cases is minimal and the benefits outweigh the cons IMHO. I am not too sure about 2 since the type of linked think is repeated in the next line (assuming we go with option 1). So my vote would be: 1+ (having info in the title is awesome) |
I second that. Please also consider httpapi plugins there too if not already thought about it. |
I feel that the pros outweigh the cons overall. |
1+ |
Thanks for all your feedback! I removed the extra |
I created #61 to vote on this PR. |
Summary
A common issue with the documentation (docs.ansible.com/ansible/latest/) is that the plugin type is not mentioned very prominently in various situations (see for example ansible/ansible#75652). If you look at https://docs.ansible.com/ansible/latest/collections/ansible/builtin/ and search (with Ctrl+F) for
file
ordebug
, you will find two plugins each (each one module and a lookup resp. strategy plugin). Or if you use the site search (search foransible.builtin.file
), you need to look a bit more closely than necessary to figure out which of the two is the module and which is the lookup.I've started ansible-community/antsibull#364 to improve this situation, but right now basically all changes are somewhat controversial. In this issue I'd like to figure out which changes would have a large support and could be put into a less controversial PR, so it can be merged and some improvements can go live.
In the following I will go through the changes and give pros and cons for each of them. If someone mentions another good argument for or against one of these, I will edit this post and add them. If you want to give your support for a change, you can write
1+
(give support to change 1) or2-
(say you don't like change 2).Page title (both the top-level title visible on the page, and in the HTML
<title>
tag). This is also what's shown in the first line of the page search results.See alsos of type "module": mention module.
Plugin index (for a collection): mention the plugin type next to the FQCN
file
lookup;Personally I think that for 1, the advantages definitely outweight the disadvantages. For 2 and 3 it is definitely debatable though. I'd already be totally happy if a subset of this PR with 1 but not 2 and 3 gets wide support so it can be merged.
The text was updated successfully, but these errors were encountered: