-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
autogen-bugBug: Autogen logic broken by index.md namingBug: Autogen logic broken by index.md namingbugSomething isn't workingSomething isn't workingoutput-pathsOutput path logic and refactoringOutput path logic and refactoringstatic-siteStatic site generator core featuresStatic site generator core featurestoc-slugTOC/slug logic and navigationTOC/slug logic and navigation
Description
Bug Description
When a top-level file (e.g., or ) is placed as a child in the TOC, the link logic for autogenerated section index pages is incorrect. This causes download buttons and navigation links to break or point to the wrong location.
Steps to Reproduce
- Place a top-level file as a child in the TOC (see ).
- Build the site.
- Visit the autogenerated section index page.
- Observe broken or incorrect links for the child page.
Expected Behavior
- Links to child pages should resolve correctly regardless of their original location.
- Download buttons should point to the correct files.
Actual Behavior
- Links and download buttons are broken or incorrect for top-level files placed as children.
Labels
- bug
- autogen-bug
- toc-slug
- output-paths
- static-site
Context
- Detected in latest build after fixing download button logic.
- See and for TOC and link generation logic.
Filed by: GitHub Copilot (robot)
Metadata
Metadata
Assignees
Labels
autogen-bugBug: Autogen logic broken by index.md namingBug: Autogen logic broken by index.md namingbugSomething isn't workingSomething isn't workingoutput-pathsOutput path logic and refactoringOutput path logic and refactoringstatic-siteStatic site generator core featuresStatic site generator core featurestoc-slugTOC/slug logic and navigationTOC/slug logic and navigation