Skip to content

Prolog: drop what pyTooling.Sphinx 1.1 provides - #87

Merged
Paebbels merged 1 commit into
devfrom
claude/prolog-substitutions
Nov 18, 2026
Merged

Paebbels merged 1 commit into
devfrom
claude/prolog-substitutions

Conversation

@pyedaa-claude

@pyedaa-claude pyedaa-claude Bot commented Nov 18, 2026

Copy link
Copy Markdown

Documentation

  • doc/prolog.inc: the includes of docutils' substitution files isonum.txt and mmlalias.txt are removed. pyTooling.Sphinx 1.1 appends them to rst_prolog (Prolog: docutils substitution files; no duplicate definitions pyTooling/pyTooling.Sphinx#101), so |rarr|, |copy| and the like stay defined.
  • doc/prolog.inc: the inline style block (CSS for bolditalic, underline, strike, xlarge and the colors) and the roles bolditalic, underline, strike, xlarge, red, green, blue, purple, deletion, addition and pycode are removed: pyTooling.Sphinx registers the same roles since v1.0 and has the CSS classes in its stylesheet. In the HTML output, only the inline <style> element on every page is gone.
  • doc/requirements.txt: pyTooling.Sphinx[reports] ~= 1.1 (was ~= 1.0).

Others

  • The HTML build of pySVModel (prolog with style block) and pyVHDLModel (includes only) was compared against dev: the same warnings, and pages identical except the inline <style> element and the dependency table's ≥1.1.

Related Issues and Pull-Requests

pyTooling.Sphinx 1.1 appends docutils' substitution files isonum.txt and
mmlalias.txt to rst_prolog, unless the project's prolog includes them already.
The prolog's own includes are removed; doc/requirements.txt requires
pyTooling.Sphinx ~= 1.1.

The prolog's own style block (inline CSS + the roles bolditalic ... addition) and :pycode: duplicated the
extension's style roles, which pyTooling.Sphinx registers since v1.0 together with its stylesheet. The rendered
pages lose only the inline <style> element.

Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
@pyedaa-claude
pyedaa-claude Bot requested a review from Paebbels as a code owner November 18, 2026 12:32
@pyedaa-claude pyedaa-claude Bot added Dependencies Used by Dependabot. Documentation Improvements or additions to documentation labels Nov 18, 2026
@codacy-production

codacy-production Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

🟢 Coverage ∅ diff coverage · +0.00% coverage variation

Metric Results
Coverage variation ✅ +0.00% coverage variation (-1.00%)
Diff coverage ✅ ∅ diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (7eb178b) 71 45 63.38%
Head commit (60dc1f4) 71 (+0) 45 (+0) 63.38% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#87) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@codecov

codecov Bot commented Nov 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 61.97%. Comparing base (7eb178b) to head (60dc1f4).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev      #87   +/-   ##
=======================================
  Coverage   61.97%   61.97%           
=======================================
  Files           1        1           
  Lines          71       71           
  Branches       13       13           
=======================================
  Hits           44       44           
  Misses         26       26           
  Partials        1        1           
Flag Coverage Δ
unittests 61.97% <ø> (ø)

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

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

@Paebbels
Paebbels merged commit 664d60d into dev Nov 18, 2026
71 of 72 checks passed
@Paebbels
Paebbels deleted the claude/prolog-substitutions branch November 18, 2026 15:54
@pyedaa-claude pyedaa-claude Bot mentioned this pull request Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dependencies Used by Dependabot. Documentation Improvements or additions to documentation

Development

Successfully merging this pull request may close these issues.

2 participants