Docs categories are useless and should be removed completely #104

Closed
opened 2024-02-04 19:13:38 +02:00 by nevfy · 2 comments
Collaborator

"Categories" is a taxonomy title generated by Hugo which has several problems:

  • It is hard to translate the taxonomy title without hard-coding it directly into the page. #90
  • Currently, there are only two categories: How-to guides and Tutorials. Those word have almost the same meaning.
  • Articles tagged with How-To Guides:
    • already have a main header which always starts (and always will) with "How to",
    • are grouped in the separate folder literally called How-to guides, which can be observed:
      • from the navigation sidebar on the left,
      • the breadcrumb above the main header of the article.
  • Categories automatically generate separate pages that list tagged articles, that:
    • have a different layout from the rest of the Docs (e.g. have no navigation sidebar)
    • need to be restyled separately which is excess manual work
  • Categories can be a useful navigation tool when one article relates to several different topics. This is an unlikely scenario for a documentation with an aim for simplicity. Strict hierarchy where one article relates to one category only is a simpler (and easier to maintain) structure.

What about just removing them completely? At least until the docs grows so big they would actually help navigating it.

This requires:

  • removing categories from the metadata of tagged articles

  • disabling taxonomies in the site configuration

"Categories" is a [taxonomy](https://gohugo.io/content-management/taxonomies/) title generated by Hugo which has several problems: * It is hard to translate the taxonomy title without hard-coding it directly into the page. #90 * Currently, there are only two categories: `How-to guides` and `Tutorials`. Those word have almost the same meaning. * Articles tagged with `How-To Guides`: * already have a main header which always starts (and always will) with "How to", * are grouped in the separate folder literally called `How-to guides`, which can be observed: * from the navigation sidebar on the left, * the breadcrumb above the main header of the article. * Categories automatically generate separate pages that list tagged articles, that: * have a different layout from the rest of the Docs (e.g. have no navigation sidebar) * need to be restyled separately which is excess manual work * Categories can be a useful navigation tool when one article relates to several different topics. This is an unlikely scenario for a documentation with an aim for simplicity. Strict hierarchy where one article relates to one category only is a simpler (and easier to maintain) structure. ----- What about just removing them completely? At least until the docs grows so big they would actually help navigating it. **This requires:** - [ ] removing categories from the metadata of tagged articles - [ ] disabling taxonomies in the site configuration
Poster
Collaborator

@inex what do you think?

@inex what do you think?

How-to guides and Tutorials are different concepts, as defined in Diátaxis. Following it, we shall add Explanation and Reference categories. But these are more like categories that we need to refer to when we write documentation.

I think we may remove taxonomies for now.

`How-to guides` and `Tutorials` are different concepts, as defined in [Diátaxis](https://diataxis.fr). Following it, we shall add `Explanation` and `Reference` categories. But these are more like categories that we need to refer to when we write documentation. I think we may remove taxonomies for now.
inex closed this issue 2024-02-06 15:45:00 +02:00
Sign in to join this conversation.
No Label
Docs
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: SelfPrivacy/selfprivacy.org#104
There is no content yet.