Skip to content

Commit 5bd0dd9

Browse files
authored
Merge pull request #82 from premAI-io/fix-comments
2 parents a87e03e + eba00e7 commit 5bd0dd9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/pages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ jobs:
5757
sudo apt install -qq ghostscript fonts-freefont-otf # https://stackoverflow.com/a/69012150
5858
sed -ri 's#^(\s*baseurl:).*#\1 ${{ steps.pages.outputs.base_url }}/'$SITE_PREFIX'#g' _config.yml
5959
jupyter-book build --builder dirhtml --warningiserror --nitpick --keep-going .
60+
# fix https://github.com/executablebooks/jupyter-book/issues/2066
61+
sed -ri 's#(.*link rel="canonical" href=".*)\.html(".*)#\1/\2#' _build/dirhtml/*/index.html
6062
jupyter-book build --builder latex --warningiserror --nitpick --keep-going .
6163
cd _build/latex
6264
# fix contrib.rocks

0 commit comments

Comments
 (0)