Skip to content

Clear out directory after docs build and remove stale previews - #1300

Open
efaulhaber wants to merge 3 commits into
trixi-framework:mainfrom
efaulhaber:docs-clear-outdir
Open

Clear out directory after docs build and remove stale previews#1300
efaulhaber wants to merge 3 commits into
trixi-framework:mainfrom
efaulhaber:docs-clear-outdir

Conversation

@efaulhaber

@efaulhaber efaulhaber commented Aug 20, 2026

Copy link
Copy Markdown
Member

When cloning TrixiParticles.jl, we already have to download 200MB, the majority of which is the gh-pages branch. Most of that comes from the VTK files that are generated during the doctests and literate tutorials, which are all committed to gh-pages in every single docs build, including PR previews.

This PR

@efaulhaber efaulhaber self-assigned this Aug 20, 2026
@efaulhaber efaulhaber added the documentation Improvements or additions to documentation label Aug 20, 2026
@efaulhaber
efaulhaber requested a review from svchb August 20, 2026 18:10
@efaulhaber efaulhaber added the bug Something isn't working label Aug 20, 2026
@efaulhaber efaulhaber changed the title Clear out directory after docs build Clear out directory after docs build and remove stale previews Aug 20, 2026
@codecov

codecov Bot commented Aug 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.49%. Comparing base (26c5fcc) to head (48f95c4).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1300   +/-   ##
=======================================
  Coverage   90.49%   90.49%           
=======================================
  Files         139      139           
  Lines       11337    11337           
=======================================
  Hits        10259    10259           
  Misses       1078     1078           
Flag Coverage Δ
total 90.49% <ø> (ø)
unit 77.58% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@efaulhaber efaulhaber left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Codex Review

The PR removes generated tutorial outputs before documentation deployment and adds closed-PR preview cleanup with history compaction.

This is an AI-generated code review. Please verify the findings and summary before acting on them.
Review generated by codex-pr-review

Comment thread .github/workflows/DocPreviewCleanup.yml
Comment thread .github/workflows/DocPreviewCleanup.yml
Comment thread .github/workflows/DocPreviewCleanup.yml
Comment thread docs/make.jl
Comment thread .github/workflows/DocPreviewCleanup.yml Outdated
Comment thread docs/make.jl Outdated
Comment thread docs/make.jl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant