From b4e22392832f2137e2df2efa5bf5222d155e3143 Mon Sep 17 00:00:00 2001 From: Steve Reis <stevereis93@gmail.com> Date: Fri, 5 Aug 2022 13:59:08 +0000 Subject: [PATCH] GitBook: [#25] No subject --- docs/SUMMARY.md | 1 + docs/for-developers/configuration/frontend.md | 21 +++++++++++++++++++ docs/for-developers/configuration/gateway.md | 10 --------- 3 files changed, 22 insertions(+), 10 deletions(-) create mode 100644 docs/for-developers/configuration/frontend.md diff --git a/docs/SUMMARY.md b/docs/SUMMARY.md index 968970b..9411810 100644 --- a/docs/SUMMARY.md +++ b/docs/SUMMARY.md @@ -8,6 +8,7 @@ * [Introduction](for-developers/get-started/Introduction.md) * [Setup development environment](for-developers/get-started/Setup-development-environment.md) * [Configuration](for-developers/configuration/README.md) + * [Frontend](for-developers/configuration/frontend.md) * [Gateway](for-developers/configuration/gateway.md) * [Gateway](for-developers/gateway/README.md) * [🔑 Authentication](for-developers/gateway/authentication.md) diff --git a/docs/for-developers/configuration/frontend.md b/docs/for-developers/configuration/frontend.md new file mode 100644 index 0000000..b0ae170 --- /dev/null +++ b/docs/for-developers/configuration/frontend.md @@ -0,0 +1,21 @@ +--- +description: >- + This page description all the possible configuration that can be made in the + Gateway. +--- + +# Frontend + +### :toolbox: Options + +#### Matomo + +Matomo is an open source alternative to Google Analytics. + +| name | type | default | description | +| ---------------- | ------------------- | --------- | --------------------------------------------------------------------------------------------------- | +| MATOMO\_ENABLED | boolean | false | Enable or disable Matomo | +| MATOMO\_URL | string \| undefined | undefined | Base url for matomo scripts and data reporting. This parameter is `required` if Matomo is `enabled` | +| MATOMO\_SITE\_ID | string \| undefined | undefined | Matomo Website ID. This parameter is required if `Matomo` is `enabled`. | + +#### diff --git a/docs/for-developers/configuration/gateway.md b/docs/for-developers/configuration/gateway.md index 032c822..96b602a 100644 --- a/docs/for-developers/configuration/gateway.md +++ b/docs/for-developers/configuration/gateway.md @@ -43,16 +43,6 @@ description: >- | DB\_PASSWORD | string | pass123 | Password | | DB\_NAME | string | postgres | Name of the database's instance | -#### Matomo - -Matomo is an open source alternative to Google Analytics. The Gateway provide this configuration in order to be used by any frontend. The real implementation is left to the frontend. - -| name | type | default | description | -| ---------------- | ------------------- | --------- | --------------------------------------------------------------------------------------------------- | -| MATOMO\_ENABLED | boolean | false | Enable or disable Matomo | -| MATOMO\_URL | string \| undefined | undefined | Base url for matomo scripts and data reporting. This parameter is `required` if Matomo is `enabled` | -| MATOMO\_SITE\_ID | string \| undefined | undefined | Matomo Website ID. This parameter is required if `Matomo` is `enabled`. | - #### Cache The Gateway offers the possibility to cache some of the most used queries (domains and algorithms queries). This cache use In-Memory data store. -- GitLab