build(docs): strip LinkButton from concatenated terminal output

This commit is contained in:
2026-07-26 22:55:12 -04:00
parent c126296935
commit 25fb02b7ac
2 changed files with 1 additions and 3 deletions
+1
View File
@@ -78,6 +78,7 @@ def build_concat(root: Path) -> str:
if _is_function_page(path, root):
body = _with_entries(body, path, entries)
if body:
body = re.sub(r"<LinkButton.*?</LinkButton>\n*", "", body, flags=re.DOTALL)
chunks.append(mt.shift_headings(body, depth))
return "\n\n".join(chunks) + "\n"
-3
View File
@@ -39,9 +39,6 @@ A production-grade Fish shell configuration targeting Fish 4.x. It provides:
- AI session helpers for Claude Code and Antigravity
- Catppuccin Mocha color theme throughout
<LinkButton href="/09-installation/">Install now</LinkButton>
<LinkButton href="/reference/" variant="secondary">Function reference</LinkButton>
CAUTION: **SESSION LOGGING IS ON BY DEFAULT**
This configuration silently records terminal output to `~/.terminal_history`:
Kitty scrollback on window close, live tmux pane streams, zellij pane