[v2] tags to doc same as tags to blog #3434
Comments
|
I can volunteer but new to the project code. can @slorber or anyone give this issue a starting point where I need to look to understand existing tags functionality. it can help anyone willing to contribute to this issue. thanks! |
|
I would really love to see tagging capability in the docs. This has been one of the top requested feature from my docs site's tech writers and ux team. I imagine we could use the front-matter data at the top to contain an array of values that will be considered as "tags" for the corresponding page. Having the this tagging feature will open other opportunities in addition to what is mentioned above. For example: allow us to be able to filter search results based on tags. Algolia search has the capability to do that. What's missing in Docusaurus currently is a way to be able to tag individual pages. |
|
I want to volunteer if you do this |
|
If anyone have interest in contribute, I can help. You'll need to create a new component in the theme for docs tags: https://github.com/facebook/docusaurus/blob/master/packages/docusaurus-theme-classic/src/theme/BlogTagsListPage/index.tsx The logic of the route |
|
Hi
Will be back from holidays on Monday 28.
We have 2 volunteers so I suggest the first one work on it
… If anyone have interest in contribute I can help.
You'll need to create a new component in the theme for docs tags:
https://github.com/facebook/docusaurus/blob/master/packages/docusaurus-theme-classic/src/theme/BlogTagsListPage/index.tsx
The logic of the route tags here
<https://github.com/facebook/docusaurus/blob/master/packages/docusaurus-plugin-content-blog/src/index.ts#L151>.
You'll probably need an equivalent in docusaurus-content-docs
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3434 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFW6PSZHDDMJYTKJHRQWQLSHDXMVANCNFSM4RGP2K7Q>
.
|
|
Hi, @isaac-philip are you working on the tags feature? If not @Mac-Kett seems interested to work on it. |
|
sorry didn't see the latest messages till being mentioned now. please proceed as I see people have messaged to guide and take up sounds great, thanks! |
|
Thanks, @Mac-Kett still interested to work on this? |
|
It seems like both volunteers won’t answer, can i take this one? It looks so challenging for me but I think I’ll do it with your help. |
|
Yes @JuanVqz thanks ;) |
|
@JuanVqz this is how the plugin creates the tags page: https://github.com/facebook/docusaurus/blob/master/packages/docusaurus-plugin-content-blog/src/index.ts#L324 As the feature is shared between docs and blog, try to factorize a bit the UI code (as long as it's possible) |
|
maybe I need more experience to do this, I'll let another person do this task |
|
Thanks for trying @JuanVqz :) Do we have another candidate? |
|
I will take a try on this today. |
|
@isaac-philip are you still interested to work on this? because we might want to implement this soon and can assign this to someone else otherwise |
- Addition of plugin-content-docs - Addition of DocTagsListPage in `docusaurus-theme-classic` ! Error exists for this commit towards the theme aspect and help required. Commit towards facebook#3434
As per the commit I have added the code to plugin and theme, the plugin-content of the docs I copied similar from the one for the blog and would need some refactor too, |
- Addition of plugin-content-docs - Addition of DocTagsListPage in `docusaurus-theme-classic` ! Error exists for this commit towards the theme aspect and help required. Commit towards facebook#3434
|
@isaac-philip I can't help much if there is no PR. If you open a PR (even draft), I can see the real code, the actual netlify error, I can comment on the PR, and might as well commit to your branch to fix issues (if you grant me permission, which is the case by default) |
|
@slorber done the needful. Please guide for what is needed to be amended, plz commit too as required, thanks! |
|
Hi @isaac-philip - any updates on this feature? :) |
|
Hello @sacha-l , apologies have been away for quite sometime. Give me till tomorrow to get back to this with some commits else we can pass it to anyone interested. |
|
@isaac-philip do you mind if I assign this to @nam-hle ? Edit: let's keep it assigned to @isaac-philip for now |
|
just updating that have pushed a commit, still WIP but should be ready for a review soon! took some time to get my head around the architecture of docusaurus & functionality, so thanks for the patience! couldn't do without the earlier commits of slorber! |


Request for copying feature of
/tagsfrom/blog/tagstowards/doc/tagsBasically require a way to categorize the docs in groups and refer them in sidebar and also on the uri path of
/doc/tagssimilar as how we have for/blog/tagsthanks to @slorber for guidance to create this request
The text was updated successfully, but these errors were encountered: