Jesús Pérez e5e2244e04
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
feat(security): add SSRF protection and prompt injection scanning
- 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
2026-02-26 18:20:07 +00:00
..

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

  1. mdBook reads SUMMARY.md to build the navigation structure
  2. All links in SUMMARY.md reference markdown files in parent docs/ directory
  3. Running mdbook build generates static HTML in docs/book/
  4. Running mdbook serve starts 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

  1. Create markdown file in appropriate docs/ subdirectory
  2. Add entry to src/SUMMARY.md in the correct section
  3. Use relative paths: ../section/filename.md
  4. Run mdbook build to 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 template
  • vapora-custom.css — Custom styles

To modify:

  1. Edit theme files
  2. Run mdbook build --no-create-missing to apply
  3. Check docs/book/ for output

For full documentation, see ../README.md