alabaster icon indicating copy to clipboard operation
alabaster copied to clipboard

Deprecate canonical_url in favor of html_baseurl

Open stsewd opened this issue 3 years ago • 0 comments

Rely on html_baseurl for the canonical url instead. The canonical url is already set in the basic theme

https://github.com/sphinx-doc/sphinx/blob/4e9d1553968653df6699b20afc22b73eb3280185/sphinx/themes/basic/layout.html#L130-L132

That takes into account pages using the dirhtml builder instead of always adding the html extension. This was introduced in sphinx 1.8.

stsewd avatar Apr 28 '21 00:04 stsewd