Skip to content

docs: add a reference page for CLI utilities #1080

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
May 16, 2025
Merged

Conversation

henryiii
Copy link
Collaborator

@henryiii henryiii commented May 15, 2025

Adding a reference page for this.

There's also a pathlib._local.Path warning when building the docs we should try to fix eventually.

Also preparing for a patch release with the 3.14 support and a bug fix.

Copy link
Collaborator

@LecrisUT LecrisUT left a comment

Choose a reason for hiding this comment

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

LGTM, just a nitpick

@henryiii henryiii requested a review from Copilot May 15, 2025 16:18
Copy link
Contributor

@Copilot 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 adds a new CLI reference documentation page and updates multiple CLI entry points by enhancing their ArgumentParser definitions with explicit prog and description parameters. It also updates the changelog, Sphinx configuration, and dependency list to support these changes and a patch release for Python 3.14 support.

  • Updated ArgumentParser definitions in various CLI modules
  • Added a new CLI reference page in the docs
  • Updated Sphinx configuration and dependency list in pyproject.toml

Reviewed Changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/scikit_build_core/file_api/reply.py Updated ArgumentParser with explicit prog and description
src/scikit_build_core/file_api/query.py Updated ArgumentParser with explicit prog and description
src/scikit_build_core/file_api/_cattrs_converter.py Updated ArgumentParser by adding a description for cattrs conversion
src/scikit_build_core/builder/wheel_tag.py Updated ArgumentParser with explicit prog and description
src/scikit_build_core/build/main.py Added prog to ArgumentParser and updated description for clarity
pyproject.toml Added dependency on sphinxcontrib-programoutput to docs requirements
docs/reference/cli.md Created a new CLI reference documentation page
docs/index.md Updated index to include the new CLI reference page
docs/conf.py Modified the Sphinx extensions list by adding new extensions
docs/about/changelog.md Updated changelog with new changes for version 0.11.3

@henryiii
Copy link
Collaborator Author

henryiii commented May 16, 2025

"python" isn't the python used to run sphinx, great. I feel like I ran into this before. Edit: Oh, this is only on Windows.

@henryiii henryiii force-pushed the henryiii/docs/cli branch from e536155 to efd66c5 Compare May 16, 2025 03:00
@henryiii henryiii merged commit 8139620 into main May 16, 2025
60 checks passed
@henryiii henryiii deleted the henryiii/docs/cli branch May 16, 2025 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants