docusaurus icon indicating copy to clipboard operation
docusaurus copied to clipboard

Static assets doc on 2 pages

Open slorber opened this issue 6 years ago • 8 comments

📚 Documentation

The static assets doc from there: https://v2.docusaurus.io/docs/markdown-features#assets

Should probably be merged into: https://v2.docusaurus.io/docs/static-assets/#jsx-example

(this is not a doc-only feature btw)

Anyone interested to do this merge and improve our doc?

slorber avatar Aug 03 '20 14:08 slorber

Yes, I'll work on this :)

teikjun avatar Aug 03 '20 15:08 teikjun

MDX feature page is getting quite big. We should split it and create a new category. We can move it out of Docs catogory also since now Pages also support MDX.

anshulrgoyal avatar Aug 03 '20 19:08 anshulrgoyal

Creating a new MDX Features category should be nice for users searching and reading docs.

anshulrgoyal avatar Aug 03 '20 19:08 anshulrgoyal

Yes I agree, but we shouldn't use a page for that because the mdx features are version-dependant.

A new sidebar category would be nice. We need a clear distinction of what md features are general, and which ones are doc-related (docs have additional features around linking using .md file paths, relative linking advised so that linking still work once the docs are versioned etc...)

In general, I think we should have way more categories. For example the plugins/themes/presets should imho be first class categories

slorber avatar Aug 04 '20 09:08 slorber

Yeah, making more categories help in organizing docs.

anshulrgoyal avatar Aug 04 '20 09:08 anshulrgoyal

Section assets was moved to https://docusaurus.io/docs/markdown-features/assets in https://github.com/facebook/docusaurus/pull/3975. Maybe this issue not actual anymore and could be closed.

BogdanDor avatar Oct 31 '21 08:10 BogdanDor

We still have https://docusaurus.io/docs/static-assets and https://docusaurus.io/docs/markdown-features/assets. I don't think it's very problematic considering the logic behind them, but the issue is still valid.

Josh-Cena avatar Oct 31 '21 08:10 Josh-Cena

Moving everything to markdown-features/assets probably doesn't make sense, considering assets can also be handled in React/pages.

We should probably move all markdown-related things out of https://docusaurus.io/docs/static-assets, and just link the 2 pages together: one is for general knowledge about assets, and the other for md specifics

slorber avatar Nov 03 '21 15:11 slorber