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

docs.ansible.com: one-click module-category link on the module pages #147

Open
gitqlt opened this issue Oct 21, 2018 · 7 comments
Open

docs.ansible.com: one-click module-category link on the module pages #147

gitqlt opened this issue Oct 21, 2018 · 7 comments
Projects

Comments

@gitqlt
Copy link

gitqlt commented Oct 21, 2018

Proposal:

Author: gitqlt <@gitqlt> IRC: n/a
Date: 2018-10-21

  • Status: New
  • Proposal type: docs.ansible.com
  • Targeted release: 2.7
  • Associated PR:
  • Estimated time to implement: X

Motivation

Easier navigation with one-click module-category link on the module pages.

Problems

The positioning header on the top of the module pages shows only two (clickable) levels. Eg:

  • Docs
  • script - Runs a local script on a remote node after transferring it

However, the module category link (here: Commands modules) is missing. To see all the similar modules together makes it easier to learn/differentiate the modules' functionality, so the module category should be accessible with one-click from the module description page.

Solution proposal

Include the module index, module category links as well. Eg:

  • Docs ( or better: REFERENCE & APPENDICES)
  • Module Index
  • Commands modules
  • script - Runs a local script on a remote node after transferring it

Dependencies (optional)

Testing (optional)

Documentation (optional)

Anything else?

The problem is not just with the modules. For example, the positioning header of page https://docs.ansible.com/ansible/2.7/user_guide/playbooks_reuse_includes.html
currently shows

  • Docs
  • Including and Importing

but should be constructed from the links:

  • Docs (or better: USING ANSIBLE)
  • User Guide
  • Working With Playbooks
  • Creating Reusable Playbooks
  • Including and Importing
@webknjaz
Copy link
Member

cc @acozine @gundalow @dagwieers

@acozine
Copy link

acozine commented Nov 1, 2018

@gitqlt thanks for writing up this proposal. Currently each page has two breadcrumb links: one to itself (on the page you reference, that's the "Including and Importing" link) and the other ("Docs") to the main index page for the Ansible Core documentation. I've added this to the agenda for the November 6 Documentation Working Group meeting.

@decentral1se
Copy link

👍

@kolibri
Copy link

kolibri commented Nov 8, 2018

The module pages also have another problem: They don't collapse the navigation on the left side. So, even if you are on a modules page, you have to collapse the menu to get to the categories.

For me, the modules reference is the main reason why I visit the docs. I just want to check quickly modules/argument names.
The entire modules section could be part of the left menu accessible by one click.

@ahuffman
Copy link

👍

@gitqlt
Copy link
Author

gitqlt commented Jan 16, 2021

After starting with the collections, breadcrumb links are still missing on the documentation pages of the modules. Most collections, including ansible.builtin have really weak references: all you can do is click the Docs link. But a sequence of links
Docs / All Modules,Plugins / Ansible.Builtin / template (e.g. on the page: template) would provide a better user experience. In particular, access to the page Ansible.Builtin would be useful.

With the General Community, you have a two-click hack. The modules here have a link to the Galaxy where you find the Ansible Docs site. Again, the breadcrumb links would be better.
Docs / All Modules,Plugins / Community.General / yaml

===
Anyway

@acozine
Copy link

acozine commented Mar 17, 2021

@gitqlt please review ansible-community/antsibull#240

@bcoca bcoca added this to Initial in Proposals Nov 30, 2021
@acozine acozine removed their assignment Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Proposals
Initial
Development

No branches or pull requests

6 participants