Skip to content

Conversation

@Bastian-Krause
Copy link
Member

Description
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, ..).

In labgrid, interpreted text without a role is used inconsistently. Most times it was actually meant to be either inline code (``foo``), italic text or links to docs sections or class definitions. Fix all such occurrences with explicit variants that actually make sense in their respective contexts.

[1] sphinx-doc/sphinx@114093c
[2] sphinx-doc/sphinx#13904

Checklist

  • Man pages have been regenerated

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, ..).

In labgrid, interpreted text without a role is used inconsistently. Most
times it was actually meant to be either inline code ("``foo``"), italic
text or links to docs sections or class definitions.
Fix all such occurrences with explicit variants that actually make sense
in their respective contexts.

[1] sphinx-doc/sphinx@114093c
[2] sphinx-doc/sphinx#13904

Signed-off-by: Bastian Krause <[email protected]>
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, ..).

In labgrid, interpreted text without a role is used inconsistently. Most
times it was actually meant to be either inline code ("``foo``"), italic
text or links to docs sections or class definitions.
Fix all such occurrences with explicit variants that actually make sense
in their respective contexts.

[1] sphinx-doc/sphinx@114093c
[2] sphinx-doc/sphinx#13904

Signed-off-by: Bastian Krause <[email protected]>
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, ..).

In labgrid, interpreted text without a role is used inconsistently. Most
times it was actually meant to be either inline code ("``foo``"), italic
text or links to docs sections or class definitions.
Fix all such occurrences with explicit variants that actually make sense
in their respective contexts.

[1] sphinx-doc/sphinx@114093c
[2] sphinx-doc/sphinx#13904

Signed-off-by: Bastian Krause <[email protected]>
@codecov
Copy link

codecov bot commented Oct 9, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 45.4%. Comparing base (fc8901c) to head (5d237f4).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@          Coverage Diff           @@
##           master   #1755   +/-   ##
======================================
  Coverage    45.4%   45.4%           
======================================
  Files         172     172           
  Lines       13503   13503           
======================================
  Hits         6131    6131           
  Misses       7372    7372           
Flag Coverage Δ
3.10 45.4% <ø> (ø)
3.11 45.4% <ø> (ø)
3.12 45.4% <ø> (ø)
3.13 45.3% <ø> (ø)
3.9 45.4% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Emantor Emantor merged commit 7084d16 into labgrid-project:master Oct 9, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants