doc: do not use any as default role

References should be maded using the appropriate role, e.g. :ref:,
:c:func:, :kconfig:, etc.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2021-12-10 12:39:33 +01:00 committed by Anas Nashif
parent 459c3f918f
commit 204860857e

View File

@ -98,13 +98,6 @@ if not west_found:
else:
exclude_patterns.append("**/*west-not-found*")
# This change will allow us to use bare back-tick notation to let
# Sphinx hunt for a reference, starting with normal "document"
# references such as :ref:, but also including :c: and :cpp: domains
# (potentially) helping with API (doxygen) references simply by using
# `name`
default_role = "any"
pygments_style = "sphinx"
todo_include_todos = False