Categorizing guides, plugins, loaders, etc.

Abierto
#4,430 1 comentario 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
20/100
Tipo de issue
Documentación
Claridad
Necesita aclaración
Estado de actividad
Estancado

Línea de trabajo

Comienza con la barra lateral de la documentación, la agrupación existente de la página de API y las páginas de índice de loaders, plugins y guías mencionadas en el issue. Revisa la opción de frontmatter group disponible y propone categorías y asignaciones de páginas antes de realizar cambios. Se considera terminado cuando los grupos estén acordados y la barra lateral presente estas páginas en una estructura menos abrumadora sin cambiar los permalinks.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Request for Comments

There're so many guides, plugins and loaders listed in the sidebar now, and it's sort of overwhelming for users, especially new users of webpack.

One thing I've been thinking about is that we can categorize them like what we have done with the API page:

It's just a small change, but it would improve user experience a lot. Also there's already a group option we can use in the frontmatter, so that change won't be difficult.

Problem to solve

If we all agree the aforementioned change is necessary, now we have a problem to solve: How many groups should we have, and which page belongs to which group?

Loaders

It should be easy to handle loaders as there're already groups in its index page https://webpack.js.org/loaders/:

We can reuse them or even make changes when necessary.

Plugins

We might not be able to categorize plugins just like what we did to loaders, here's my proposal, we can use three groups to categorize them:

  1. webpack: plugins defined under webpack namespace
  2. webpack-contrib: plugins developed under webpack-contrib
  3. others: other webpack plugins
Guides

This would be the most difficult part, but I think it's possible.

As there're too many potential topics under guides, we might categorize them based on the users' level of webpack, for example:

  1. Quick start for webpack beginners
  2. Intermediate
  3. Advanced topics like https://webpack.js.org/guides/package-exports/ which common users won't care
  4. Any other suggestion?

Cons?

No permalink would be changed because of the aforementioned change, we just upgrade the sidebar, so I believe there's no cons. But do let me know if you think there're.

Lenguaje dominante
MDX
Estrellas
2.3k
Forks
3.4k
Merge medio
22 h 59 min
PR fusionados (30 d)
22

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de webpack/webpack.js.org

Todos los issues de webpack/webpack.js.org

Issues similares

Más issues de Documentation

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.