telerik / docs-seed

Telerik Documentation Infrastructure
https://docs.telerik.com
Apache License 2.0
7 stars 21 forks source link

Create per-control article that links all KB articles related to the control #243

Open pepinho24 opened 2 years ago

pepinho24 commented 2 years ago

Is your feature request related to a problem? Please describe.

Currently, the only way to search for a KB is either go through the paged list in the KB home page (e.g. https://docs.telerik.com/devtools/aspnet-ajax/knowledge-base/). There is no way to see all KBs related to a specific control unless you use the control as a keyword in the search

Describe the solution you'd like

Ideally, each control folder would have an article where all related KB articles will be listed.

Describe alternatives you've considered

Here are some previously discussed ideas about the best way to automatically link the KB articles to the respective components:

Key benefits

Some questions to think of

This feature was separately requested by the Ajax, Blazor and some of the Desktop teams so it should benefit most if not all docs-seed based suites.

Please follow-up with some additional requirements/ideas/concerns with creating such articles for each controls.

cc: @marin-bratanov @svdimitr @Jekata @DinkoK

marin-bratanov commented 2 years ago

This is something we've discussed a few times, and such things have been done manually over the years, always with the effect that these lists easily get stale. Thus, an automatic feature would be nice.

I think it should be hidden behind some class in the docs-seed backend so you can plug it into any page you desire - just add something like {%relatedKb component=grid %} to your .md file and docs-seed will extract the relevant kbs with the corresponding related_component from the list and render their links (with titles, and maybe the seo title in addition, if present and different than the html title).

This will let each team decide where and how and when to use (or not use) this feature, they can enable it on demand, and plug it in any page they want to (say, even the overview of the component), and and an name their articles as they see fit.