Skip to content

Comments

docs: expand routing chapter with core concepts#8

Merged
Taure merged 1 commit intomainfrom
docs/expand-routing-chapter
Feb 24, 2026
Merged

docs: expand routing chapter with core concepts#8
Taure merged 1 commit intomainfrom
docs/expand-routing-chapter

Conversation

@Taure
Copy link
Contributor

@Taure Taure commented Feb 24, 2026

Summary

  • Add HTTP methods section covering method atoms, '_' wildcard, and multi-method routes
  • Add controller return values section with table of the 5 core return types (json, ok, view, status, redirect) and examples
  • Add security section introducing the security function, its return values, and auth_data flow
  • Add error routes section showing integer status code routes that override Nova defaults
  • Add static file serving section for directory and single-file serving
  • Reorder sections so foundational concepts (params, methods, return values) come before grouping and auth
  • Minor tweak: add plugins key to route group table

Test plan

  • mdbook build succeeds with no errors
  • All forward references (views-auth-sessions.md, json-api.md, error-handling.md, plugins.md) resolve to existing chapters
  • Return values cross-referenced against nova_basic_handler.erl source
  • Security returns cross-referenced against nova_security_handler.erl source
  • Static file parsing cross-referenced against nova_router.erl source

🤖 Generated with Claude Code

…rrors, and static files

Cover core routing concepts that were missing: HTTP method options and
wildcards, controller return value overview, security function intro,
error routes, and static file serving. Reorder sections so foundational
concepts (params, methods, return values) come before grouping and auth.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Taure Taure merged commit 3aefe71 into main Feb 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant