Skip to content

Comments

Add DLC filter to Cookbooks page#314

Closed
zurillion wants to merge 6 commits intoRoundtableHold:mainfrom
zurillion:claude/review-changes-mlsgga5of9bfkyl2-R7tG0
Closed

Add DLC filter to Cookbooks page#314
zurillion wants to merge 6 commits intoRoundtableHold:mainfrom
zurillion:claude/review-changes-mlsgga5of9bfkyl2-R7tG0

Conversation

@zurillion
Copy link
Contributor

Summary

  • Tags all 13 Shadow of the Erdtree cookbook categories with dlc: true
    at section level in cookbooks.yaml
  • Adds 'cookbooks' to the DLC-aware page set in generate.py (3
    occurrences) so the Show / Base Game / DLC selector is rendered
    and data-dlc attributes are emitted on every item
  • Regenerates docs/checklists/cookbooks.html

Why section-level tagging

Every cookbook category is 100% base game or 100% DLC — no section
mixes the two. Tagging at section level means the filter never produces
an empty category, and the YAML stays clean without per-item boilerplate.

Result: 45 DLC items across 13 sections, 59 base game items across
8 sections.

DLC sections tagged

Forager Brood · Igon's · Finger-Weaver's · Greater Potentate's ·
Ancient Dragon Knight's · Mad Craftsman's · St. Trina Disciple's ·
Fire Knight's · Loyal Knight's · Battlefield Priest's · Grave Keeper's ·
Antiquity Scholar's · Tibia's

Test plan

  • Open Cookbooks page — confirm Show / Base Game / DLC dropdown is visible
  • Select Base Game — only the 8 base game sections remain
  • Select DLC — only the 13 DLC sections remain, no empty categories
  • Select Both — all 21 sections shown

claude and others added 6 commits February 18, 2026 21:48
Adds a workflow that runs on every PR and push to main.
It installs dependencies, re-runs generate.py, and fails
with a clear message if the committed HTML in docs/ differs
from what the generator would produce — preventing drift
between the YAML source files and the checked-in HTML.

https://claude.ai/code/session_01N58bvEvfg7jhcnDJaCpnD5
Instead of failing the PR when HTML is out of sync with YAML,
the workflow now runs generate.py and pushes the result back
to the PR branch automatically. This makes the workflow safe
for agent-authored PRs (Codex, Claude) that may only edit
YAML without regenerating the HTML.

https://claude.ai/code/session_01N58bvEvfg7jhcnDJaCpnD5
The file was misnamed .gitatttributes (3 t's) so git was never
reading it. Renamed to .gitattributes and added linguist-generated
attribute for docs/checklists/*.html so GitHub collapses those
diffs by default in pull requests.

https://claude.ai/code/session_01N58bvEvfg7jhcnDJaCpnD5
…bfkyl2-R7tG0

Claude/review changes mlsgga5of9bfkyl2 r7t g0
Tag the 13 Shadow of the Erdtree cookbook categories with dlc: true at
section level (Forager Brood, Igon's, Finger-Weaver's, Greater
Potentate's, Ancient Dragon Knight's, Mad Craftsman's, St. Trina
Disciple's, Fire Knight's, Loyal Knight's, Battlefield Priest's, Grave
Keeper's, Antiquity Scholar's, Tibia's).

Add 'cookbooks' to the DLC-aware page set in generate.py so the
Show/Base Game/DLC selector is rendered and data-dlc attributes are
emitted for every item on the page.

Result: 45 DLC items, 59 base game items, all sections are homogeneous
so the filter never produces an empty category.

https://claude.ai/code/session_01N58bvEvfg7jhcnDJaCpnD5
@zurillion zurillion closed this Feb 18, 2026
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