build(docs): strip LinkButton from concatenated terminal output
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user