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

Align software docs tab order and naming #412

Open
MichaIng opened this issue Apr 2, 2021 · 2 comments
Open

Align software docs tab order and naming #412

MichaIng opened this issue Apr 2, 2021 · 2 comments
Assignees
Labels
discussion Topics and question where a choice needs to be done. enhancement Content or wording enhancements

Comments

@MichaIng
Copy link
Owner

MichaIng commented Apr 2, 2021

We use a similar set of documentation tabs for software titles already, but have no consequent ordering and naming for that yet, and also the way the content is structured is different.

Let's have that aligned:

  • The order should match the order in which the content usually becomes relevant: initial access/quick start and client configs first, server/services tweaks/config second, troubleshooting/logs/debugging third and updating info last, for example?
  • In some cases we use half sentences for the tab names, like "Update to latest version", in other cases single words, like "Logging" or "Directories". Let's align that as well. I personally like single word tabs, so that with an increasing number of tabs the block stays slim and does not become many lines on small screens, but on the other hand it should be clear for inexperienced users what to find behind that tab.
  • In some cases the tab contains only a single code block or file/directory path, in other cases we have some text before that. I personally think that an explaining sentence in nice to have, like "To update XY to the latest version, run the following command from console:". Also it gives the tabbing itself more meaning. If all info is just a single command or path, then a table or list would make much more sense than tabs, which imply additional required clicks to get the info.
@MichaIng MichaIng added enhancement Content or wording enhancements discussion Topics and question where a choice needs to be done. labels Apr 2, 2021
@CouldBeThis
Copy link
Contributor

I was also wondering about this and I think consistency would be great.

FWIW I would support minimizing the use of these tabs. They look really nice, but they are frustrating to use. The text that is in non-active tabs cannot be found via ctrl-F. Locating information, especially on a long page, is made difficult. And actually I gave up a bunch of times.

For example if you go to the site and search for systemctl, the first result is File Servers with 3 results. If you go to that page and ctrl-F for systemctl you will find nothing because all 3 results are in non-active tabs. And in the search results it tells you what section it's in (if you manage to figure out the trick to the mkdocs search) but you need to click through all the tabs to find where exactly.

I was looking for a solution to the search part of it earlier to no avail. I wonder what the UI idea is behind these; someone must have planned for this. is it user error?

@MichaIng
Copy link
Owner Author

MichaIng commented Apr 15, 2021

I agree the tabs bring their difficulty, but without them, the pages would grow enormously. We'd need to split per software title then, I guess.

Searching for systemctl is probably a bad example, as searching for any generic command without any context won't give you any reasonable result anyway, just a large list of unrelated ones, or what did you expect to find when searching for "systemctl" 😉? But indeed there are for sure important key words hidden inside the tabs as well. The most important key words should be part of the tab name.

A good structure with good tab names is at least a start to make finding relevant content easier. Also we thought about giving the active tab + content some slightly different background to make identifying the content easier, as currently it is not nicely visible where the tab content ends and even the tab buttons themselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Topics and question where a choice needs to be done. enhancement Content or wording enhancements
Projects
None yet
Development

No branches or pull requests

4 participants