Skip to content

Commit

Permalink
sagemathgh-37689: Fix changes.html in doc preview
Browse files Browse the repository at this point in the history
<!-- ^ 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". -->

by changing the base doc url.

The base doc url is where the doc preview for the released version is
uploaded. It changed recently:
sagemath#34874 (comment),
but we didn't fix accordingly here: [.ci/create-changes-
html.sh](https://github.com/sagemath/sage/blob/develop/.ci/create-
changes-html.sh)

### 📝 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 accordingly.

### ⌛ 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#37689
Reported by: Kwankyu Lee
Reviewer(s):
  • Loading branch information
Release Manager committed Apr 1, 2024
2 parents 7f6e5f8 + d63ab26 commit 8b6df11
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .ci/create-changes-html.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ echo '<script>hljs.highlightAll();</script>' >> CHANGES.html
cat >> CHANGES.html << EOF
<script>
document.addEventListener('DOMContentLoaded', () => {
const baseDocURL = 'https://sagemath.netlify.app'
const diffSite = 'https://pianomister.github.io/diffsite'
const baseDocURL = 'https://sagemath-tobias.netlify.app'
const diffParagraphs = document.querySelectorAll('p.diff');
diffParagraphs.forEach(paragraph => {
const rootURL = window.location.origin;
Expand Down
6 changes: 3 additions & 3 deletions build/pkgs/configure/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tarball=configure-VERSION.tar.gz
sha1=8cfc13031178334306e8a2745ae9d822790f8029
md5=25296e38dfa8eaf36644f8e6ff038c9e
cksum=991738162
sha1=3832455de0e144ac2b7f4d8fa94f177d63dfcf40
md5=fae9ae906bf639c205180804c7fbbbb9
cksum=2676439897
2 changes: 1 addition & 1 deletion build/pkgs/configure/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
850ed07c17579aa4c092159ca7042545ba6b3213
a27ed31878aff02d0f63c7ee3c391c0d93b64797

0 comments on commit 8b6df11

Please sign in to comment.