Skip to content

Commit 9e5dae7

Browse files
committed
Change delimiters to colon
1 parent 15381f7 commit 9e5dae7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/doc-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ jobs:
6565
# Wipe out chronic diffs between old doc and new doc
6666
(cd /sage/local/share/doc/sage/html/en && \
6767
find . -name "*.html" | xargs sed -i -e '/class="sidebar-brand-text"/ s/Sage [0-9a-z.]* /Sage '$new_version' /' \
68-
-e 's_'"$mathjax_path_from"'_'"$mathjax_path_to"'_' \
69-
-e '\_<script type="application/vnd\.jupyter\.widget-state\+json">_,\_</script>_ d')
68+
-e 's:'"$mathjax_path_from"':'"$mathjax_path_to"':' \
69+
-e '\:<script type="application/vnd\.jupyter\.widget-state\+json">:,\:</script>: d')
7070
# Create git repo from old doc
7171
(cd /sage/local/share/doc/sage/html/en && \
7272
git init && \
@@ -135,7 +135,7 @@ jobs:
135135
echo '## Preview of CHANGES.html'
136136
# Wipe out chronic diffs between old doc and new doc
137137
(cd /sage/local/share/doc/sage/html/en && \
138-
find . -name "*.html" | xargs sed -i -e '\_<script type="application/vnd\.jupyter\.widget-state\+json">_,\_</script>_ d')
138+
find . -name "*.html" | xargs sed -i -e '\:<script type="application/vnd\.jupyter\.widget-state\+json">:,\:</script>: d')
139139
# Create CHANGES.html
140140
echo '<html>' > ./docs/CHANGES.html
141141
echo '<head>' >> ./docs/CHANGES.html

0 commit comments

Comments
 (0)