Giter Site home page Giter Site logo

Comments (4)

slorber avatar slorber commented on April 29, 2024 1

Thanks

To me this workaround is good enough so I'm going to close for now. We'll reopen if someone comes up with a good reason for not using that workaround.

from docusaurus.

Josh-Cena avatar Josh-Cena commented on April 29, 2024

The "keywords" are just SEO meta like "image" and "description" so they are very trivial to add (every single page supports these features). "Tags" are much more complex to build because they require treating these generated indices as actual doc pages. I can see the use case for tags, but the two features you mentioned are unrelated.

from docusaurus.

slorber avatar slorber commented on April 29, 2024

Yes tags and keywords are totally unrelated. And adding tags to category generated index would not be so easy, for little ROI IMHO.


Considering you can link a category to an actual doc, and render a similar UI through the DocCardList component:
https://docusaurus.io/docs/sidebar/items#embedding-generated-index-in-doc-page

Wouldn't this be a good enough workaround to just link the category to a doc, and put tags on that doc?

This would lead to a similar result IMHO.

from docusaurus.

Dr-Electron avatar Dr-Electron commented on April 29, 2024

I know that the changes are not trivial. I was just asking as a past discussion on the keyword lead to keywords basically being useless and so we replaced them everywhere to tags as that was the plan from the beginning anyway. We just used keyword in the beginning as we thought we could get both: indexing of pages and SEO. But as this was not the case we switched now.

But @slorber suggestion should work completely fine. I didn't think about it. Although for completeness you might want to think about supporting tags. For my use case this issue can be closed tho if you want. I will leave the decision up to you. Thanks for your awesome work ❤️

from docusaurus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.