Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Exclude _build directory from pre-commit sphinx build.#509

Merged
drewoldag merged 1 commit intomainlincc-frameworks/python-project-template:mainfrom
issue/508/avoid-nested-build-dirlincc-frameworks/python-project-template:issue/508/avoid-nested-build-dirCopy head branch name to clipboard
Mar 28, 2025
Merged

Exclude _build directory from pre-commit sphinx build.#509
drewoldag merged 1 commit intomainlincc-frameworks/python-project-template:mainfrom
issue/508/avoid-nested-build-dirlincc-frameworks/python-project-template:issue/508/avoid-nested-build-dirCopy head branch name to clipboard

Conversation

@drewoldag
Copy link
Collaborator

Change Description

Include _build in the list of excluded patterns when sphinx is building documentation during pre-commit. FWIW, the makefile for building docs from the command line also lists _build as a directory to exclude.

@drewoldag drewoldag requested review from a team and mtauraso and removed request for a team February 26, 2025 22:45
@drewoldag drewoldag self-assigned this Feb 26, 2025
@drewoldag drewoldag linked an issue Feb 26, 2025 that may be closed by this pull request
Copy link
Contributor

@mtauraso mtauraso left a comment

Choose a reason for hiding this comment

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

LGTM

@drewoldag drewoldag merged commit 92700d2 into main Mar 28, 2025
5 checks passed
@drewoldag drewoldag deleted the issue/508/avoid-nested-build-dir branch March 28, 2025 18:05
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.

Avoid nested _build directories in docs.

2 participants

Comments

Close sidebar
Morty Proxy This is a proxified and sanitized view of the page, visit original site.