unifiedjs / unifiedjs.github.io

Site for unified
https://unifiedjs.com
41 stars 25 forks source link

Plugin/Documentation Search #12

Closed ChristianMurphy closed 4 years ago

ChristianMurphy commented 5 years ago

Subject of the feature

Add a view dedicated to searching unified ecosystem plugins. Potentially similar to:

Problem

The unified collective is de-centralized, across several organizations, and across hundreds of repositories. New users are having trouble finding the documentation, and are often resorting to opening issues or asking in spectrum chat to track down where the docs are.

For example: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, and many more

Expected behaviour

Many (if not most) use cases are documented somewhere in the collective. Users should be presented with an aggregated and search-able view of the existing documentation.

Possible technologies

Open Source

Proprietary Services

Alternatives

ChristianMurphy commented 5 years ago

/cc @wooorm @Murderlon @johno

wooorm commented 5 years ago

Yeah that would be great, super useful!

Murderlon commented 5 years ago

I have been thinking about this as well and agree that this would be super helpful.

tomByrer commented 5 years ago

I leans towards centralizing the docs. Likely easiest to keep the repos where they are, & aggregate them into 1 clump to possess as HTML output.

Would be helpful either way, feels like a maze trying to find how to do stuff. Even finding good tutorials via Google is hard.

wooorm commented 4 years ago

Most of this is done with the current release of the website, where it is possible to browse and search through packages/keywords/projects/topics.

The whole search functionality, including about 400 packages and 250 projects, fits in about 80kb minzipped. Everything is indexed client-side on /explore/, which is a bit of a performance hit but I don‘t think it’s very noticeable.

I’m kinda happy that we don’t use an external service, free or paid, to index everything, and to make the whole site completely static (/explore/ is usable without JS as well).

If anyone finds bugs with search, do let me know!