Add slot-based image and gallery system#5
Conversation
There was a problem hiding this comment.
💡 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".
| - [link] | ||
| - [link] | ||
|
|
||
| ![Placeholder image representing data sources and metadata][slot-data]{ .slot-square-image } |
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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 👍 / 👎.
No description provided.