File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments