Files
kennethreitz 27cc988d1e Extract utility routes to routes/utility.py
- Create new utility module (~340 lines) containing:
  - sitemap.xml generation with daily caching
  - robots.txt for search engine crawlers
  - health check endpoint

- Update routes/__init__.py with new exports

- Reduce server.py from 2,394 to 2,045 lines

All 100 tests passing.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-24 20:02:19 -05:00

19 lines
820 B
Python

"""Routes package for KJV Study."""
from fastapi import APIRouter
from .api import router as api_router
from .resources import router as resources_router, init_templates as init_resources_templates
from .family_tree import router as family_tree_router, init_templates as init_family_tree_templates
from .study_guides import router as study_guides_router, init_templates as init_study_guides_templates
from .commentary import router as commentary_router, init_templates as init_commentary_templates
from .utility import router as utility_router
__all__ = [
'api_router',
'resources_router', 'init_resources_templates',
'family_tree_router', 'init_family_tree_templates',
'study_guides_router', 'init_study_guides_templates',
'commentary_router', 'init_commentary_templates',
'utility_router',
]