Split stable/upstream docs for dev/platforms

This commit is contained in:
Ivan Kravets
2018-05-25 16:17:02 +03:00
parent 4a2594c12e
commit 2f07a58e4f
2 changed files with 19 additions and 9 deletions

2
docs

Submodule docs updated: c81c85b861...4ccbe4a41e

View File

@ -302,21 +302,31 @@ Stable and upstream versions
You can switch between `stable releases <https://github.com/platformio/platform-{name}/releases>`__ You can switch between `stable releases <https://github.com/platformio/platform-{name}/releases>`__
of {title} development platform and the latest upstream version using of {title} development platform and the latest upstream version using
:ref:`projectconf_env_platform` option in :ref:`projectconf` as described below: :ref:`projectconf_env_platform` option in :ref:`projectconf` as described below.
Stable
~~~~~~
.. code-block:: ini .. code-block:: ini
; Custom stable version ; Latest stable version
[env:stable] [env:latest_stable]
platform ={name}@x.y.z platform = {name}
board = ... board = ...
...
; The latest upstream/development version ; Custom stable version
[env:upstream] [env:custom_stable]
platform = {name}@x.y.z
board = ...
Upstream
~~~~~~~~
.. code-block:: ini
[env:upstream_develop]
platform = https://github.com/platformio/platform-{name}.git platform = https://github.com/platformio/platform-{name}.git
board = ... board = ...
...
""".format(name=p.name, title=p.title)) """.format(name=p.name, title=p.title))
# #