forked from platformio/platformio-core
Split stable/upstream docs for dev/platforms
This commit is contained in:
2
docs
2
docs
Submodule docs updated: c81c85b861...4ccbe4a41e
@ -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))
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user