Reduce site storage - #1256
Draft
felker wants to merge 2 commits into
Draft
Conversation
Delete 48 files (~29 MB) that ship into every deploy but are not reachable from any page: - IO-optimization_mcpheeters.pdf (10.4 MB): the data-policy page links the external alcf.anl.gov copy; this local duplicate was never linked - 45 orphaned images/GIFs/EPS verified unreferenced by grepping every basename across docs/, overrides/, includes/, scripts/, and mkdocs.yml (largest clusters: old GitLab CI screenshots in polaris/compiling-and-linking/files/, Docker/Singularity walkthrough GIFs in services/files/, unused ACDC and project-management sets) - aps_report HTML (0.24 MB) whose only link was already commented out - advisor-report_amr-wind.html (5.7 MB): referenced, so the advisor.md link is stubbed out with a comment until the report is hosted externally, following the aps.md precedent Enable navigation.prune (mkdocs.yml): the 69 KB sidebar nav was embedded byte-identically in all ~250 pages (~17 MB of built HTML, rewritten on every deploy that touches the nav). Collapsed sections now navigate to their first page instead of expanding in place; navigation.instant keeps this fast. docs/ 81 -> 53 MB; built site/ 115 -> 73 MB. Strict build and inbound link validation pass. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ATF2kcyeGMrCwjtzxdDjNC
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.
Delete 48 files (~29 MB) that ship into every deploy but are not reachable from any page:
Enable navigation.prune (mkdocs.yml): the 69 KB sidebar nav was embedded byte-identically in all ~250 pages (~17 MB of built HTML, rewritten on every deploy that touches the nav). Collapsed sections now navigate to their first page instead of expanding in place; navigation.instant keeps this fast.
docs/ 81 -> 53 MB; built site/ 115 -> 73 MB