docs(site): replace starter README and title code fences throughout the manual #75
Reference in New Issue
Block a user
Delete Branch "docs-option-tables"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-ups to the Starlight migration (PR #74):
astro create --template starlightscaffold READMEunder
docs/site/with one describing this project's two-source SSOTand dev/deploy workflow.
convention for fenced code blocks across the generated site:
"Usage"and the EXAMPLE block gets its own fence titled
"Examples"(
build-manual.py's_prettify_block, triggered by a flatExample:label line mirroring the existing
Synopsis:handling), propagatingto all ~96 generated function reference pages.
docs/manual/**) pick up two new generic signals in_render_para: a bare indented path ending in a known extension istitled by its basename, and a leading
# in <file>/# <file>comment on a shell paragraph is promoted to the fence title. This
titles the
local.fish/secrets.fishpath displays and overrideexamples in
07-customization.md(plus a bonus.logging_disabledhit) and the
secrets.fishexample in10-personalization.md, withno changes needed to
docs/manual/**.mdbeyond the existingindentation —
test_prettify_is_site_onlystill forbids literalfences in the SSOT.
Manual Verification
python3 docs/verify-manual.py→25/25 passed, same pre-existing8-function CATEGORY warning, nothing else.
python3 docs/build-manual.py --site, then check a generatedfunction page (e.g.
/reference/git-and-version-control/branch/) —the synopsis fence should show a
Usagetab and, for functions withan EXAMPLE, a separate
Examplesfence below it./reference/customization/— thelocal.fish/secrets.fishpath tree and the override examples should show filename tabs
(
local.fish,secrets.fish,.logging_disabled)./reference/personalization/— thesecrets.fishexampleblock should show a
secrets.fishtab; the fourlocal.fishexamples intentionally keep their descriptive comments instead
(
# CDPATH — …,# SSH shortcuts, etc.) rather than a redundantlocal.fishtitle repeated four times.docs/site/README.mdand confirm it describes this repo, notthe Starlight starter kit.
docs(site): replace starter README and title synopsis fencesto docs(site): replace starter README and title code fences throughout the manual