From b190bee653f6a952d8c362e3c2077d00aeeed56e Mon Sep 17 00:00:00 2001 From: Zachary Deziel Date: Fri, 15 Mar 2024 12:38:47 -0700 Subject: [PATCH 1/3] Plausible analytic integration to our documentation website --- docs/mkdocs.yml | 2 ++ .../overrides/partials/integrations/analytics/plausible.html | 1 + 2 files changed, 3 insertions(+) create mode 100644 docs/src/overrides/partials/integrations/analytics/plausible.html diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index b7d5738..be8cd90 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -8,6 +8,8 @@ repo_name: "developmentseed/eoAPI" repo_url: "https://github.com/developmentseed/eoAPI" extra: + analytics: + provider: plausible social: - icon: "fontawesome/brands/github" link: "https://github.com/developmentseed" diff --git a/docs/src/overrides/partials/integrations/analytics/plausible.html b/docs/src/overrides/partials/integrations/analytics/plausible.html new file mode 100644 index 0000000..80f300e --- /dev/null +++ b/docs/src/overrides/partials/integrations/analytics/plausible.html @@ -0,0 +1 @@ + \ No newline at end of file From 0423599065c97acb5beb3705d7416322bb98ca7c Mon Sep 17 00:00:00 2001 From: Anthony Lukach Date: Fri, 15 Mar 2024 12:46:30 -0700 Subject: [PATCH 2/3] Update analytics with localhost support --- .../overrides/partials/integrations/analytics/plausible.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/src/overrides/partials/integrations/analytics/plausible.html b/docs/src/overrides/partials/integrations/analytics/plausible.html index 80f300e..41092a2 100644 --- a/docs/src/overrides/partials/integrations/analytics/plausible.html +++ b/docs/src/overrides/partials/integrations/analytics/plausible.html @@ -1 +1,2 @@ - \ No newline at end of file + + \ No newline at end of file From 4ae1a0bba56f98b50df1c6a55390f50c53845889 Mon Sep 17 00:00:00 2001 From: Anthony Lukach Date: Fri, 15 Mar 2024 12:52:05 -0700 Subject: [PATCH 3/3] Make configurable, simplify --- docs/mkdocs.yml | 1 + .../overrides/partials/integrations/analytics/plausible.html | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index be8cd90..1a90c23 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -10,6 +10,7 @@ repo_url: "https://github.com/developmentseed/eoAPI" extra: analytics: provider: plausible + domain: eoapi.dev social: - icon: "fontawesome/brands/github" link: "https://github.com/developmentseed" diff --git a/docs/src/overrides/partials/integrations/analytics/plausible.html b/docs/src/overrides/partials/integrations/analytics/plausible.html index 41092a2..d8f972a 100644 --- a/docs/src/overrides/partials/integrations/analytics/plausible.html +++ b/docs/src/overrides/partials/integrations/analytics/plausible.html @@ -1,2 +1 @@ - - \ No newline at end of file + \ No newline at end of file