Fill in two things you already have, and this page makes the guest key that lets guests comment on your sphinx-redline site.
| Where it comes from | What to do with it | |
|---|---|---|
| Token | you fill in from GitHub or GitLab | Keep it secret |
| Passphrase | you fill in you choose it | Give it to the people who may comment |
| Guest key | this page makes it from the two above | Put it in your site's settings; safe to share |
Put this key in your site's settings: the REDLINE_GUEST_KEY CI
variable, read in conf.py as
redline_guest_key = os.environ.get("REDLINE_GUEST_KEY"). The key is safe to
share; the token and passphrase are not.
Everything happens in this page: the token and passphrase are not sent anywhere. The key is published in every page of your site, so anyone can try to guess the passphrase offline. Use a long passphrase, and a token that can only write to the comments.