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 `pip install -U platformio` command
* Try to find answer in FAQ Troubleshooting section * 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 * Report this problem to the developers
https://github.com/platformio/platformio-core/issues https://github.com/platformio/platformio-core/issues

View File

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

View File

@ -636,7 +636,7 @@ def GetLibBuilders(env): # pylint: disable=too-many-branches
if verbose and found_incompat: if verbose and found_incompat:
sys.stderr.write( sys.stderr.write(
"More details about \"Library Compatibility Mode\": " "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") "ldf-compat-mode\n")
DefaultEnvironment()['__PIO_LIB_BUILDERS'] = items 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. include paths and build them.
More information about PlatformIO Library Dependency Finder 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: with open(join(project_dir, ".travis.yml"), "w") as f:
f.write("""# Continuous Integration (CI) is the practice, in software f.write("""# Continuous Integration (CI) is the practice, in software
# engineering, of merging all developer working copies with a shared mainline # 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: # Documentation:
# #
@ -211,10 +211,10 @@ def init_ci_conf(project_dir):
# < https://docs.travis-ci.com/user/integration/platformio/ > # < https://docs.travis-ci.com/user/integration/platformio/ >
# #
# * PlatformIO integration with Travis CI # * 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 # * 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 # 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, " click.echo("For more examples and advanced search syntax, "
"please use documentation:") "please use documentation:")
click.secho( click.secho(
"http://docs.platformio.org" "http://docs.platformio.org/page/userguide/lib/cmd_search.html\n",
"/en/stable/userguide/lib/cmd_search.html\n",
fg="cyan") fg="cyan")
return return

View File

@ -207,7 +207,7 @@ class UpgradeError(PlatformioException):
* Upgrade using `pip install -U platformio` * Upgrade using `pip install -U platformio`
* Try different installation/upgrading steps: * 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 ; PlatformIO Project Configuration File
; ;
; Build options: build flags, source filter, extra scripting ; Build options: build flags, source filter
; Upload options: custom port, speed and extra flags ; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages ; Library options: dependencies, extra library storages
; Advanced options: extra scripting
; ;
; Please visit documentation for the other options and examples ; 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: with open(dontmod_path, "w") as fp:
fp.write(""" fp.write("""
[InternetShortcut] [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 except Exception as e: # pylint: disable=broad-except
if not force: if not force: