Unknown argument error when executing CLI with pages glob
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- node.js, typescript
- Lĩnh vực
- cli, documentation
Hướng nghiên cứu
Bắt đầu với điểm vào CLI component-docs serve và kiểm tra các tham chiếu liên quan trong README và component-docs.config.js. Tái hiện vấn đề bằng npx component-docs serve "example/**/*.md"; hoàn tất có nghĩa là hành vi của glob đã được sửa hoặc README giải thích rõ cấu hình bắt buộc.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Environment
- MacOS 10.15.7
- zsh shell
- Node.js 12.18.4
- yarn 1.22.5
Description
When I worked on this PR, and upgraded component-docs to then-latest version 0.23.0, I notice that the npm script component-docs serve "docs/*.{md,mdx}" now return this error:
$ component-docs serve "docs/*.{md,mdx}"
...
Unknown argument: docs/*.{md,mdx}
Event after recent update to 0.24.0, the issue still persists, so I have to resort to component-docs.config.js to define the pages collection.
If pages glob argument is no longer supported in recent update, I think it should be reflected in README to avoid confusion.
Reproducible Demo
Just run below command and observe the error:
npx component-docs serve "example/**/*.md"
- Ngôn ngữ chính
- TypeScript
- Star
- 141
- Fork
- 12
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của callstack/component-docs
-
callstack/component-docs#49 · 1 bình luận · 2 reaction · 1 người được giao ·
-
Add support for iframe Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
callstack/component-docs#44 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
callstack/component-docs#34 ·
-
Support RNW Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
callstack/component-docs#30 · 1 reaction ·
-
greenkeeper
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
callstack/component-docs#18 ·
Tất cả issue của callstack/component-docs
Issue tương tự
-
blocklist removal
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
MetaMask/eth-phishing-detect#296544 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
pastelsky/bundlephobia#1122 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100