From 3e2a3b2573345fd62ea60b8992bcee2eeed97a7d Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sun, 19 Nov 2023 10:25:33 +0200 Subject: [PATCH 1/2] Add link to blog in error message --- readthedocs/config/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/readthedocs/config/config.py b/readthedocs/config/config.py index 5eafa0e3310..8ebb89d361e 100644 --- a/readthedocs/config/config.py +++ b/readthedocs/config/config.py @@ -100,7 +100,8 @@ class DefaultConfigFileNotFound(ConfigError): def __init__(self): super().__init__( - "No default configuration file found at repository's root.", + "No default configuration file found at repository's root. " + "See https://blog.readthedocs.com/migrate-configuration-v2/", CONFIG_FILE_REQUIRED, ) From 18bb7ce1b5d97d2eba4c388bf8026fda78e9460f Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Tue, 21 Nov 2023 12:56:38 +0200 Subject: [PATCH 2/2] Link to config file tutorial Co-authored-by: Manuel Kaufmann --- readthedocs/config/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readthedocs/config/config.py b/readthedocs/config/config.py index 8ebb89d361e..f09356416c8 100644 --- a/readthedocs/config/config.py +++ b/readthedocs/config/config.py @@ -101,7 +101,7 @@ class DefaultConfigFileNotFound(ConfigError): def __init__(self): super().__init__( "No default configuration file found at repository's root. " - "See https://blog.readthedocs.com/migrate-configuration-v2/", + "See https://docs.readthedocs.io/en/stable/config-file/", CONFIG_FILE_REQUIRED, )