From d30eaaa8012e1b44c8c3390fdd2f71da3afc554c Mon Sep 17 00:00:00 2001 From: Gabriel Dugny Date: Mon, 1 Apr 2024 14:47:55 +0200 Subject: [PATCH] chore: fixup --- docs/user_guide/requirements_compatibility.md | 3 +-- docs/user_guide/security.md | 2 +- mkdocs.yml | 9 +++++++++ 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/docs/user_guide/requirements_compatibility.md b/docs/user_guide/requirements_compatibility.md index 84cd12d1..614c760e 100644 --- a/docs/user_guide/requirements_compatibility.md +++ b/docs/user_guide/requirements_compatibility.md @@ -1,11 +1,10 @@ # Compatibility and requirements -Django-components supports all officially supported versions of Django and Python. +Django-components supports all supported combinations versions of [Django](https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django) and [Python](https://devguide.python.org/versions/#versions). | Python version | Django version | |----------------|--------------------------| -| 3.7 | 3.2 | | 3.8 | 3.2, 4.0, 4.1, 4.2 | | 3.9 | 3.2, 4.0, 4.1, 4.2 | | 3.10 | 3.2, 4.0, 4.1, 4.2, 5.0 | diff --git a/docs/user_guide/security.md b/docs/user_guide/security.md index 90395d1a..23696449 100644 --- a/docs/user_guide/security.md +++ b/docs/user_guide/security.md @@ -16,7 +16,7 @@ You probably don't want this, as parts of your backend logic will be exposed, po As of *v0.27*, django-components ships with an additional installable app *[`django_components.safer_staticfiles`][]*. It is a drop-in replacement for *[`django.contrib.staticfiles`][]*. Its behavior is 100% identical except it ignores .py and .html files, meaning these will not end up on your static files server. -To use it, add it to [`INSTALLED_APPS`][] and remove [`django.contrib.staticfiles`]. +To use it, add it to [`INSTALLED_APPS`][] and remove [`django.contrib.staticfiles`][]. ```python INSTALLED_APPS = [ diff --git a/mkdocs.yml b/mkdocs.yml index d9bfab49..d0636da1 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -153,10 +153,19 @@ plugins: - literate-nav - git-revision-date-localized: enabled: !ENV [CI, false] + type: timeago + exclude: + - reference/* + - CHANGELOG.md + - CODE_OF_CONDUCT.md + - license.md - git-authors: enabled: !ENV [CI, false] exclude: - reference/* + - CHANGELOG.md + - CODE_OF_CONDUCT.md + - license.md - markdown-exec # - toc-md: - search