Skip to content

Commit e3b10c6

Browse files
apartsinclaude
andcommitted
Frontmatter nav consistency: add missing up links to 36 pages
Every front-matter page now has a 3-link chapter-nav (prev/up/next). Fixed nav formatting in section-fm.5.html. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e29533d commit e3b10c6

4 files changed

Lines changed: 6 additions & 246 deletions

File tree

_audit_frontmatter.py

Lines changed: 0 additions & 120 deletions
This file was deleted.

_fix_frontmatter_nav.py

Lines changed: 0 additions & 121 deletions
This file was deleted.

front-matter/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,7 @@ <h2>What Comes Next</h2>
339339

340340
<nav class="chapter-nav">
341341
<a class="prev" href="../toc.html">Table of Contents</a>
342+
<a class="up" href="../toc.html">Contents</a>
342343
<a class="next" href="section-fm.1.html">FM.1: Introduction</a>
343344
</nav>
344345

front-matter/section-fm.5.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -231,11 +231,11 @@ <h2>Why This Matters</h2>
231231
see the <a href="../team.html">Writing Team</a> reference page.
232232
</p>
233233

234-
<nav class="chapter-nav">
235-
<a href="section-fm.4.html" class="prev">FM.4: How to Use This Book</a>
236-
<a href="index.html">Front Matter</a>
237-
<a href="../part-1-foundations/module-00-ml-pytorch-foundations/index.html" class="next">Chapter 00: ML &amp; PyTorch Foundations</a>
238-
</nav>
234+
<nav class="chapter-nav">
235+
<a class="prev" href="section-fm.4.html">FM.4: How to Use This Book</a>
236+
<a class="up" href="index.html">Front Matter</a>
237+
<a class="next" href="../part-1-foundations/module-00-ml-pytorch-foundations/index.html">Chapter 00: ML &amp; PyTorch Foundations</a>
238+
</nav>
239239

240240
<footer><p>Fifth Edition, 2026 &middot; <a href="../toc.html">Contents</a></p></footer>
241241
</main>

0 commit comments

Comments
 (0)