Skip to content

Commit 21001f6

Browse files
committed
Use alias for release doc url
1 parent 1c1f2ed commit 21001f6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.ci/create-changes-html.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ echo '<script>hljs.highlightAll();</script>' >> CHANGES.html
1919
cat >> CHANGES.html << EOF
2020
<script>
2121
document.addEventListener('DOMContentLoaded', () => {
22-
const baseDocURL = 'https://sagemath.netlify.app'
22+
const baseDocURL = 'https://preview-release--sagemath.netlify.app'
2323
const diffSite = 'https://pianomister.github.io/diffsite'
2424
const diffParagraphs = document.querySelectorAll('p.diff');
2525
diffParagraphs.forEach(paragraph => {

.github/workflows/doc-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
6161
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
6262
NETLIFY_PRODUCTION: ${{ github.ref == 'refs/heads/develop' }}
63-
NETLIFY_MESSAGE: ${{ github.ref == 'refs/heads/develop' && 'release' || steps.source-run-info.outputs.pullRequestNumber }}
63+
NETLIFY_MESSAGE: preview-${{ github.ref == 'refs/heads/develop' && 'release' || steps.source-run-info.outputs.pullRequestNumber }}
6464
NETLIFY_ALIAS: preview-${{ github.ref == 'refs/heads/develop' && 'release' || steps.source-run-info.outputs.pullRequestNumber }}
6565

6666
# Add deployment as status check, PR comment and annotation

src/sage_docbuild/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ def set_intersphinx_mappings(app, config):
354354
for directory in os.listdir(os.path.join(invpath)):
355355
if directory == 'jupyter_execute':
356356
# This directory is created by jupyter-sphinx extension for
357-
# internal use and should be ignored here. See trac #33507.
357+
# internal use and should be ignored here. See Issue #33507.
358358
continue
359359
if os.path.isdir(os.path.join(invpath, directory)):
360360
src = os.path.join(refpath, directory)
@@ -633,7 +633,7 @@ def linkcode_resolve(domain, info):
633633
\let\textLaTeX\LaTeX
634634
\AtBeginDocument{\renewcommand*{\LaTeX}{\hbox{\textLaTeX}}}
635635
636-
% Workaround for a LaTeX bug -- see trac #31397 and
636+
% Workaround for a LaTeX bug -- see Issue #31397 and
637637
% https://tex.stackexchange.com/questions/583391/mactex-2020-error-with-report-hyperref-mathbf-in-chapter.
638638
\makeatletter
639639
\pdfstringdefDisableCommands{%

0 commit comments

Comments
 (0)