premAI-io / state-of-open-source-ai

:closed_book: Clarity in the current fast-paced mess of Open Source innovation
https://book.premai.io/state-of-open-source-ai
Other
1.52k stars 89 forks source link

comments: Sign in not working #81

Closed nsosio closed 1 year ago

nsosio commented 1 year ago

When signing in with GitHub to add a comment in a chapter I've got 404.

image

casperdcl commented 1 year ago

this is caused by https://utteranc.es redirecting to /chapter.html (rather than /chapter/ or /chapter/index.html).

Based on https://github.com/utterance/utterances/issues/474 this is due to jupyter-book build --builder dirhtml generating:

<link rel="canonical" href=".../chapter.html" />

instead of:

<link rel="canonical" href=".../chapter/" />

just reported in https://github.com/executablebooks/jupyter-book/issues/2066