Categorizing guides, plugins, loaders, etc.

オープン
#4,430 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
ドキュメント
明瞭さ
説明が足りない
活発さ
停滞
領域
documentation

調査の方向性

ドキュメントのサイドバー、API ページに既にあるグループ分け、そして issue で言及されている loaders、plugins、guides のインデックスページから始めてください。利用可能な frontmatter の group オプションを確認し、変更を加える前にカテゴリとページの割り当てを提案してください。グループについて合意され、permalink を変更せずにサイドバーでこれらのページがより把握しやすい構成で表示されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
MDX
スター
2.3k
フォーク
3.4k
平均マージ
22時間 59分
マージ済み PR(30日)
22

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

webpack/webpack.js.org のほかの issue

webpack/webpack.js.org の issue をすべて見る

似ている issue

Documentation の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。