doc: code-sample: Fix "text" attribute for code sample links.
A link to a code-sample should have its "text" attribute set to the text description of the sample, not the description _node_. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
6c86af0331
commit
108893304a
|
@ -267,7 +267,7 @@ class ZephyrDomain(Domain):
|
|||
code_sample_info["docname"],
|
||||
code_sample_info["id"],
|
||||
contnode,
|
||||
code_sample_info["description"],
|
||||
code_sample_info["description"].astext(),
|
||||
)
|
||||
|
||||
def add_code_sample(self, code_sample):
|
||||
|
|
Loading…
Reference in New Issue