Skip to content

Keep docs package list outside clean cache#39

Merged
eric-tramel merged 1 commit into
mainfrom
codex/fix-docs-package-list-cache
May 8, 2026
Merged

Keep docs package list outside clean cache#39
eric-tramel merged 1 commit into
mainfrom
codex/fix-docs-package-list-cache

Conversation

@eric-tramel
Copy link
Copy Markdown
Contributor

What

Move the Documentation workflow's downloaded package-list metadata out of .cache before running the docs build.

Why

The workflow was downloading ddp-package-assets/packages.json successfully, but zensical build --clean removes .cache before make package-index runs. That made the deployed Simple index empty even with a non-empty package list.

How

Use package-index-metadata/packages.json as the temporary package-list path and pass that same path to make docs.

Validation

  • Parsed .github/workflows/docs.yml with PyYAML.
  • Downloaded the released 338-byte packages.json through the workflow's gh api path.
  • Ran make docs PACKAGE_LIST=package-index-metadata/packages.json locally and confirmed site/packages.json is 338 bytes and site/simple/data-designer-retrieval-sdg/index.html plus pypi JSON files are generated.

@eric-tramel eric-tramel requested a review from a team as a code owner May 8, 2026 18:34
@eric-tramel eric-tramel merged commit 49e4928 into main May 8, 2026
6 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.

2 participants