From 89ebc2995b74c11d40f7fefdfd226821df3d3a61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 2 Apr 2024 00:07:43 -0400 Subject: [PATCH] Update for Sphinx 5.3 based on warnings $ sphinx-build -b html . _build/html Running Sphinx v5.3.0 WARNING: Invalid configuration value found: 'language = None'. Update your configuration to a valid language code. Falling back to 'en' (English). WARNING: The canonical_url option is deprecated, use the html_baseurl option from Sphinx instead. --- conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf.py b/conf.py index 9dcafa7..c2ca5b3 100644 --- a/conf.py +++ b/conf.py @@ -72,7 +72,7 @@ release = u'' # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. -language = None +language = 'en' # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. @@ -101,7 +101,7 @@ html_css_files = [ # TIP: If it starts with `html_` it belongs directly as a conf.py option and # NOT in html_theme_options. html_theme_options = { - 'canonical_url': 'https://docs.agaric.coop/', + 'html_baseurl': 'https://docs.agaric.coop/', 'logo_only': True, }