Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Error in documentation of using grunt in additional plugins #1054

Open
PhMemmel opened this issue Jun 18, 2024 · 0 comments
Open

[docs] Error in documentation of using grunt in additional plugins #1054

PhMemmel opened this issue Jun 18, 2024 · 0 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation help wanted Extra attention is needed needs-triage

Comments

@PhMemmel
Copy link
Contributor

PhMemmel commented Jun 18, 2024

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 😀

@PhMemmel PhMemmel added bug Something isn't working documentation Improvements or additions to documentation help wanted Extra attention is needed labels Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation help wanted Extra attention is needed needs-triage
Projects
None yet
Development

No branches or pull requests

1 participant