website-v2 icon indicating copy to clipboard operation
website-v2 copied to clipboard

Consider Moving Docs to Docusaurus

Open GrahamSH-LLK opened this issue 2 years ago • 6 comments

Docusaurus is a industry-standard open-source docs platform that makes really good docs. Turbowarp uses it. The fact that ScratchTools has better docs than us can be attributed to it too. It still works with the github format, just instead of rolling our own docs we can use a proper docs setup. It comes with added benefits like search.

GrahamSH-LLK avatar Dec 14 '22 02:12 GrahamSH-LLK

cc @Hans5958

Search would be nice. And I'm not convinced about having the user-facing FAQ and docs for developers all in one system...

WorldLanguages avatar Dec 14 '22 21:12 WorldLanguages

MkDocs, Docusaurus, etc are good, but then you would either (a) rework it to have the same style, which is a little bit difficult, or (b) drop everything and have different style, at least we got the goodies of a docs.

Speaking about SPA, having Docusaurus would mean a bigger overhead, since it uses React, compared to non-SPA solutions like Hugo, MkDocs, which is still traditional. At that point, a full-fledged rewrite using Vue may be considered.

Search can be implemented with a little bit of work (#168).

PS. This has been on my mind for a while, but I also wanted to have separate docs and blog repo, but who knows?

Hans5958 avatar Dec 18 '22 16:12 Hans5958

Docusaurus and MKDocs are both great. Docusaurus feels a little more user friendly and MKDocs feels more like internal technical docs.

GrahamSH-LLK avatar Dec 19 '22 15:12 GrahamSH-LLK

If we add search, we should restrict it to developer docs only, or somehow add a toggle for that. I hate it when I go to a Chrome extensions API doc, such as https://developer.chrome.com/docs/extensions/reference/storage/, then I try to use the search bar and it searches the whole Chrome docs, not just Chrome extensions.

WorldLanguages avatar Dec 19 '22 16:12 WorldLanguages

There's already an old repo for this but it hasn't been touched in a while: https://github.com/scratchaddons/docs.

Samq64 avatar Feb 09 '24 13:02 Samq64

Correct. This is the proof-of-concept made by @GrahamSH-LLK for this issue, though it seems it is pretty abandoned at this point.

Hans5958 avatar Feb 09 '24 13:02 Hans5958