Skip to content
Commit a1b342c7 authored by Hugues Kamba Mpiana's avatar Hugues Kamba Mpiana Committed by Abdellatif El Khlifi
Browse files

Deprecation of Sphinx context injection

Read the Docs will stop defining `html_baseurl` Sphinx configuration,
which means that projects will need to define it by themselves to keep the
canonical custom domain properly configured.

The `READTHEDOCS_CANONICAL_URL` environment variable is used to define
`html_baseurl` to keep the previous behavior.

Also inject the `READTHEDOCS` variable into the `html_context`.

Code fragment taken from the blog post here:
https://about.readthedocs.com/blog/2024/07/addons-by-default/



Signed-off-by: Hugues Kamba Mpiana's avatarHugues KAMBA MPIANA <hugues.kambampiana@arm.com>
parent a487d0f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment