structables/.gitignore
Kumi cc450e10ff
All checks were successful
Python Package CI/CD / Publish to PyPI (push) Successful in 39s
feat: add markdown support for privacy policy
Introduced markdown rendering for the privacy policy alongside plain text support. This change enriches the presentation of the privacy policy by allowing markdown-formatted files. To facilitate this, the markdown2 library was added as a dependency, and the logic in the privacy policy route was adjusted to prioritize `.md` files over `.txt` when available. This update also includes a minor version bump and the addition of a markdown-related entry to `.gitignore`. These changes enhance the flexibility and user experience by supporting more visually structured privacy policies.

The removal of the default privacy file path (`privacy.txt`) from the environment configuration encourages explicit file path specification, accommodating the new markdown feature more seamlessly.
2024-06-08 20:07:58 +02:00

7 lines
No EOL
62 B
Text

venv/
*.pyc
__pycache__/
.vscode
privacy.txt
privacy.md
/dist/