Skip to content

Untrack Sphinx build output; add docs/_build/ to .gitignore#28

Merged
rwilson4 merged 1 commit into
masterfrom
claude/untrack-build-output
May 7, 2026
Merged

Untrack Sphinx build output; add docs/_build/ to .gitignore#28
rwilson4 merged 1 commit into
masterfrom
claude/untrack-build-output

Conversation

@rwilson4
Copy link
Copy Markdown
Owner

@rwilson4 rwilson4 commented May 7, 2026

Summary

  • Replaces the partial Sphinx gitignore entries (docs/_build/doctrees/ and docs/_build/html/.buildinfo.bak) and the now-obsolete comment explaining why html/ must be tracked with a single docs/_build/ rule
  • Runs git rm -r --cached docs/_build/ to remove all 65 previously tracked files from the index; working-tree contents are untouched so local make html previews still work
  • Eliminates spurious docs/** trigger fires on the deploy workflow: with build output untracked, a push to docs/** means a real source-file change, not a rebuild-and-commit cycle

No workflow changes — this is a pure .gitignore + index cleanup.

Test plan

  • Confirm docs/_build/ absent from git ls-files after merge
  • Confirm local cd docs && uv run make html still produces output in docs/_build/html/ (working tree, not tracked)
  • Confirm next docs source change triggers exactly one deploy workflow run

🤖 Generated with Claude Code

CI now builds and rsyncs docs directly — committing build artifacts
serves no purpose and causes spurious docs/** trigger fires. Remove the
now-obsolete comment explaining why html/ was tracked, replace the
partial entries (doctrees/ and .buildinfo.bak) with a single docs/_build/
rule, and remove all 65 tracked files from the index (working-tree
contents untouched for local previews).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@rwilson4 rwilson4 merged commit 2d8a726 into master May 7, 2026
4 checks passed
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.

1 participant