doc: west: Do not fail doc build if west not used
In case west is not present or was not used to initialize the local zephyr repository, avoid failing the documentation build by including a placeholder file. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
parent
0fa1db9416
commit
6162e93a00
|
@ -246,10 +246,8 @@ upstream Zephyr, the runner should be added into a new or existing
|
|||
changes break existing test cases, CI testing on upstream pull
|
||||
requests will fail.
|
||||
|
||||
API Documentation for the ``runners.core`` module follows.
|
||||
|
||||
.. automodule:: runners.core
|
||||
:members:
|
||||
API Documentation for the ``runners.core`` module can be found in
|
||||
:ref:`west-apis`.
|
||||
|
||||
Doing it By Hand
|
||||
****************
|
||||
|
|
|
@ -5,4 +5,6 @@
|
|||
West APIs
|
||||
#########
|
||||
|
||||
.. automodule:: runners.core
|
||||
:members:
|
||||
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
:orphan:
|
||||
|
||||
.. _west-apis:
|
||||
|
||||
West APIs
|
||||
#########
|
||||
|
||||
The west APIs are not documented since either west was missing or the zephyr
|
||||
repository was not initialized using west during the documentation build.
|
||||
|
Loading…
Reference in New Issue