"""The one router constructor the authoring modules share. The prefix is `/documents`: authoring acts ON a document the caller owns, so its endpoints live under the document they belong to rather than in a namespace of their own. """ from fastapi import APIRouter def authoring_router() -> APIRouter: return APIRouter(prefix="/documents", tags=["authoring"])