Skip to content

Conversation

@ppinchuk
Copy link
Collaborator

@ppinchuk ppinchuk commented Oct 20, 2025

Update docs action to fail on errors

Copilot Summary:

This PR updates documentation build configuration to fail on warnings and improves documentation quality throughout the codebase. Key changes include configuring Sphinx to use strict validation flags, updating intersphinx mappings, and standardizing docstring formatting across multiple modules.

Key Changes

  • Updated Sphinx configuration to fail on warnings with --fail-on-warning --keep-going --nitpicky flags
  • Standardized type annotations in docstrings to use Napoleon type aliases
  • Renamed internal classes (Link_Link, LocalProcessQueueHandler_LocalProcessQueueHandler, etc.) to follow private naming conventions

Reviewed Changes

Copilot reviewed 37 out of 38 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
pyproject.toml Updated pixi configuration and elm dependency version; added Sphinx error flags
docs/source/conf.py Reorganized intersphinx mappings, expanded Napoleon type aliases, enhanced autodoc filters
docs/source/dev/README.rst Added langchain_text_splitters to intersphinx documentation
tests/python/web/test_web_crawl.py Updated test references from Link to _Link
compass/web/website_crawl.py Renamed Link class to _Link; fixed docstring formatting
compass/validation/*.py Standardized docstring type references to use aliases
compass/utilities/*.py Updated type annotations to use pandas/datetime prefixes
compass/services/*.py Standardized service class docstrings
compass/llm/*.py Enhanced docstrings with See Also sections
compass/extraction/**/*.py Standardized docstring formatting and type references
compass/common/*.py Updated return type annotations
.github/workflows/*.yml Added path filters and updated comments

@ppinchuk ppinchuk added this to the Finishing touches for OSS milestone Oct 20, 2025
@ppinchuk ppinchuk self-assigned this Oct 20, 2025
@ppinchuk ppinchuk added chore Maintenance work that does not impact the user github_actions Pull requests that update GitHub Actions code labels Oct 20, 2025
@ppinchuk ppinchuk linked an issue Oct 20, 2025 that may be closed by this pull request
@ppinchuk ppinchuk requested review from castelao and Copilot October 21, 2025 14:14
@ppinchuk
Copy link
Collaborator Author

@castelao This is ready for review

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates documentation build configuration to fail on warnings and improves documentation quality throughout the codebase. Key changes include configuring Sphinx to use strict validation flags, updating intersphinx mappings, and standardizing docstring formatting across multiple modules.

Key Changes

  • Updated Sphinx configuration to fail on warnings with --fail-on-warning --keep-going --nitpicky flags
  • Standardized type annotations in docstrings to use Napoleon type aliases
  • Renamed internal classes (Link_Link, LocalProcessQueueHandler_LocalProcessQueueHandler, etc.) to follow private naming conventions

Reviewed Changes

Copilot reviewed 37 out of 38 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
pyproject.toml Updated pixi configuration and elm dependency version; added Sphinx error flags
docs/source/conf.py Reorganized intersphinx mappings, expanded Napoleon type aliases, enhanced autodoc filters
docs/source/dev/README.rst Added langchain_text_splitters to intersphinx documentation
tests/python/web/test_web_crawl.py Updated test references from Link to _Link
compass/web/website_crawl.py Renamed Link class to _Link; fixed docstring formatting
compass/validation/*.py Standardized docstring type references to use aliases
compass/utilities/*.py Updated type annotations to use pandas/datetime prefixes
compass/services/*.py Standardized service class docstrings
compass/llm/*.py Enhanced docstrings with See Also sections
compass/extraction/**/*.py Standardized docstring formatting and type references
compass/common/*.py Updated return type annotations
.github/workflows/*.yml Added path filters and updated comments

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

castelao
castelao previously approved these changes Oct 21, 2025
Copy link
Member

@castelao castelao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ppinchuk . This was a lot of work to walk through all these files. It will help the onboarding process. Thanks!

@ppinchuk ppinchuk merged commit ef7ebed into main Oct 21, 2025
3 checks passed
@ppinchuk ppinchuk deleted the pp/docs_action branch October 21, 2025 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Maintenance work that does not impact the user github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Track warnings from building documentation

3 participants