zephyr/doc/extensions
David B. Kinder b645194cd3 doc: add sphinx extension improving only directive
The Sphinx ``.. only::`` directive is limited to handling only
conditional text and can't handling conditional use of directives
For example,

```
.. only:: test

   .. automodule:: west.runners.core
      :members:
```

is not handled. This PR monkey patches the handling of the existing
``.. only::`` directive done by Sphinx.

See https://github.com/pfalcon/sphinx_selective_exclude for details.
Licensing amended to Apache 2.0 with permission from the author.

Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
2018-12-02 14:17:24 -05:00
..
lexer doc: sphinx: Fix broken import of lexer.DtsLexer 2018-03-29 08:16:04 -04:00
only doc: add sphinx extension improving only directive 2018-12-02 14:17:24 -05:00
zephyr doc: extensions: fix :app: behavior for zephyr-app-commands 2018-06-08 08:03:05 -04:00