-
-
Notifications
You must be signed in to change notification settings - Fork 480
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
Fix regex to remove spurious diffs in doc preview #38213
Conversation
Documentation preview for this PR (built with commit d1220c9; changes) is ready! 🎉 |
21b19b7
to
b932246
Compare
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.
LGTM, thanks for the fix.
Thanks! |
I am trying to understand where the last diff left in "changes" come from. "changes" is the result of According to this run of doc-build workflow: https://github.com/sagemath/sage/actions/runs/9500068057/job/26182310478?pr=38213 "Build Docker Image" step builds docker image
it seems that it fails to find the image
|
The incremental build is always starting from the tag |
This message just means it's pulling what was just built. |
Ah, I see. So I looked into
Hence the diff is genuine. On the other hand, looking into the source file of the page https://sagemath.netlify.app/html/en/reference/repl/options, which was uploaded from
where, as you see, there is no line
! |
Hmm presently https://sagemath.netlify.app/html/en/reference/repl/options is doc for PR #38205! Strange things are happening... |
This is fixed by #38220. |
<!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> There was an error in the regex, seen in https://preview-38210--sagemath.netlify.app/changes Also removed most spurious diffs: see [changes](https://preview-38213-- sagemath.netlify.app/changes) of this PR. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#38213 Reported by: Kwankyu Lee Reviewer(s): Matthias Köppe
<!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> There was an error in the regex, seen in https://preview-38210--sagemath.netlify.app/changes Also removed most spurious diffs: see [changes](https://preview-38213-- sagemath.netlify.app/changes) of this PR. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#38213 Reported by: Kwankyu Lee Reviewer(s): Matthias Köppe
<!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> broken by careless code in sagemath#38213: ``` # Restore the new doc from changes by "wipe out" (cd docs && git checkout -f) ``` which also wipes out anchors planted by `.ci/create-changes-html.sh`! To reviewer: changes over sagemath#38220 is in https://github.com/sagemath/sage/ pull/38274/commits/d2d1514148f46a4ceeea650eab1fd0a0800ebbc9 Tested in : https://github.com/kwankyu/sage/actions/runs/9659812609/job/26643993813. Try to open https://doc-pr-43--sagemath- test.netlify.app/html/en/reference/references/#hunk2 to check ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> sagemath#38220 URL: sagemath#38274 Reported by: Kwankyu Lee Reviewer(s):
There was an error in the regex, seen in
https://preview-38210--sagemath.netlify.app/changes
Also removed most spurious diffs: see changes of this PR.
📝 Checklist
⌛ Dependencies