chore: remove committed build artifacts and tighten .gitignore#5
Closed
Copilot wants to merge 2 commits into
Closed
chore: remove committed build artifacts and tighten .gitignore#5Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
Co-authored-by: c-lydia <83197148+c-lydia@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Clean up Git repository structure and organization
chore: remove committed build artifacts and tighten .gitignore
Mar 3, 2026
There was a problem hiding this comment.
Pull request overview
Removes accidentally committed documentation build artifacts (Sphinx HTML/doctrees, LaTeX logs, backup tarballs, and legacy GitHub Pages output) and updates .gitignore to prevent reintroducing them.
Changes:
- Removed tracked build-generated docs output under
docs/build/and legacy deployment output under.ghpages/ - Removed stale root-level
source/Sphinx stub files and other stray build artifacts (docs/texput.log, committeddocs/Makefile) - Simplified
.gitignoreto ignore entire build/output directories (docs/build/,docs/backups/,.ghpages/, etc.)
Reviewed changes
Copilot reviewed 89 out of 216 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
.gitignore |
Broadens ignore patterns for docs build/backups and legacy deploy output (needs a small fix to avoid ignoring docs/source/). |
source/conf.py |
Removes stale root-level Sphinx config superseded by docs/source/conf.py. |
source/index.rst |
Removes stale root-level Sphinx index superseded by docs/source/index.rst. |
docs/Makefile |
Removes previously committed docs build Makefile (was intended to be untracked). |
docs/texput.log |
Removes LaTeX build log artifact and adds ignore rule to keep it untracked. |
docs/build/** |
Removes Sphinx build outputs (HTML, doctrees, LaTeX outputs) from version control. |
docs/backups/** |
Removes backup tarballs from version control and adds ignore rule to keep them untracked. |
.ghpages/** |
Removes legacy GitHub Pages output tree from version control and adds ignore rule to keep it untracked. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
215 build-generated files were accidentally committed, bloating the repo with Sphinx doctrees, rendered HTML, font assets, backup tarballs, and LaTeX logs.
Removed from tracking (
git rm --cached).ghpages/— full Sphinx HTML output tree (old manual deploy method)docs/build/— doctrees, rendered HTML, and LaTeX PDF outputdocs/backups/— HTML backup tarballsdocs/texput.log— LaTeX build logdocs/Makefile— was already gitignored but had been committedsource/(root-level) — staleconf.py/index.rstleftover, superseded bydocs/source/.gitignoreupdatesReplaced the piecemeal per-file/per-subdir patterns with broader directory-level ignores:
Repository drops from 445 → 230 tracked files. All remaining files are source, published assets, or intentional project artifacts.
Original prompt
Created from VS Code.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.