Categorizing guides, plugins, loaders, etc.

Đang mở
#4,430 1 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
20/100
Loại issue
Tài liệu
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Lĩnh vực
documentation

Hướng nghiên cứu

Bắt đầu với thanh bên của tài liệu, cách nhóm hiện có của trang API và các trang chỉ mục về loaders, plugins và guides được đề cập trong issue. Xem xét tùy chọn frontmatter group hiện có và đề xuất các danh mục cùng việc gán trang trước khi thực hiện thay đổi. Công việc được xem là hoàn tất khi các nhóm đã được thống nhất và thanh bên hiển thị các trang này trong một cấu trúc bớt quá tải hơn mà không thay đổi permalinks.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
MDX
Star
2.3k
Fork
3.4k
Merge trung bình
22 giờ 59 phút
Pull request đã merge (30 ngày)
22

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của webpack/webpack.js.org

Tất cả issue của webpack/webpack.js.org

Issue tương tự

Thêm issue về Documentation

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.