feat(docs): Starlight asides and file-tree conversions (site-build-only) #78
No Reviewers
Labels
Clear labels
Area/CI
Area/Completions
Area/Components
Area/Config
Area/Docs
Area/Functions
Area/Integrations
Area/Prompt & Theme
Area/Scripts
Area/Tests
Compat/Breaking
Kind/Bug
Kind/Chore
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Performance
Kind/Refactor
Kind/Security
Kind/Testing
good first issue
help wanted
.github/workflows and repository automation
completions/ - tab-completion scripts
The opinionated-component system (C1-C6)
config.fish and conf.d/ - startup and environment
docs/manual/ and the generated manual, man page, and site
functions/ - user-facing functions and helpers
integrations/ - third-party tool wiring
themes/ and prompt appearance
scripts/ - standalone helper scripts
tests/ - the syntax lint and functional suite
Breaking change that won't be backward compatible
Something is not working
Tooling, dependencies, and housekeeping
Documentation changes
Improve existing functionality
New functionality
Makes existing behavior faster or lighter
Restructures code without changing behavior
This is security issue
Issue or pull request related to testing
Well-scoped and self-contained; a good place to start
Maintainer is looking for someone to pick this up
Priority
Critical
1
The priority is critical
Priority
High
2
The priority is high
Priority
Medium
3
The priority is medium
Priority
Low
4
The priority is low
Reviewed
Confirmed
1
Issue has been confirmed
Reviewed
Duplicate
2
This issue or pull request already exists
Reviewed
Invalid
3
Invalid issue
Reviewed
Won't Fix
3
This issue won't be fixed
Status
Blocked
1
Something is blocking this issue or pull request
Status
Need More Info
2
Feedback is required to reproduce issue or to continue work
Status
Abandoned
3
Somebody has started to work on this but abandoned work
No labels
Milestone
No items
No Milestone
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: rootiest/fish-config#78
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
LABEL:SSOT paragraphs (NOTE/IMPORTANT/TIP/HINT/WARNING/CAUTION/DANGER) into Starlight<Aside>components, and the one ASCII file tree indocs/manual/10-personalization.mdinto a Starlight<FileTree>component — both only at site-build time (build_site()), never touching the man-page/config-help/concat pipeline..mdto.mdxwith the needed import line; everything else stays.md.docs/manual/07-customization.md'sNotes:list rewritten to aNOTE:callout paragraph as the first real-world usage.AGENTS/AGENTS.md(Documentation Policy section).Implementation notes
test_prettify_is_site_onlyguard, all 3prettify()call sites confined tobuild_site(), and all 17 generated.mdxpages compiled through a real@mdx-js/mdx+remark-gfmparser) but flagged two Important findings, both fixed and independently re-verified before this PR:<Aside>and let bullets escape it — now scoped to the aside's interior text.FileTreedetector's branch-line regex accepted second-level (nested) lines and silently flattened them instead of rejecting the tree as documented ("single-level nesting only") — the regex no longer matches nested lines, and a regression test locks this in.python3 docs/verify-manual.py).Manual Verification
python3 docs/verify-manual.pyand confirm43/43 passed,0 FAILdocs/site) and visually confirm:07-customizationrenders itsNOTE:paragraph as a Starlight<Aside>with all 4 bullets inside it10-personalizationrenders its file listing as a Starlight<FileTree>11-viewing-this-manualrenders correctly as an asidedocs/fish-config.1) andconfig-helpoutput show the same three sections as plain, unconverted text — no<Aside/<FileTree/literal component markup anywhere.mdpages in the generated site still render as.md(not wrongly promoted to.mdx)