zephyr/samples/subsys/usb
David B. Kinder 62a0cd246d doc: fix uses of back quotes in documentation
ReST defines interpreted text roles where text enclosed by single quotes
can be "intrepreted", for example :ref:`some name` becomes a link to
a label anywhere in the doc set named "some name", :c:func:`funcname()`
becomes a link to the API documentation for "funcname", and
:option:`CONFIG_NAME` becomes a link to, in our case, the documentation
for the generated Kconfig option.

This patch fixes uses of `some name` (without a role) by either adding
an explicit role, or changing to ``some name``, which indicates inline
code block formatting (most likely what was intended).

This is a precursor to changing the default behavior of interpreted
text to treat `some name` as :any:`some name` (as configured in
doc/conf.py), which would attempt to create a link to any available
definition of "some name".

We may not change this default role behavior, but it becomes an option
after the fixes in this patch.  In any case, this patch fixes incorrect
uses of single-quoted text (possibly introduced because GitHub's
markdown language uses single-quoted text for inline code formatting).

Jira: ZEP-2414

Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
2017-08-03 11:08:23 -04:00
..
cdc_acm doc: fix uses of back quotes in documentation 2017-08-03 11:08:23 -04:00
console doc: fix wiki board references in non .rst files 2017-07-11 12:45:35 -05:00
dfu samples: dfu: fix usb configuration descriptor length 2017-07-15 11:26:40 +03:00
mass doc: fix wiki board references in non .rst files 2017-07-11 12:45:35 -05:00
webusb doc: fix wiki board references in non .rst files 2017-07-11 12:45:35 -05:00
usb.rst samples: usb: add usb.rst and README.rst for CDC ACM sample 2017-07-23 07:41:57 -04:00