Site copy now resolves through CONTENT_DIR, alongside PARLIAMENT_CONFIG and PROMPTS_DIR. All three let a deployment keep its own wording, branding and contact details outside the repository, so they never appear in a diff against upstream — which is what keeps a production fork mergeable. parliament.yaml's site.title was "rixdagen.se". That is the deployment's identity, not Sweden's data, so upstream now ships a neutral default. The Swedish user guide keeps its content but loses the personal contact details and site-specific wording; a deployment ships its own guide by pointing CONTENT_DIR at it. Fixes /api/guide, which still read ../user-guide.md after that file moved to content/sv/ and had been returning 404. Deliberately kept: the author metadata in pyproject.toml and the copyright line in LICENSE, which are attribution rather than configuration, and the README's note that this runs in production as rixdagen.se, which is provenance worth stating. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>main
parent
ac181022e5
commit
dbbc264a0a
8 changed files with 46 additions and 23 deletions
Loading…
Reference in new issue