Some checks failed
Documentation Lint & Validation / Markdown Linting (push) Has been cancelled
Documentation Lint & Validation / Validate mdBook Configuration (push) Has been cancelled
Documentation Lint & Validation / Content & Structure Validation (push) Has been cancelled
Documentation Lint & Validation / Lint & Validation Summary (push) Has been cancelled
mdBook Build & Deploy / Build mdBook (push) Has been cancelled
mdBook Build & Deploy / Documentation Quality Check (push) Has been cancelled
mdBook Build & Deploy / Deploy to GitHub Pages (push) Has been cancelled
mdBook Build & Deploy / Notification (push) Has been cancelled
Rust CI / Security Audit (push) Has been cancelled
Rust CI / Check + Test + Lint (nightly) (push) Has been cancelled
Rust CI / Check + Test + Lint (stable) (push) Has been cancelled
- Add security module (ssrf.rs, prompt_injection.rs) to vapora-backend - Block RFC 1918, link-local, cloud metadata URLs before channel registration - Scan 60+ injection patterns on RLM (load/query/analyze) and task endpoints - Fix channel SSRF: filter-before-register instead of warn-and-proceed - Add sanitize() to load_document (was missing, only analyze_document had it) - Return 400 Bad Request (not 500) for all security rejections - Add 11 integration tests via Surreal::init() — no external deps required - Document in ADR-0038, CHANGELOG, and docs/adrs/README.md
mdBook Source Directory
This directory contains the mdBook source files for VAPORA documentation.
Contents
- SUMMARY.md — Table of contents that mdBook uses to generate navigation
- intro.md — Landing/introduction page for the documentation site
How It Works
- mdBook reads
SUMMARY.mdto build the navigation structure - All links in SUMMARY.md reference markdown files in parent
docs/directory - Running
mdbook buildgenerates static HTML indocs/book/ - Running
mdbook servestarts a local development server
File Organization
src/
├── SUMMARY.md (navigation index)
└── intro.md (landing page)
../ (actual documentation files)
├── README.md
├── getting-started.md
├── setup/
├── architecture/
├── adrs/
└── ...
Relative Path Pattern
All links in this directory use relative paths to reference docs:
- Same level:
../file.md - Subdirectory:
../folder/file.md - Parent level:
../../file.md
Example from SUMMARY.md:
- [Getting Started](../getting-started.md)
- [Setup Guide](../setup/setup-guide.md)
Building Documentation
From the docs/ directory:
# Build static site
mdbook build
# Serve locally (with auto-reload)
mdbook serve
# Clean build output
mdbook clean
Adding New Documentation
- Create markdown file in appropriate
docs/subdirectory - Add entry to
src/SUMMARY.mdin the correct section - Use relative paths:
../section/filename.md - Run
mdbook buildto generate updated site
Example:
Add docs/tutorials/my-tutorial.md:
# In docs/src/SUMMARY.md
## Tutorials
- [My Tutorial](../tutorials/my-tutorial.md)
Theme Customization
Custom theme files located in docs/theme/:
index.hbs— HTML templatevapora-custom.css— Custom styles
To modify:
- Edit theme files
- Run
mdbook build --no-create-missingto apply - Check
docs/book/for output
For full documentation, see ../README.md