From edf466a69134bae2c7f1c89d778a31f2529ce8fa Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Tue, 21 Sep 2021 17:12:08 +0200 Subject: [PATCH] ARROW-14055: [Docs] Add canonical url to the sphinx docs --- docs/source/conf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/source/conf.py b/docs/source/conf.py index 2f813c07268..2e5f9b50125 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -251,6 +251,10 @@ '**': ['docs-sidebar.html'], } +# The base URL which points to the root of the HTML documentation, +# used for canonical url +html_baseurl = "https://arrow.apache.org/docs/" + # Additional templates that should be rendered to pages, maps page names to # template names. #