459c3f918f
Many documents relied on single quotes to create references, e.g. `my_reference`. This is possible because `default_role = "any"` is enabled in Sphinx conf.py. However, this method comes with its problems: - It mixes all domains together, so it's not clear to what are you referencing: a document? a Kconfig option? a C function?... - It creates inconsistencies: in some places explicit roles are used (e.g. :ref:`my_page`) while in some others not. - _Conflictis_ with markdown. Single quotes are used for literals in Markdown, so people tend to use the same syntax in Sphinx, even though it has a different purpose. Usages have been found using `git grep ' `[^`]*` ' -- **/*.rst`. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no> |
||
---|---|---|
.. | ||
boards | ||
src | ||
CMakeLists.txt | ||
README.rst | ||
prj.conf | ||
sample.yaml |
README.rst
.. _dsa-sample: DSA Sample Application ###################### Overview ******** Example on testing/debugging Distributed Switch Architecture The source code for this sample application can be found at: :zephyr_file:`samples/net/dsa`. Requirements ************ - :ref:`networking_with_host` Building and Running ******************** Host machine with :ref:`ip_k66f` board from Segger. Follow these steps to build the DSA sample application: .. zephyr-app-commands:: :zephyr-app: samples/net/dsa :board: <board to use> :conf: prj.conf :goals: build :compact: