Skip to content

Commit 5cfbb8d

Browse files
doc/man/pytest: fix inline interpreted text without a role
sphinx became stricter when handling interpreted text without a role, e.g. "`foo`" since [1], see [2]. This results in errors such as: sphinx.errors.SphinxError: cannot determine default role! In the past, heuristics were used to determine how to format the text (inline code, italic, ..). Fix another occurrence that should have been marked as inline code instead. [1] sphinx-doc/sphinx@114093c [2] sphinx-doc/sphinx#13904 Signed-off-by: Bastian Krause <bst@pengutronix.de>
1 parent 9280f5f commit 5cfbb8d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

doc/man/pytest.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ SYNOPSIS
1515
DESCRIPTION
1616
-----------
1717
Labgrid ships a pytest plugin to integrate with the pytest infrastructure. It is
18-
activated if the `--lg-env` parameter is supplied to the pytest command.
18+
activated if the ``--lg-env`` parameter is supplied to the pytest command.
1919

2020
The labgrid plugin parses the supplied configuration yaml file as described in
2121
``labgrid-device-config``\(5) and allows the usage of the target and environment

man/labgrid-pytest.7

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ labgrid-pytest \- labgrid integration for pytest
3737
.SS DESCRIPTION
3838
.sp
3939
Labgrid ships a pytest plugin to integrate with the pytest infrastructure. It is
40-
activated if the \fI\-\-lg\-env\fP parameter is supplied to the pytest command.
40+
activated if the \fB\-\-lg\-env\fP parameter is supplied to the pytest command.
4141
.sp
4242
The labgrid plugin parses the supplied configuration yaml file as described in
4343
\fBlabgrid\-device\-config\fP(5) and allows the usage of the target and environment

0 commit comments

Comments
 (0)