Skip to content
Permalink
Browse files

doc: extensions: Default to 'all' in 'tool'

In order to expose west to the majority of users, default to 'all'
instead of 'cmake' in the 'tool' option. This means that, unless
otherwise specified, build instructions will be generated for both west
and cmake by default.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
  • Loading branch information...
carlescufi authored and andrewboie committed Jun 14, 2019
1 parent b476643 commit 93e643c5fd68f609b5cecc152f04808f62e82ef5
Showing with 2 additions and 2 deletions.
  1. +2 −2 doc/extensions/zephyr/application.py
@@ -30,7 +30,7 @@ class ZephyrAppCommandsDirective(Directive):
\:tool:
which tool to use. Valid options are currently 'cmake', 'west' and 'all'.
The default is 'cmake'.
The default is 'all'.
\:app:
path to the application to build.
@@ -123,7 +123,7 @@ def run(self):

# Parse directive options. Don't use os.path.sep or os.path.join here!
# That would break if building the docs on Windows.
tool = self.options.get('tool', 'cmake').lower()
tool = self.options.get('tool', 'all').lower()
app = self.options.get('app', None)
zephyr_app = self.options.get('zephyr-app', None)
cd_into = 'cd-into' in self.options

0 comments on commit 93e643c

Please sign in to comment.
You can’t perform that action at this time.