From cd864fe4a9cadef9c1cd97166943154662f95e28 Mon Sep 17 00:00:00 2001 From: "D. Ror." Date: Fri, 9 Aug 2024 08:33:51 -0400 Subject: [PATCH 01/10] Update getting-started.md expiresAfterDays to match code --- docs/essential/getting-started.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/essential/getting-started.md b/docs/essential/getting-started.md index abf1c5db..e169368d 100644 --- a/docs/essential/getting-started.md +++ b/docs/essential/getting-started.md @@ -266,7 +266,7 @@ CookieConsent.run({ // domain: location.hostname, // path: '/', // sameSite: "Lax", - // expiresAfterDays: 365, + // expiresAfterDays: 182, }, // https://cookieconsent.orestbida.com/reference/configuration-reference.html#guioptions @@ -440,4 +440,4 @@ You can open the preferences modal using a `button` with the following [`data-cc ## How to block scripts/cookies Showing the consent banner is not enough for you to be compliant with the GDPR. You also need to block all scripts/cookies until the user gives their consent. -Go to the [scripts management](/advanced/manage-scripts.html) section for more details. \ No newline at end of file +Go to the [scripts management](/advanced/manage-scripts.html) section for more details. From d4a66079356647ff0031bd903007df2e06886ea6 Mon Sep 17 00:00:00 2001 From: Danny Rorabaugh Date: Fri, 9 Aug 2024 11:50:41 -0400 Subject: [PATCH 02/10] Fix pnpm dev:docs -> docs:dev --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0d4506f3..84714c00 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -43,7 +43,7 @@ If you encountered a problem, [search if an issue already exists](https://github pnpm dev ``` - Note: If you're making changes to the documentation, use `pnpm dev:docs`. + Note: If you're making changes to the documentation, use `pnpm docs:dev`. 5. Once you've finished, generate the bundled version via: From d0fc05002b807adc81f986b66820fb0de1621078 Mon Sep 17 00:00:00 2001 From: Danny Rorabaugh Date: Fri, 9 Aug 2024 11:52:22 -0400 Subject: [PATCH 03/10] Fix final-line diff --- docs/essential/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/essential/getting-started.md b/docs/essential/getting-started.md index e169368d..9cc020ea 100644 --- a/docs/essential/getting-started.md +++ b/docs/essential/getting-started.md @@ -440,4 +440,4 @@ You can open the preferences modal using a `button` with the following [`data-cc ## How to block scripts/cookies Showing the consent banner is not enough for you to be compliant with the GDPR. You also need to block all scripts/cookies until the user gives their consent. -Go to the [scripts management](/advanced/manage-scripts.html) section for more details. +Go to the [scripts management](/advanced/manage-scripts.html) section for more details. \ No newline at end of file From 04f30483e4f786a1068d3ab6963e93a7e03e75c2 Mon Sep 17 00:00:00 2001 From: Danny Rorabaugh Date: Fri, 9 Aug 2024 15:22:58 -0400 Subject: [PATCH 04/10] Remove anomalous period --- docs/advanced/manage-scripts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/advanced/manage-scripts.md b/docs/advanced/manage-scripts.md index 5fd2f24f..aca2ba52 100644 --- a/docs/advanced/manage-scripts.md +++ b/docs/advanced/manage-scripts.md @@ -22,7 +22,7 @@ Example usage: ## How to block/manage a script tag -You can manage any script tag. by adding the following 2 attributes (both required): +You can manage any script tag by adding the following 2 attributes (both required): - `type="text/plain"` - `data-category="your-category-name"` From 08e559c5fa95eeff1cf4cfe64d458817ca614991 Mon Sep 17 00:00:00 2001 From: Danny Rorabaugh Date: Fri, 9 Aug 2024 15:26:23 -0400 Subject: [PATCH 05/10] Add missing quote --- docs/advanced/manage-scripts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/advanced/manage-scripts.md b/docs/advanced/manage-scripts.md index aca2ba52..5ba4d268 100644 --- a/docs/advanced/manage-scripts.md +++ b/docs/advanced/manage-scripts.md @@ -49,7 +49,7 @@ You can also run **scripts when a category is disabled** (if it was previously e ``` From 09421f4bc70ad39ed528e03356aa599bb9ce64a9 Mon Sep 17 00:00:00 2001 From: Danny Rorabaugh Date: Fri, 9 Aug 2024 15:29:24 -0400 Subject: [PATCH 06/10] Move misplaced backtick --- docs/reference/configuration-reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/configuration-reference.md b/docs/reference/configuration-reference.md index 5cdf924d..2d609423 100644 --- a/docs/reference/configuration-reference.md +++ b/docs/reference/configuration-reference.md @@ -755,7 +755,7 @@ Define the translation(s) content. ``` - **Details**: - You can define an `inline` translation object, or specify the path to an `external .json` translation file. + You can define an `inline` translation object, or specify the path to an external `.json` translation file. - **Examples**: From 3d48ffcccb5f25f6fb8d16c61f9fbcb76670c2f3 Mon Sep 17 00:00:00 2001 From: Danny Rorabaugh Date: Fri, 9 Aug 2024 15:32:23 -0400 Subject: [PATCH 07/10] Add missing comma --- docs/reference/configuration-reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/configuration-reference.md b/docs/reference/configuration-reference.md index 2d609423..8fd1e422 100644 --- a/docs/reference/configuration-reference.md +++ b/docs/reference/configuration-reference.md @@ -824,7 +824,7 @@ Define the translation(s) content. - **Details**: - `closeIconLabel`: if specified, a big `X` button will be generated (visible only in the `box` layout). It acts the same as `acceptNecessaryBtn`. - `revisionMessage`: check out the dedicated [revision section](/advanced/revision-management.html#revision-message). - - `footer`: a small area where you can place your links (impressum, privacy policy ...) + - `footer`: a small area where you can place your links (impressum, privacy policy, ...)
From 970774fcd6668d2aa2994b5c072b2bdbb7b8ed7f Mon Sep 17 00:00:00 2001 From: Danny Rorabaugh Date: Fri, 9 Aug 2024 15:36:34 -0400 Subject: [PATCH 08/10] Add Yarn link --- docs/essential/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/essential/getting-started.md b/docs/essential/getting-started.md index 9cc020ea..f7349169 100644 --- a/docs/essential/getting-started.md +++ b/docs/essential/getting-started.md @@ -7,7 +7,7 @@ This section will help you install CookieConsent in your app/website. You can download/import the plugin using one of the following methods:
-1. Install via [NPM](https://www.npmjs.com/package/vanilla-cookieconsent). +1. Install via [NPM](https://www.npmjs.com/package/vanilla-cookieconsent) or [Yarn](https://yarnpkg.com/package?name=vanilla-cookieconsent). ::: code-group From 710621a0e26dff1cee14cbfe47e9dfe2c9ef72df Mon Sep 17 00:00:00 2001 From: Danny Rorabaugh Date: Fri, 9 Aug 2024 15:41:29 -0400 Subject: [PATCH 09/10] Fix GitHub capitalization --- CONTRIBUTING.md | 2 +- docs/additional/faq.md | 2 +- docs/components/icons.js | 2 +- docs/essential/getting-started.md | 4 ++-- docs/essential/introduction.md | 2 +- playground/src/components/sections/Header.astro | 4 ++-- playground/src/components/sections/Help.astro | 2 +- playground/src/data/icons.js | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 84714c00..afa0fab2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -23,7 +23,7 @@ If you encountered a problem, [search if an issue already exists](https://github npm i -g pnpm ``` - 3. Follow the [Getting started with Github Desktop](https://docs.github.com/en/desktop/installing-and-configuring-github-desktop/overview/getting-started-with-github-desktop) guide. + 3. Follow the [Getting started with GitHub Desktop](https://docs.github.com/en/desktop/installing-and-configuring-github-desktop/overview/getting-started-with-github-desktop) guide. 1. #### Make changes locally diff --git a/docs/additional/faq.md b/docs/additional/faq.md index 89bfb82f..ff0f803f 100644 --- a/docs/additional/faq.md +++ b/docs/additional/faq.md @@ -1,5 +1,5 @@ # Frequently Asked Questions -Couldn't find the answer in the documentation? Feel free to open a [discussion](https://github.com/orestbida/cookieconsent/discussions) on github. +Couldn't find the answer in the documentation? Feel free to open a [discussion](https://github.com/orestbida/cookieconsent/discussions) on GitHub. [[toc]] diff --git a/docs/components/icons.js b/docs/components/icons.js index cdf9354a..fa7a2d08 100644 --- a/docs/components/icons.js +++ b/docs/components/icons.js @@ -1,5 +1,5 @@ // Navbar icons -export const GithubIcon = ``; +export const GitHubIcon = ``; export const HeartIcon = ``; // Block icons diff --git a/docs/essential/getting-started.md b/docs/essential/getting-started.md index f7349169..dfe72fda 100644 --- a/docs/essential/getting-started.md +++ b/docs/essential/getting-started.md @@ -39,7 +39,7 @@ You can download/import the plugin using one of the following methods: https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@3.0.1/dist/cookieconsent.umd.js ``` -3. Download the [latest release](https://github.com/orestbida/cookieconsent/releases?q=cookieconsent+v3) from github and use the optimized files located in the `dist` folder. +3. Download the [latest release](https://github.com/orestbida/cookieconsent/releases?q=cookieconsent+v3) from GitHub and use the optimized files located in the `dist` folder. ## Usage @@ -426,7 +426,7 @@ You should now see the consent modal pop up! You can also define [external translation files](/advanced/language-configuration.html#external-translations). ::: -If you're having trouble setting up the plugin, you can check out a few [demo examples](https://github.com/orestbida/cookieconsent/tree/master/demo) on github. +If you're having trouble setting up the plugin, you can check out a few [demo examples](https://github.com/orestbida/cookieconsent/tree/master/demo) on GitHub.
diff --git a/docs/essential/introduction.md b/docs/essential/introduction.md index c032d383..095211e3 100644 --- a/docs/essential/introduction.md +++ b/docs/essential/introduction.md @@ -30,7 +30,7 @@ Both versions are very similar but there a few key differences: ## More questions? -Check the [FAQ](/additional/faq.html) section or open a [new discussion](https://github.com/orestbida/cookieconsent/discussions/new) on github. +Check the [FAQ](/additional/faq.html) section or open a [new discussion](https://github.com/orestbida/cookieconsent/discussions/new) on GitHub.