Skip to content

Add CI check that generated documentation is up to date#10986

Open
Pierre-Sassoulas wants to merge 2 commits intopylint-dev:mainfrom
Pierre-Sassoulas:doc-stay-up-to-date
Open

Add CI check that generated documentation is up to date#10986
Pierre-Sassoulas wants to merge 2 commits intopylint-dev:mainfrom
Pierre-Sassoulas:doc-stay-up-to-date

Conversation

@Pierre-Sassoulas
Copy link
Copy Markdown
Member

Type of Changes

Type
✨ New feature
📜 Docs

Description

The Sphinx extensions in doc/exts/ regenerate tracked .rst files on
every build, but a clean Sphinx build was not enough to flag drift in
the committed copies. Run 'git diff --exit-code' after 'tox -e docs' so
PRs that change checker messages or options must include the
regenerated docs.

@Pierre-Sassoulas Pierre-Sassoulas added Maintenance Discussion or action around maintaining pylint or the dev workflow Skip news 🔇 This change does not require a changelog entry labels Apr 26, 2026
The Sphinx extensions in doc/exts/ regenerate tracked .rst files on
every build, but a clean Sphinx build was not enough to flag drift in
the committed copies. Run 'git diff --exit-code' after 'tox -e docs' so
PRs that change checker messages or options must include the
regenerated docs.
@Pierre-Sassoulas
Copy link
Copy Markdown
Member Author

image

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.19%. Comparing base (b080a21) to head (c86eabf).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main   #10986   +/-   ##
=======================================
  Coverage   96.19%   96.19%           
=======================================
  Files         178      178           
  Lines       19683    19683           
=======================================
  Hits        18934    18934           
  Misses        749      749           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions
Copy link
Copy Markdown
Contributor

🤖 According to the primer, this change has no effect on the checked open source code. 🤖🎉

This comment was generated for commit c86eabf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Maintenance Discussion or action around maintaining pylint or the dev workflow Skip news 🔇 This change does not require a changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant