Skip to content

Public-readiness (2/3): friendlier indexes + recipe breadcrumbs - #72

Merged
jposluns merged 1 commit into
mainfrom
claude/public-readiness-nav
Jul 7, 2026
Merged

jposluns merged 1 commit into
mainfrom
claude/public-readiness-nav

Conversation

@jposluns

@jposluns jposluns commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Part 2 of the public-readiness effort. Makes the archive navigable for a non-technical visitor who lands on any page.

What changed

  • Friendlier generated indexes. Category READMEs, recipes/README.md, and recipes/tags.md now open with a short welcome line and a navigation row (Home / All recipes / By tag / Get the cookbook), so a reader can move around without editing URLs. Regenerated via tools/gen_readmes.py and tools/tag_recipes.py.
  • Per-recipe breadcrumbs. Added tools/add_breadcrumbs.py, an idempotent, value-guarded tool that inserts a Home / All recipes / <category> breadcrumb just under the title of every recipe page, and ran it across all 487 recipes. The breadcrumb renders as links on GitHub; the invisible <!-- nav --> marker is stripped from the EPUB build so the e-book is unchanged.
  • EPUB build ignores the marker. build_epub.py render_body now drops the <!-- nav --> line, and BlimaCake.epub was rebuilt to confirm (breadcrumb marker in EPUB: 0).

Fidelity

No cook-from value, ingredient, or method text was touched. The breadcrumb is a single generated line under the H1. Verified: whole-file number-multiset identical to main for every recipe (0 drift), check_step_values no drift, frontmatter/body step parity intact, dash guard clean, validate_frontmatter 0 errors, check_images 0 missing/orphan, markdownlint 0 errors. add_breadcrumbs.py --check re-run reports 0 further changes (idempotent).

🤖 Generated with Claude Code

https://claude.ai/code/session_01HpG2vky2XhDtfc6y16TRis


Generated by Claude Code

Add a welcome line and navigation row to every generated index (category
READMEs, recipes/README.md, tags.md) so visitors can move around without
editing URLs. Add tools/add_breadcrumbs.py, an idempotent value-guarded
tool that inserts a Home / All recipes / category breadcrumb under the
title of all 487 recipe pages, and run it. The breadcrumb renders as links
on GitHub and is stripped from the EPUB build. No cook-from value or
method text changed.

Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HpG2vky2XhDtfc6y16TRis
@jposluns
jposluns merged commit 755c7cf into main Jul 7, 2026
4 checks passed
@jposluns
jposluns deleted the claude/public-readiness-nav branch July 7, 2026 13:51
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