Theme not working with the latest documentationjs code
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
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- css, javascript
- Lĩnh vực
- documentation, frontend
Hướng nghiên cứu
Bắt đầu bằng cách đọc đường dẫn gọi được ghi lại trong docs/node_modules/documentation/lib/output/html.js và docs/node_modules/documentation/lib/commands/build.js, sau đó so sánh cách theme được cung cấp cho code documentationjs mới nhất. Hoàn thành khi theme build tài liệu mà không gặp lỗi “theme is not a function” đã được báo cáo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I get the following error when using this theme with the latest documentationjs code.
docs/node_modules/documentation/lib/commands/build.js:60
throw err;
^
TypeError: theme is not a function
at Object.makeHTML [as html] (docs/node_modules/documentation/lib/output/html.js:21:3)
at onDocumented (docs/node_modules/documentation/lib/commands/build.js:63:47)
at docs/node_modules/documentation/index.js:101:7
at docs/node_modules/documentation/lib/input/dependency.js:45:5
at ConcatStream.<anonymous> (docs/node_modules/documentation/node_modules/concat-stream/index.js:36:43)
at emitNone (events.js:72:20)
at ConcatStream.emit (events.js:166:7)
at finishMaybe (docs/node_modules/documentation/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js:475:14)
at endWritable (docs/node_modules/documentation/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js:485:3)
at ConcatStream.Writable.end (docs/node_modules/documentation/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js:455:41)
- Ngôn ngữ chính
- CSS
- Star
- 31
- Fork
- 1
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 documentationjs/documentation-theme-light
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 38/100
documentationjs/documentation-theme-light#6 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
documentationjs/documentation-theme-light#5 · 7 reaction ·
-
Please add a license fileĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 20/100
documentationjs/documentation-theme-light#4 · 1 reaction ·
-
Release?Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 15/100
documentationjs/documentation-theme-light#1 · 2 bình luận · 3 reaction ·
Tất cả issue của documentationjs/documentation-theme-light
Issue tương tự
-
tech-debt
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
「無名コンストラクタは入れ子になっていても使用できる」は誤りĐang mởバグ・誤り・不備
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
lean-ja/lean-by-example#2641 ·
-
agent-butler-finding chore
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
jordansmall/spindrift#5575 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
IntersectMBO/developer-experience#363 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
stellar/stellar-docs#2921 ·
Maintainer thường phản hồi trong vòng 1 ngày