-
Notifications
You must be signed in to change notification settings - Fork 150
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
cronjob: fix red new version box injection and script documentation #1173
Conversation
This PR modifies the way to inject the "Note: This document is for an older version of GRASS GIS ..." red boxes into the manual page. Now duplicate boxes should no longer show up. (affects G78 and G83 core manual and related addon manual pages)
Was this always the case to have the red box in the footer too? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please add a line or two describing what the commands are doing. Right now, the code is heavily write-only.
As I said: Best is to check how the pages look like not before Aug 17th, 2024, in order to have several daily cronjob cycles done. |
Oh, ok, I understood that the PR should be checked before that date... sorry for the noise then 🙏 |
No, it wasn't. In the overview pages the box was entirely missing. Although I was surprised by the red box in the footer, on second thought it might not be so bad, especially for long pages. What do you think? |
I believe the one in the header is enough, no? That's the first thing one sees when opening a new page, and should be enough warning. |
I saw some pages that had the header, but I stumbled upon one that only has a footer: https://grass.osgeo.org/grass83/manuals/variables.html A page with header and footer: https://grass.osgeo.org/grass83/manuals/d.graph.html |
Please re-check: I have uploaded a fix to the server. If ok, I'll submit it here and update this PR accordingly. |
looking good now! |
Now also fixed (fix uploaded to the server for testing): |
"Merging is blocked" - I'd like to move on here. Is anything still missing? |
A requested changes by @wenzeslaus is still applied. |
I seem to need a hint. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with @echoix. I was indeed talking about documentation for the changed and complex lines. But I'm ready to move on here.
It is more beneficial just to move on.
Ok, see 1668170 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
This PR modifies the way to inject the "Note: This document is for an older version of GRASS GIS ..." red boxes into the manual page. Now duplicate boxes should no longer show up.
(affects G78 and G83 core manual and related addon manual pages)
For testing purposes, this PR has been deployed on grass.osgeo.org (once this PR is merged the local update needs to be removed from server to re-enable cronjob-based GH pulls, tbd by MN).
Hint: Best is to check how the pages look like not before Aug 17th, 2024, in order to have several daily cronjob cycles done.