From 4dbc66ea4d21d9b233c1376d512f1d44f9416564 Mon Sep 17 00:00:00 2001 From: Jonah Aragon Date: Thu, 28 Mar 2024 18:30:56 -0500 Subject: [PATCH] edit page --- config/mkdocs-common.yml | 9 +++++---- config/mkdocs.en.yml | 4 +++- config/mkdocs.es.yml | 4 ++-- config/mkdocs.fr.yml | 6 +++--- config/mkdocs.he.yml | 4 ++-- config/mkdocs.it.yml | 4 ++-- config/mkdocs.nl.yml | 4 ++-- config/mkdocs.ru.yml | 2 +- config/mkdocs.zh-Hant.yml | 4 ++-- 9 files changed, 22 insertions(+), 19 deletions(-) diff --git a/config/mkdocs-common.yml b/config/mkdocs-common.yml index 81c385d163..b2a78dc6a1 100644 --- a/config/mkdocs-common.yml +++ b/config/mkdocs-common.yml @@ -88,10 +88,11 @@ theme: - navigation.expand - navigation.path - navigation.indexes - #- navigation.instant - # - navigation.instant.prefetch - # - navigation.instant.progress - # - navigation.instant.preview + - navigation.instant + - navigation.instant.prefetch + - navigation.instant.progress + - navigation.instant.preview + - content.action.edit - content.tabs.link - content.tooltips - search.highlight diff --git a/config/mkdocs.en.yml b/config/mkdocs.en.yml index f0dc606ec3..8fa3564dfd 100644 --- a/config/mkdocs.en.yml +++ b/config/mkdocs.en.yml @@ -32,7 +32,9 @@ copyright: | © 2019 - 2024 Privacy Guides and contributors. Content licensed under CC BY-ND 4.0. -edit_uri: edit/main/docs/ + +repo_url: https://github.com/privacyguides/privacyguides.org +edit_uri_template: blob/main/docs/{path}?plain=1 extra: generator: false diff --git a/config/mkdocs.es.yml b/config/mkdocs.es.yml index 38b0b701ab..64948b1020 100644 --- a/config/mkdocs.es.yml +++ b/config/mkdocs.es.yml @@ -32,7 +32,7 @@ copyright: | © 2019 - 2024 Privacy Guides y colaboradores. Contenido bajo licencia CC BY-ND 4.0. -edit_uri: edit/main/i18n/es/ +edit_uri_template: https://github.com/privacyguides/i18n/blob/main/i18n/es/{path}?plain=1 extra: generator: false @@ -64,7 +64,7 @@ theme: markdown_extensions: pymdownx.snippets: - auto_append: + auto_append: - includes/abbreviations.es.txt nav: diff --git a/config/mkdocs.fr.yml b/config/mkdocs.fr.yml index e51f1972a0..5645d5e053 100644 --- a/config/mkdocs.fr.yml +++ b/config/mkdocs.fr.yml @@ -30,9 +30,9 @@ copyright: | Privacy Guides est un site web à but non lucratif et à vocation sociale qui fournit des informations pour protéger la sécurité de vos données et votre vie privée.
Nous ne gagnons pas d'argent en recommandant certains produits et nous n'utilisons pas de liens d'affiliation.
© 2019 - 2024 Privacy Guides et contributeurs. - + Contenu sous licence CC BY-ND 4.0. -edit_uri: edit/main/i18n/fr/ +edit_uri_template: https://github.com/privacyguides/i18n/blob/main/i18n/fr/{path}?plain=1 extra: generator: false @@ -64,7 +64,7 @@ theme: markdown_extensions: pymdownx.snippets: - auto_append: + auto_append: - includes/abbreviations.fr.txt nav: diff --git a/config/mkdocs.he.yml b/config/mkdocs.he.yml index 5be48ff713..a69311b065 100644 --- a/config/mkdocs.he.yml +++ b/config/mkdocs.he.yml @@ -32,7 +32,7 @@ copyright: | © 2019 - 2024 Privacy Guides and contributors. Content licensed under CC BY-ND 4.0. -edit_uri: edit/main/i18n/he/ +edit_uri_template: https://github.com/privacyguides/i18n/blob/main/i18n/he/{path}?plain=1 extra: generator: false @@ -68,7 +68,7 @@ theme: markdown_extensions: pymdownx.snippets: - auto_append: + auto_append: - includes/abbreviations.he.txt nav: diff --git a/config/mkdocs.it.yml b/config/mkdocs.it.yml index f22f0f56a9..be46c4ebb0 100644 --- a/config/mkdocs.it.yml +++ b/config/mkdocs.it.yml @@ -32,7 +32,7 @@ copyright: | © 2019 - 2024 Privacy Guides e collaboratori. Contenuto sotto licenza CC BY-ND 4.0. -edit_uri: edit/main/i18n/it/ +edit_uri_template: https://github.com/privacyguides/i18n/blob/main/i18n/it/{path}?plain=1 extra: generator: false @@ -64,7 +64,7 @@ theme: markdown_extensions: pymdownx.snippets: - auto_append: + auto_append: - includes/abbreviations.it.txt nav: diff --git a/config/mkdocs.nl.yml b/config/mkdocs.nl.yml index 368e8dffd6..1ce236b17d 100644 --- a/config/mkdocs.nl.yml +++ b/config/mkdocs.nl.yml @@ -32,7 +32,7 @@ copyright: | © 2019 - 2024 Privacy Guides en medewerkers. Inhoud gelicentieerd onder CC BY-ND 4.0. -edit_uri: edit/main/i18n/nl/ +edit_uri_template: https://github.com/privacyguides/i18n/blob/main/i18n/nl/{path}?plain=1 extra: generator: false @@ -64,7 +64,7 @@ theme: markdown_extensions: pymdownx.snippets: - auto_append: + auto_append: - includes/abbreviations.nl.txt nav: diff --git a/config/mkdocs.ru.yml b/config/mkdocs.ru.yml index fb225c8be4..0be80ec544 100644 --- a/config/mkdocs.ru.yml +++ b/config/mkdocs.ru.yml @@ -32,7 +32,7 @@ copyright: | © 2019 - 2023 Privacy Guides и поддерживающие. Содержание доступно под лицензией CC BY-ND 4.0. -edit_uri: edit/main/docs/ +edit_uri_template: https://github.com/privacyguides/i18n/blob/main/i18n/ru/{path}?plain=1 extra: generator: false diff --git a/config/mkdocs.zh-Hant.yml b/config/mkdocs.zh-Hant.yml index f41d5cbcbd..06aeec3be5 100644 --- a/config/mkdocs.zh-Hant.yml +++ b/config/mkdocs.zh-Hant.yml @@ -32,7 +32,7 @@ copyright: | © 2019 - 2024 Privacy Guides 和貢獻者。 根據CC BY-ND 4.0授權的內容。 CC BY-ND 4.0. -edit_uri: edit/main/i18n/zh-Hant/ +edit_uri_template: https://github.com/privacyguides/i18n/blob/main/i18n/zh-Hant/{path}?plain=1 extra: generator: false @@ -68,7 +68,7 @@ theme: markdown_extensions: pymdownx.snippets: - auto_append: + auto_append: - includes/abbreviations.zh-Hant.txt nav: