Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
840f042
feat: add Table of Contents to generated markdown documents (#1970)
Quratulain-bilal Apr 3, 2026
07068d8
fix: address Copilot review - clarify TOC placement wording
Quratulain-bilal Apr 3, 2026
24db1ad
fix: include TOC sections in structure templates
Quratulain-bilal Apr 3, 2026
2d447ac
fix: include TOC in structure templates and fix tasks TOC placement w…
Quratulain-bilal Apr 3, 2026
d40556e
fix: correct TOC anchors to match headings with mandatory suffix
Quratulain-bilal Apr 3, 2026
4189f18
fix: include all ##-level headings in tasks-template TOC
Quratulain-bilal Apr 3, 2026
10b792c
fix: add missing TOC entries in tasks-template, remove leading blank …
Quratulain-bilal Apr 3, 2026
a50a4f1
fix: move TOC after metadata block and include all ## headings in tas…
Quratulain-bilal Apr 3, 2026
8fe5b42
fix: use plain text for dynamic phase entries in tasks-template TOC
Quratulain-bilal Apr 3, 2026
06963de
fix: remove hardcoded anchor links from template TOCs, use plain text…
Quratulain-bilal Apr 3, 2026
1543cde
fix: remove HTML comments from template TOCs
Quratulain-bilal Apr 3, 2026
1c6792d
fix: add missing Parallel Example heading to tasks-template TOC
Quratulain-bilal Apr 3, 2026
760d638
revert: remove all core template changes, pivot to preset approach
Quratulain-bilal Apr 3, 2026
f546632
feat: deliver TOC navigation as a preset (closes #1970)
Quratulain-bilal Apr 4, 2026
00187d9
feat: publish toc-navigation preset to community catalog (#1970)
Quratulain-bilal Apr 6, 2026
263e5ae
Add toc-navigation preset to main README community presets table
Quratulain-bilal Apr 7, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: remove hardcoded anchor links from template TOCs, use plain text…
… exemplars
  • Loading branch information
Quratulain-bilal committed Apr 6, 2026
commit 06963de5ba4f0bf7b73bd474ebe6db486f04771c
13 changes: 8 additions & 5 deletions templates/plan-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@

## Table of Contents

- [Summary](#summary)
- [Technical Context](#technical-context)
- [Constitution Check](#constitution-check)
- [Project Structure](#project-structure)
- [Complexity Tracking](#complexity-tracking)
<!-- TOC below is an exemplar. The /speckit.plan command MUST regenerate
this list with proper anchor links from the actual ## headings. -->

- Summary
- Technical Context
- Constitution Check
- Project Structure
- Complexity Tracking

**Note**: This template is filled in by the `/speckit.plan` command. See `.specify/templates/plan-template.md` for the execution workflow.

Expand Down
11 changes: 7 additions & 4 deletions templates/spec-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@

## Table of Contents

- [User Scenarios & Testing](#user-scenarios--testing-mandatory)
- [Requirements](#requirements-mandatory)
- [Success Criteria](#success-criteria-mandatory)
- [Assumptions](#assumptions)
<!-- TOC below is an exemplar. The /speckit.specify command MUST regenerate
this list with proper anchor links from the actual ## headings. -->

- User Scenarios & Testing
- Requirements
- Success Criteria
- Assumptions

## User Scenarios & Testing *(mandatory)*

Expand Down
12 changes: 6 additions & 6 deletions templates/tasks-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ description: "Task list template for feature implementation"
## Table of Contents

<!-- TOC below is an exemplar. The /speckit.tasks command MUST regenerate
this list from the actual ## headings in the final document. -->
this list with proper anchor links from the actual ## headings. -->

- [Format](#format-id-p-story-description)
- [Path Conventions](#path-conventions)
- Format
- Path Conventions
- Phase 1: Setup (Shared Infrastructure)
- Phase 2: Foundational (Blocking Prerequisites)
- Phase 3+: User Story phases (generated from spec.md priorities)
- Phase N: Polish & Cross-Cutting Concerns
- [Dependencies & Execution Order](#dependencies--execution-order)
- [Implementation Strategy](#implementation-strategy)
- [Notes](#notes)
- Dependencies & Execution Order
- Implementation Strategy
- Notes

## Format: `[ID] [P?] [Story] Description`

Expand Down