Use unified link to docs pages

This commit is contained in:
Ivan Kravets
2016-12-05 21:25:10 +02:00
parent 8d5cdf6c61
commit 2a5d686d5a
8 changed files with 14 additions and 14 deletions

View File

@ -121,7 +121,7 @@ An unexpected error occurred. Further steps:
`pip install -U platformio` command
* Try to find answer in FAQ Troubleshooting section
http://docs.platformio.org/en/stable/faq.html
http://docs.platformio.org/page/faq.html
* Report this problem to the developers
https://github.com/platformio/platformio-core/issues

View File

@ -62,7 +62,7 @@ DEFAULT_SETTINGS = {
},
"enable_telemetry": {
"description":
("Telemetry service <http://docs.platformio.org/en/stable/"
("Telemetry service <http://docs.platformio.org/page/"
"userguide/cmd_settings.html?#enable-telemetry> (Yes/No)"),
"value": True
}

View File

@ -636,7 +636,7 @@ def GetLibBuilders(env): # pylint: disable=too-many-branches
if verbose and found_incompat:
sys.stderr.write(
"More details about \"Library Compatibility Mode\": "
"http://docs.platformio.org/en/stable/librarymanager/ldf.html#"
"http://docs.platformio.org/page/librarymanager/ldf.html#"
"ldf-compat-mode\n")
DefaultEnvironment()['__PIO_LIB_BUILDERS'] = items

View File

@ -193,7 +193,7 @@ PlatformIO will find your libraries automatically, configure preprocessor's
include paths and build them.
More information about PlatformIO Library Dependency Finder
- http://docs.platformio.org/en/stable/librarymanager/ldf.html
- http://docs.platformio.org/page/librarymanager/ldf.html
""")
@ -203,7 +203,7 @@ def init_ci_conf(project_dir):
with open(join(project_dir, ".travis.yml"), "w") as f:
f.write("""# Continuous Integration (CI) is the practice, in software
# engineering, of merging all developer working copies with a shared mainline
# several times a day < http://docs.platformio.org/en/stable/ci/index.html >
# several times a day < http://docs.platformio.org/page/ci/index.html >
#
# Documentation:
#
@ -211,10 +211,10 @@ def init_ci_conf(project_dir):
# < https://docs.travis-ci.com/user/integration/platformio/ >
#
# * PlatformIO integration with Travis CI
# < http://docs.platformio.org/en/stable/ci/travis.html >
# < http://docs.platformio.org/page/ci/travis.html >
#
# * User Guide for `platformio ci` command
# < http://docs.platformio.org/en/stable/userguide/cmd_ci.html >
# < http://docs.platformio.org/page/userguide/cmd_ci.html >
#
#
# Please choice one of the following templates (proposed below) and uncomment

View File

@ -202,8 +202,7 @@ def lib_search(query, json_output, page, noninteractive, **filters):
click.echo("For more examples and advanced search syntax, "
"please use documentation:")
click.secho(
"http://docs.platformio.org"
"/en/stable/userguide/lib/cmd_search.html\n",
"http://docs.platformio.org/page/userguide/lib/cmd_search.html\n",
fg="cyan")
return

View File

@ -207,7 +207,7 @@ class UpgradeError(PlatformioException):
* Upgrade using `pip install -U platformio`
* Try different installation/upgrading steps:
http://docs.platformio.org/en/stable/installation.html
http://docs.platformio.org/page/installation.html
"""

View File

@ -1,8 +1,9 @@
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter, extra scripting
; Upload options: custom port, speed and extra flags
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/en/stable/projectconf.html
; http://docs.platformio.org/page/projectconf.html

View File

@ -281,7 +281,7 @@ def get_projectpioenvs_dir(force=False):
with open(dontmod_path, "w") as fp:
fp.write("""
[InternetShortcut]
URL=http://docs.platformio.org/en/stable/projectconf.html#envs-dir
URL=http://docs.platformio.org/page/projectconf.html#envs-dir
""")
except Exception as e: # pylint: disable=broad-except
if not force: