Product tags #1293
Replies: 2 comments 8 replies
-
I think override mechanisms aren't healthy. Duplicated information between docset and frontmatter should be ignored (count as one) and the rest should be merged. Searching and replacing IDs in docs is relatively easy. |
Beta Was this translation helpful? Give feedback.
-
The only reason I can think of for doing this is to ensure consistency around how the pages in a particular subsection are tagged. For example, the pages under "Supplied configurations" and "Function reference" in the Reference > Data analysis section are all related to machine learning features. Currently it looks like each page is tagged with only the "ml" product tag (e.g. https://github.com/elastic/docs-content/blob/main/reference/data-analysis/machine-learning/machine-learning-functions.md). However, if it was decided that they should also be tagged with "elasticsearch", "kibana", or "elastic stack" product tags, then it would be nice to do that at the Side-note that if the list of products is what was given in #1200 (comment) then I personally find it unclear when/if we'd want folks to use general "products" like |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Context
Currently, docs-builder allows product tags to be defined in the
docset.yml
config or in frontmatter.See the following examples:
We implemented this feature ASAP to restore the search filtering capabilities which is still WIP in #1200.
Currently, if you configure the
products
attribute in thedocset.yml
config, it means every page within that docset will have this product as tag.When you add it to a markdown page frontmatter within the same docset, the products of both
docset.yml
and frontmatter will be merged.Questions
docset.yml
and frontmatter be merged?Let me know your opinions. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions