We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d36411c commit 8be538dCopy full SHA for 8be538d
1 file changed
docs/source/conf.py
@@ -233,3 +233,14 @@
233
autodoc_default_options = {
234
'show-inheritance': True,
235
}
236
+
237
+# 1. The base URL of your new site
238
+html_baseurl = 'https://www.torchio.org/'
239
240
+# 2. Tell Sphinx to dump extra <head> tags verbatim
241
+html_extrahead = [
242
+ # the trailing slash on pagename is handled automatically
243
+ '<link rel="canonical" href="{base}{{{{ pathto(pagename, 1) }}}}{{{{ pagename }}}}.html" />'.format(
244
+ base=html_baseurl
245
+ )
246
+]
0 commit comments