From 69dd23c7977d5fcc81e0e1453befef185413184a Mon Sep 17 00:00:00 2001 From: ronardcaktus Date: Sat, 21 Feb 2026 06:35:03 -0500 Subject: [PATCH] Remove personal references and fix doc styling --- .gitignore | 2 -- docs/services/matomo.rst | 8 +++++--- pyproject.toml | 1 - 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 9c8a4a7..5275f3c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,8 +3,6 @@ /.idea /.tox /.vscode -/.envrc -/playground *.pyc *.pyo diff --git a/docs/services/matomo.rst b/docs/services/matomo.rst index 4538576..a59394f 100644 --- a/docs/services/matomo.rst +++ b/docs/services/matomo.rst @@ -150,17 +150,19 @@ If you want to `disable cookies`_, set :data:`MATOMO_DISABLE_COOKIES` to .. _`disable cookies`: https://matomo.org/faq/general/faq_157/ Ask for consent ------------------ +--------------- If you do not want to track visitors without permission, you can `ask for consent`_ first. -To enable this, set :data:`MATOMO_ASK_FOR_CONSENT` to :const:`True`. By default, no consent for tracking is needed (i.e. :const:`False`). +To enable this, set :data:`MATOMO_ASK_FOR_CONSENT` to :const:`True`. +By default, no consent for tracking is needed (i.e. :const:`False`). To give and remove consent in your page, create DOM elements with the following classes: `matomo_give_consent` - class name for element to click when visitors want to **give** consent `matomo_remove_consent` - class name for element to click when visitors want to **remove** consent -Examples: +Examples:: + # button to allow tracking diff --git a/pyproject.toml b/pyproject.toml index 69bd006..b51a2f8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -108,7 +108,6 @@ source = ["analytical"] [tool.pytest.ini_options] addopts = "--junitxml=tests/unittests-report.xml --color=yes --verbose" DJANGO_SETTINGS_MODULE = "tests.testproject.settings" -norecursedirs = ["playground"] [tool.ruff.format] quote-style = "single"