mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Split stable/upstream docs for dev/platforms
This commit is contained in:
@ -302,21 +302,31 @@ Stable and upstream versions
|
||||
|
||||
You can switch between `stable releases <https://github.com/platformio/platform-{name}/releases>`__
|
||||
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
|
||||
|
||||
; Custom stable version
|
||||
[env:stable]
|
||||
platform ={name}@x.y.z
|
||||
; Latest stable version
|
||||
[env:latest_stable]
|
||||
platform = {name}
|
||||
board = ...
|
||||
...
|
||||
|
||||
; The latest upstream/development version
|
||||
[env:upstream]
|
||||
; Custom stable version
|
||||
[env:custom_stable]
|
||||
platform = {name}@x.y.z
|
||||
board = ...
|
||||
|
||||
Upstream
|
||||
~~~~~~~~
|
||||
|
||||
.. code-block:: ini
|
||||
|
||||
[env:upstream_develop]
|
||||
platform = https://github.com/platformio/platform-{name}.git
|
||||
board = ...
|
||||
...
|
||||
""".format(name=p.name, title=p.title))
|
||||
|
||||
#
|
||||
|
Reference in New Issue
Block a user