Remove personal references and fix doc styling

This commit is contained in:
ronardcaktus 2026-02-21 06:35:03 -05:00
parent c9434208b1
commit 69dd23c797
3 changed files with 5 additions and 6 deletions

2
.gitignore vendored
View file

@ -3,8 +3,6 @@
/.idea
/.tox
/.vscode
/.envrc
/playground
*.pyc
*.pyo

View file

@ -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
<button class="matomo_give_consent">Track me!</button>

View file

@ -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"