Skip to content

Add slot-based image and gallery system#5

Merged
ttuff merged 1 commit into
mainfrom
codex-image-system-workflow
Apr 23, 2026
Merged

Add slot-based image and gallery system#5
ttuff merged 1 commit into
mainfrom
codex-image-system-workflow

Conversation

@ttuff

@ttuff ttuff commented Apr 23, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@ttuff ttuff merged commit a9acef5 into main Apr 23, 2026
2 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 94835ff52c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/resources.md
- [link]
- [link]

![Placeholder image representing data sources and metadata][slot-data]{ .slot-square-image }

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Add slot references on every page that uses slot images

docs/resources.md, docs/work-plan.md, and docs/community-care.md now use [slot-*] image references, but only docs/index.md includes --8<-- "_generated/image_slots.md" (line 155). Because reference-style link definitions are page-scoped, those new images resolve on Home but not on the other pages, so users see broken/unresolved image markup there. Include the generated slot definitions on each page that uses slot refs (or switch those images to inline paths).

Useful? React with 👍 / 👎.

DELIVERABLE_EXTENSIONS = {".pdf", ".html", ".csv", ".xlsx", ".docx", ".pptx"}
SUPPORTED_EXTENSIONS = IMAGE_EXTENSIONS | DELIVERABLE_EXTENSIONS
CAPTION_FILE = "captions.txt"
REPO_URL = "https://github.com/CU-ESIIL/Working_group_OASIS"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Derive repository URL instead of hardcoding template repo

REPO_URL is fixed to https://github.com/CU-ESIIL/Working_group_OASIS, and github_folder_url() uses it for all generated “replace/add files in GitHub” links. In repositories created from this template, rerunning the generator will produce links that point back to the template repo instead of the active working-group repo, which sends maintainers to the wrong project when they try to update assets.

Useful? React with 👍 / 👎.

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.

1 participant