Skip to content

Commit 917a544

Browse files
authored
Merge PR #4: docs code font + mermaid breaks
2 parents 6fa4ca7 + a8b3e64 commit 917a544

6 files changed

Lines changed: 24 additions & 12 deletions

File tree

docs/architecture/overview.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ Undying Terminal implements a **three-component distributed architecture** desig
1010
```mermaid
1111
graph TB
1212
subgraph "Client Machine"
13-
C[undying-terminal.exe\nClient]
13+
C[undying-terminal.exe<br/>Client]
1414
end
1515
1616
subgraph "Server Machine"
17-
S[undying-terminal-server.exe\nSession Manager]
18-
T[undying-terminal-terminal.exe\nPTY + Shell]
17+
S[undying-terminal-server.exe<br/>Session Manager]
18+
T[undying-terminal-terminal.exe<br/>PTY + Shell]
1919
2020
S ---|Named Pipe| T
2121
end
2222
2323
C ---|TCP + Encryption| S
24-
T ---|Spawns| SH[Shell Process\ncmd.exe / powershell]
24+
T ---|Spawns| SH[Shell Process<br/>cmd.exe / powershell]
2525
2626
style C fill:#fc6505,color:#fff
2727
style S fill:#3e4954,color:#fff
@@ -412,7 +412,7 @@ Shell Process:
412412
| **Keepalive Traffic** | ~200 bytes/5s | Minimal overhead |
413413
414414
<Info>
415-
Latency overhead is negligible for interactive terminal use (under 5ms is imperceptible).
415+
Latency overhead is negligible for interactive terminal use (&lt;5ms is imperceptible).
416416
</Info>
417417
418418
## Scalability

docs/config/server-config.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ Get-Content server.log -Wait -Tail 20
451451
|--------|---------|--------------|
452452
| Active Connections | `netstat -ano \| findstr :2022 \| measure` | 0-1000s |
453453
| Memory Usage | `tasklist /fi "imagename eq undying-terminal-server.exe"` | ~50MB + (5MB × sessions) |
454-
| CPU Usage | Task Manager | under 5% idle, under 20% under load |
454+
| CPU Usage | Task Manager | &lt;5% idle, &lt;20% under load |
455455

456456
## Backup and Recovery
457457

docs/installation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ pacman -S mingw-w64-x86_64-cmake \
413413
<Accordion title="ConPTY not available">
414414
Error: `CreatePseudoConsole failed`
415415

416-
**Cause**: Windows version < Build 17763
416+
**Cause**: Windows version &lt; Build 17763
417417

418418
**Solution**: Update Windows to October 2018 Update (Build 17763) or later
419419
</Accordion>

docs/style.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
@import url('https://fonts.googleapis.com/css2?family=Fira+Mono:wght@400;500;700&display=swap');
2+
3+
:where(code, pre, kbd, samp) {
4+
font-family: 'Fira Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
5+
'Liberation Mono', 'Courier New', monospace;
6+
}
7+
8+
/* Mintlify code block wrappers (best-effort selectors; safe if unused). */
9+
.code-block :where(code, pre),
10+
.code-group :where(code, pre) {
11+
font-family: 'Fira Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
12+
'Liberation Mono', 'Courier New', monospace;
13+
}

docs/troubleshooting/common-issues.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ Test-NetConnection <HOST> -Port 2022
253253
# shared_key_hex=... <-- Comment out
254254
```
255255

256-
Restart server and test. If faster, encryption overhead is the issue (should be under 1ms though).
256+
Restart server and test. If faster, encryption overhead is the issue (should be &lt;1ms though).
257257
</Step>
258258
</Steps>
259259

@@ -570,7 +570,7 @@ $PSStyle.OutputRendering = 'Ansi'
570570

571571
**Error**: `CreatePseudoConsole failed`
572572

573-
**Cause**: Windows version < Build 17763
573+
**Cause**: Windows version &lt; Build 17763
574574

575575
**Solution**: Update Windows
576576
```powershell

docs/troubleshooting/faq.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ bind_ip=127.0.0.1 # Only accessible via VPN
364364
- SSH: 0.5-1ms overhead
365365
- Mosh: 1-3ms (with prediction)
366366

367-
**Impact**: Imperceptible for interactive terminal use (under 5ms is instant to humans).
367+
**Impact**: Imperceptible for interactive terminal use (&lt;5ms is instant to humans).
368368

369369
### How much bandwidth does it use?
370370

@@ -547,7 +547,7 @@ See [Contributing Guide](/development/contributing).
547547
- 📝 Improve documentation
548548
- 💻 Submit pull requests
549549
- 🧪 Test on different Windows versions
550-
- 💬 Answer questions on GitHub
550+
- 💬 Help triage GitHub issues
551551

552552
## Getting Help
553553

@@ -556,7 +556,6 @@ See [Contributing Guide](/development/contributing).
556556
**Documentation**: https://undyingterminal.dev
557557
**GitHub Issues**: https://github.com/Microck/UndyingTerminal/issues
558558

559-
560559
**Before asking**:
561560
1. Check this FAQ
562561
2. Search existing issues

0 commit comments

Comments
 (0)