-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Request] Auto-apply change language in tools/developer.html #3729
Comments
The destructiveness of both actions is slightly different but honestly I'm not sure any real thought has even gone into this. If you'd like to make a real PR I'd be happy to test this out and see how it feels and unless that reveals some downside I think this could be a good improvement. |
A "real PR"? Seriously? That would save you what, 2 seconds? There's not a chance I could do that in less than ten minutes and I expect it would probably end up being over half an hour. |
Agreed, time is indeed one of the most valuable commodities we have. The hope is always that when someone makes a small contribution that might lead to other small contributions - so any upfront learning gets spread out a bit. To work on developer.html you'd only need learn how to build the project, which is documented. I suggested a PR for several reasons:
We're all volunteers here, and core team's time these days is quite limited. I'm slowly grinding on the 11.8 and 12.0 releases. Also: any PR that I author requires review by a second member of the team... where-as it only takes one of us to review incoming PRs. |
I would like to make changes and make a PR. Should I need to update the duplicate line in #2277 as described? Please guide me, I'm trying to make my first contribution. |
Duplicate line? I'm not following, sorry. |
As per my understanding, @petelomax explained that there is a repeated line in tools/vendor/highlight-vue.min.js. (regarding #2277 issue ). If I'm wrong can you please explain to me, what's the task here? |
Now that the Vue plugin isn't part of the core repo anymore when I find time I'll be reverting the dev tool to plain old JS, no frameworks needed. So I think it's fine to leave as is for now. It won't break until v12, and I'll add removing it to the v12 release list. Done. |
So now I just need to make changes to tools/developer.html and make PR, right? |
Yep |
I have updated tools/developer.html as described on issue highlightjs#3729
Changing the theme updates automatically but changing the language does not.
Suggested change to tools/developer.html (it made my life much easier anyway):
Fairly obviously, that's just 3 lines changed and 2 new lines at the end.
Regarding #2277 there is also one in tools/vendor/highlight-vue.min.js, which is also twice as long as it
needs to be, in that it (harmlessly) contains two identical back-to-back copies of the exact same code.
The text was updated successfully, but these errors were encountered: