Skip to content

[v2] tags to doc same as tags to blog #3434

Closed

Description

@isaac-philip

🚀 Feature

Request for copying feature of /tags from /blog/tags towards /doc/tags


Basically require a way to categorize the docs in groups and refer them in sidebar and also on the uri path of /doc/tags similar as how we have for /blog/tags


thanks to @slorber for guidance to create this request

Activity

  1. added
    feature
    status: needs triage
    on Sep 11, 2020
  2. added
    difficulty: starter
    good first issue
    and removed
    status: needs triage
    on Sep 11, 2020
  3. isaac-philip commented on Sep 12, 2020

    @isaac-philip
    ContributorAuthor

    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!

  4. amimas commented on Sep 17, 2020

    @amimas

    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.

  5. Mac-Kett commented on Sep 19, 2020

    @Mac-Kett

    I want to volunteer if you do this

  6. fanny commented on Sep 22, 2020

    @fanny
    Contributor

    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 is here. You'll probably need an equivalent in docusaurus-content-docs

  7. slorber commented on Sep 23, 2020

    @slorber
    Collaborator
  8. slorber commented on Sep 29, 2020

    @slorber
    Collaborator

    Hi,

    @isaac-philip are you working on the tags feature? If not @Mac-Kett seems interested to work on it.

  9. isaac-philip commented on Sep 29, 2020

    @isaac-philip
    ContributorAuthor

    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!

  10. slorber commented on Sep 29, 2020

    @slorber
    Collaborator

    Thanks,

    @Mac-Kett still interested to work on this?

  11. 9 remaining items

  12. isaac-philip commented on Oct 24, 2020

    @isaac-philip
    ContributorAuthor
    lerna ERR! yarn run build exited 1 in '@docusaurus/theme-classic'
    lerna ERR! yarn run build stdout:
    $ tsc --noEmit && yarn babel && yarn prettier
    src/theme/DocTagsListPage/index.tsx(12,1): error TS6133: 'Props' is declared but its value is never read.
    src/theme/DocTagsListPage/index.tsx(20,33): error TS2709: Cannot use namespace 'Props' as a type.
    info Visit https://yarnpkg.com/en/docs/cli/
    

    As per the commit I have added the code to plugin and theme,
    errors mean can't go forward to run and verify.

    the plugin-content of the docs I copied similar from the one for the blog and would need some refactor too,
    specifically what is the alternative to blogPost as I have kept docTag

  13. slorber commented on Oct 26, 2020

    @slorber
    Collaborator

    @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)

  14. isaac-philip commented on Oct 27, 2020

    @isaac-philip
    ContributorAuthor

    @slorber done the needful.
    Thanks for the help again!

    Please guide for what is needed to be amended, plz commit too as required, thanks!

  15. sacha-l commented on May 17, 2021

    @sacha-l

    Hi @isaac-philip - any updates on this feature? :)

  16. isaac-philip commented on May 18, 2021

    @isaac-philip
    ContributorAuthor

    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.

  17. slorber commented on May 19, 2021

    @slorber
    Collaborator

    @isaac-philip do you mind if I assign this to @nam-hle ?

    Edit: let's keep it assigned to @isaac-philip for now

  18. isaac-philip commented on May 27, 2021

    @isaac-philip
    ContributorAuthor

    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!

  19. lex111 commented on Aug 24, 2021

    @lex111
    Contributor

    This feature was implemented in #3646.

  20. waldyrious commented on Apr 21, 2023

    @waldyrious
    Contributor

    This feature was implemented in #3646.

    For those who, like me, come across this thread while looking for info on this feature, the documentation is here: https://docusaurus.io/docs/create-doc#doc-tags

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

difficulty: starterfeaturegood first issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions