Skip to content

Commit 87c6a6c

Browse files
committed
analytics e cookie
1 parent 961fa15 commit 87c6a6c

2 files changed

Lines changed: 94 additions & 1 deletion

File tree

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
<!--
2+
Copyright (c) 2016-2023 Martin Donath <martin.donath@squidfunk.com>
3+
4+
Permission is hereby granted, free of charge, to any person obtaining a copy
5+
of this software and associated documentation files (the "Software"), to
6+
deal in the Software without restriction, including without limitation the
7+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
8+
sell copies of the Software, and to permit persons to whom the Software is
9+
furnished to do so, subject to the following conditions:
10+
11+
The above copyright notice and this permission notice shall be included in
12+
all copies or substantial portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
17+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
20+
IN THE SOFTWARE.
21+
-->
22+
23+
<!-- Translations: Italian -->
24+
{% macro t(key) %}{{ {
25+
"language": "it",
26+
"action.edit": "Modifica",
27+
"action.skip": "Vai al contenuto",
28+
"action.view": "Vedi il sorgente di questa pagina",
29+
"announce.dismiss": "Non mostrare più",
30+
"blog.archive": "Archivia",
31+
"blog.categories": "Categorie",
32+
"blog.categories.in": "in",
33+
"blog.continue": "Continua a leggere",
34+
"blog.draft": "Bozza",
35+
"blog.index": "Torna all'indice",
36+
"blog.meta": "Metadati",
37+
"blog.references": "Collegamenti",
38+
"clipboard.copy": "Copia",
39+
"clipboard.copied": "Copiato",
40+
"consent.accept": "Accetta",
41+
"consent.manage": "Gestisci le opzioni",
42+
"consent.reject": "Rifiuta",
43+
"footer": "Piede",
44+
"footer.next": "Prossimo",
45+
"footer.previous": "Precedente",
46+
"header": "Intestazione",
47+
"meta.comments": "Commenti",
48+
"meta.source": "Sorgente",
49+
"nav": "Navigazione",
50+
"readtime.one": "1 minuto di lettura",
51+
"readtime.other": "# minuti di lettura",
52+
"rss.created": "Feed RSS",
53+
"rss.updated": "Contenuto aggiornato del feed RSS",
54+
"search": "Cerca",
55+
"search.config.lang": "it",
56+
"search.placeholder": "Cerca",
57+
"search.share": "Condividi",
58+
"search.reset": "Cancella",
59+
"search.result.initializer": "Inizializza la ricerca",
60+
"search.result.placeholder": "Scrivi per iniziare a cercare",
61+
"search.result.none": "Nessun documento trovato",
62+
"search.result.one": "1 documento trovato",
63+
"search.result.other": "# documenti trovati",
64+
"search.result.more.one": "1 altro in questa pagina",
65+
"search.result.more.other": "# altri in questa pagina",
66+
"search.result.term.missing": "Non presente",
67+
"select.language": "Seleziona la lingua",
68+
"select.version": "Seleziona la versione",
69+
"source": "Apri repository",
70+
"source.file.contributors": "Contributori",
71+
"source.file.date.created": "Creata",
72+
"source.file.date.updated": "Ultimo aggiornamento",
73+
"tabs": "Tabs",
74+
"toc": "Indice",
75+
"top": "Torna su"
76+
}[key] }}{% endmacro %}

mkdocs.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ site_url: https://github.com/MainKronos/AnimeWorld-API
44

55
theme:
66
name: 'material'
7-
language: it
7+
language: custom
88
palette:
99
- scheme: 'default'
1010
media: '(prefers-color-scheme: light)'
@@ -21,6 +21,7 @@ theme:
2121
repo: fontawesome/brands/github
2222
logo: static/img/logo.svg
2323
favicon: static/img/logo.svg
24+
custom_dir: docs/static/overrides
2425
features:
2526
- navigation.sections
2627
- search.suggest
@@ -43,6 +44,22 @@ nav:
4344
- Contributing: 'community/contributing.md'
4445
- Code of Conduct: 'community/code-of-conduct.md'
4546

47+
extra:
48+
consent:
49+
title: Invio informazioni anonime
50+
description: >-
51+
Utilizzo i cookie per analizzare l'efficacia della documentazione e se gli utenti riescono a trovare cosa stanno cercando.
52+
Con il tuo consenso, mi aiuterai a migliorare la documentazione.<br>
53+
Nessun dato personale verrà registrato.
54+
actions:
55+
- accept
56+
- reject
57+
analytics:
58+
provider: google
59+
property: G-E5RNLK3ZX3
60+
61+
copyright: <a href="#__consent">Change cookie settings</a>
62+
4663
markdown_extensions:
4764
- pymdownx.highlight:
4865
anchor_linenums: true

0 commit comments

Comments
 (0)