[docs] Error in documentation of using grunt in additional plugins
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
- Tài liệu
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- javascript, node.js, scss
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu với phần “Using grunt in additional plugins” tại URL tài liệu dành cho nhà phát triển Moodle được liên kết và tái tạo Gruntfile mẫu. Kiểm tra để bảo đảm thiết lập được ghi trong tài liệu vừa biên dịch SCSS của plugin vừa giữ lại các tác vụ Moodle như grunt amd; được xem là hoàn tất khi các hướng dẫn hoạt động mà không có thư mục cơ sở không chính xác.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What is the URL of the page?
https://moodledev.io/general/development/tools/nodejs#using-grunt-in-additional-plugins
What is the issue with this page?
I tried to follow the docs to make grunt compile scss into CSS in a plugin according to the mentioned page.
Unfortunately, the grunt default task is being overwritten by the example Gruntfile in the docs, so you are not able to for example run grunt amd anymore. When I am trying to not overwrite the default and try to use the mergeConfig package, grunt has issues to run the Moodle basic tasks because of wrong base directories I believe. So I am stuck here.
To put it short: What is described in the docs section does not work and I could not figure out, how to fix. That's why I am opening an issue and not providing a pull request. Maybe anyone with more knowledge/experience with the moodle grunt could fix this doc issue or identify issues the grunt code currently has and provide a fix. Thanks in advance!
Are you able to provide a patch for this?
Unfortunately no due to lack of experience, knowledge and - as always - resources to dig deeper 😀
- Ngôn ngữ chính
- TypeScript
- Star
- 74
- Fork
- 652
- Merge trung bình
- 2 ngày 50 phút
- Pull request đã merge (30 ngày)
- 12
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 moodle/devdocs
-
bug documentation help wanted needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
documentation enhancement help wanted needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
bug documentation help wanted needs-triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
-
bug documentation good first issue needs-triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
-
bug documentation help wanted needs-triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
Tất cả issue của moodle/devdocs
Issue tương tự
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Crush Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
catppuccin/catppuccin#3125 ·
-
Add a SECURITY.md Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
ElementsProject/cln-application#167 · 1 bình luận · 1 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Quantco/pnpm-licenses#17 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100