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

Fix broken anchors in CHANGES.html of doc preview #38274

Merged
merged 10 commits into from
Jul 4, 2024

Conversation

kwankyu
Copy link
Collaborator

@kwankyu kwankyu commented Jun 25, 2024

broken by careless code in #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 #38220 is in d2d1514

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

  • The title is concise and informative.
  • 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

#38220

@kwankyu kwankyu changed the title Fix not-working anchors in CHANGES.html Fix broken anchors in CHANGES.html Jun 25, 2024
@kwankyu kwankyu marked this pull request as ready for review June 25, 2024 10:45
@kwankyu kwankyu changed the title Fix broken anchors in CHANGES.html Fix broken anchors in CHANGES.html of doc preview Jun 25, 2024
@kwankyu
Copy link
Collaborator Author

kwankyu commented Jun 25, 2024

Thank you!

@mkoeppe mkoeppe added this to the sage-10.4 milestone Jun 25, 2024
@kwankyu kwankyu mentioned this pull request Jun 26, 2024
5 tasks
@vbraun vbraun merged commit 31b186c into sagemath:develop Jul 4, 2024
28 of 31 checks passed
vbraun pushed a commit to vbraun/sage that referenced this pull request Jul 11, 2024
    
<!-- ^ 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". -->

as sagemath#38220 allows us to implement the version selector to sage doc.

Preview : https://doc-pr-53--sagemath-
test.netlify.app/html/en/reference/

The script `sage-update-version`(used by the release manager) updates
src/doc/website/versions.txt. The file will be accessible from
https://doc-release--sagemath.netlify.app/html/en/versions.txt, after
10.4 release.

The Preview is using https://doc-release--sagemath-
test.netlify.app/html/en/versions.txt for test purpose.

### 📝 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#38274
    
URL: sagemath#38285
Reported by: Kwankyu Lee
Reviewer(s): Kwankyu Lee, Matthias Köppe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants