content: split by concern, every path still content::x
content.rs was 2,373 lines doing five jobs. It is now a directory: mod.rs keeps the types and the resolution rules (router, refs, reachability, build_questions) and the tests; gitea.rs loads from Gitea and watches for reload, through crate::http; validate.rs holds the checks a repo must pass; markdown.rs the inline markdown; handlers.rs the Axum routes. Each submodule is re-exported from content, so no caller changes. The loader module is server-only and gated as such. No behaviour change; 65 unit tests unchanged and green. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L4jrCgLiKKHAEFuZUJjckH
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
c91bf59946
commit
f909657c14