From 5ac5aea206985d815556d9a65fc63c207939ba63 Mon Sep 17 00:00:00 2001 From: metourneau <m.etourneau@geofit.fr> Date: Mon, 4 Mar 2024 12:10:59 +0100 Subject: [PATCH] fix #20344: add config for doc --- public/config/config.json.sample | 3 ++- src/components/Project/Detail/ProjectFeatureTypes.vue | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/public/config/config.json.sample b/public/config/config.json.sample index a02925f8..c48c56f8 100644 --- a/public/config/config.json.sample +++ b/public/config/config.json.sample @@ -37,6 +37,7 @@ "PROVIDER": "addok" }, "DISPLAY_FORBIDDEN_PROJECTS": true, - "DISPLAY_FORBIDDEN_PROJECTS_DEFAULT": true + "DISPLAY_FORBIDDEN_PROJECTS_DEFAULT": true, + "VUE_APP_URL_DOCUMENTATION": "https://www.onegeosuite.fr/docs/module-geocontrib/intro" } \ No newline at end of file diff --git a/src/components/Project/Detail/ProjectFeatureTypes.vue b/src/components/Project/Detail/ProjectFeatureTypes.vue index a9163fbd..faad82a3 100644 --- a/src/components/Project/Detail/ProjectFeatureTypes.vue +++ b/src/components/Project/Detail/ProjectFeatureTypes.vue @@ -429,7 +429,8 @@ export default { }, goToDocumentation() { - window.open('https://geocontrib.readthedocs.io/fr/latest/documentation_fonctionnelle/import_export/'); + + window.open(this.configuration.VUE_APP_URL_DOCUMENTATION); }, toNewGeojsonFeatureType() { -- GitLab