From b8c9eee8afb406a9424c04597d0aa527855e6307 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Sun, 16 Feb 2020 21:25:30 +0200 Subject: [PATCH] Force docs to HTTPS --- platformio/commands/debug/server.py | 2 +- platformio/commands/run/helpers.py | 2 +- platformio/exception.py | 2 +- platformio/package/exception.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/platformio/commands/debug/server.py b/platformio/commands/debug/server.py index 3b16b61d..855628c3 100644 --- a/platformio/commands/debug/server.py +++ b/platformio/commands/debug/server.py @@ -58,7 +58,7 @@ class DebugServer(BaseProcess): "\nCould not launch Debug Server '%s'. Please check that it " "is installed and is included in a system PATH\n\n" "See documentation or contact contact@platformio.org:\n" - "http://docs.platformio.org/page/plus/debugging.html\n" + "https://docs.platformio.org/page/plus/debugging.html\n" % server_executable ) diff --git a/platformio/commands/run/helpers.py b/platformio/commands/run/helpers.py index 0d41a569..ec038e84 100644 --- a/platformio/commands/run/helpers.py +++ b/platformio/commands/run/helpers.py @@ -36,7 +36,7 @@ def handle_legacy_libdeps(project_dir, config): "DEPRECATED! A legacy library storage `{0}` has been found in a " "project. \nPlease declare project dependencies in `platformio.ini`" " file using `lib_deps` option and remove `{0}` folder." - "\nMore details -> http://docs.platformio.org/page/projectconf/" + "\nMore details -> https://docs.platformio.org/page/projectconf/" "section_env_library.html#lib-deps".format(legacy_libdeps_dir), fg="yellow", ) diff --git a/platformio/exception.py b/platformio/exception.py index cfd357a4..913bc137 100644 --- a/platformio/exception.py +++ b/platformio/exception.py @@ -301,6 +301,6 @@ class TestDirNotExists(PlatformioException): "A test folder '{0}' does not exist.\nPlease create 'test' " "directory in project's root and put a test set.\n" "More details about Unit " - "Testing: http://docs.platformio.org/page/plus/" + "Testing: https://docs.platformio.org/page/plus/" "unit-testing.html" ) diff --git a/platformio/package/exception.py b/platformio/package/exception.py index 7804e519..550a3628 100644 --- a/platformio/package/exception.py +++ b/platformio/package/exception.py @@ -41,5 +41,5 @@ class ManifestValidationError(ManifestException): def __str__(self): return ( "Invalid manifest fields: %s. \nPlease check specification -> " - "http://docs.platformio.org/page/librarymanager/config.html" % self.messages + "htts://docs.platformio.org/page/librarymanager/config.html" % self.messages )