chore(docs): remove tracked docs/dist build artifacts#42
Merged
weilaaa merged 1 commit intovolcengine:mainfrom Dec 16, 2025
Merged
Conversation
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.
Description
Remove mistakenly tracked documentation build outputs by deleting docs/dist and ensure future builds are ignored via .gitignore .
The branch is rebased on upstream/main to keep history clean and avoid repeated noise from generated artifacts.
No functional code changes; this is a repository hygiene cleanup.
What Changed
Deleted tracked docs/dist from version control (commit 8185bc7 ).
Rely on existing ignore rule docs/dist/ in .gitignore to prevent future tracking ( /Users/bytedance/Desktop/ve-arch/agent/veaiops/.gitignore:77 ).
Motivation
Build artifacts change frequently and cause:
Documentation static assets should be produced and published by CI/release pipelines, not stored in the repo.
Type of Change
Documentation/repo hygiene (no functional changes)
Bug fix
New feature
Breaking change
Refactoring
Testing
Pre-commit hooks passed ( ruff , bandit , codespell , secret scans, etc.).
git status confirms docs/dist is removed and now ignored; rebuilding docs locally does not re-stage the directory.
No impact on build or runtime; only tracked artifacts are removed.
Risk & Impact
Low risk: removing generated outputs only, no source or runtime logic changed.
If any process relied on docs/dist being in the repo, migrate to CI to build and publish artifacts (static site or artifact registry).
Rollback Plan
If temporary restoration is needed, rebuild docs locally or fetch from the artifact/hosting environment; do not re-commit build outputs to the repo.
Related
Existing ignore rules: docs/_build/ , docs/.output/ , docs/dist/ ( /Users/bytedance/Desktop/ve-arch/agent/veaiops/.gitignore:75–78 ).
Branch: songyu-bytedance:fix/intelligent-threshold , rebased onto volcengine:main .
Checklist
Rebased on upstream/main
Removed tracked docs/dist
Verified .gitignore rules
Pre-commit checks passed
No functional or API changes