Skip to content

Commit 1d70848

Browse files
committed
Merge branch 'main' into iss_576-ee-webmaps
2 parents 5f228a9 + d217d24 commit 1d70848

File tree

342 files changed

+3339
-10775
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

342 files changed

+3339
-10775
lines changed

.github/workflows/checks.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,9 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v3
10-
11-
# need Node 16 or less to get rid of ERR_OSSL_EVP_UNSUPPORTED
1210
- uses: actions/setup-node@v3
1311
with:
14-
node-version: 16
12+
node-version: 20
1513

1614
- name: Generate dist
1715
run: |
@@ -33,12 +31,10 @@ jobs:
3331
runs-on: ubuntu-latest
3432
steps:
3533
- uses: actions/checkout@v3
36-
37-
# need Node 16 or less to get rid of ERR_OSSL_EVP_UNSUPPORTED
3834
- uses: actions/setup-node@v3
3935
with:
40-
node-version: 16
41-
36+
node-version: 20
37+
cache: 'yarn'
4238
- name: Generate dist
4339
run: |
4440
yarn install

.github/workflows/dist-dev.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
paths-ignore:
99
- 'scripts/**'
1010
- 'README.md'
11+
workflow_dispatch:
1112

1213
concurrency:
1314
group: dist-dev-${{ github.head_ref }}
@@ -18,18 +19,20 @@ jobs:
1819
runs-on: ubuntu-latest
1920
steps:
2021
- uses: actions/checkout@v3
21-
22-
# need Node 16 or less to get rid of ERR_OSSL_EVP_UNSUPPORTED
2322
- uses: actions/setup-node@v3
2423
with:
25-
node-version: 16
24+
node-version: 20
25+
cache: 'yarn'
2626

2727
- name: Install
2828
run: |
2929
yarn install
3030
3131
- name: Generate dist
32+
env:
33+
SMARTLOOK_KEY: ${{ secrets.SMARTLOOK_KEY }}
3234
run: |
35+
echo "VITE_SMARTLOOK_KEY=$SMARTLOOK_KEY" > ./src/.env
3336
yarn build
3437
3538
- name: "Check dist dir consistency"

.github/workflows/dist-prod.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,20 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v3
18-
19-
# need Node 16 or less to get rid of ERR_OSSL_EVP_UNSUPPORTED
2018
- uses: actions/setup-node@v3
2119
with:
22-
node-version: 16
20+
node-version: 20
21+
cache: 'yarn'
2322

2423
- name: Install
2524
run: |
2625
yarn install
2726
2827
- name: Generate dist
28+
env:
29+
SMARTLOOK_KEY: ${{ secrets.SMARTLOOK_KEY }}
2930
run: |
31+
echo "VITE_SMARTLOOK_KEY=$SMARTLOOK_KEY" > ./src/.env
3032
yarn build
3133
3234
- name: "Check dist dir consistency"

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@ git-output.txt
1818
.node-version
1919
.vscode
2020
*-snippet.txt
21-
redirect_test.txt
21+
redirect_test.txt
22+
23+
src/.vitepress/cache
24+
src/.vitepress/dist

LICENSE-CODE

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
MIT License
22

3-
Copyright (c) 2020 Nuxt.js with the contributions of:
4-
- Sebastien Chopin (NuxtJS Company)
5-
- Alexandre Chopin (NuxtJS Company)
6-
- Benjamin Canac (NuxtJS Company)
7-
- Sergey Bedritsky (NuxtJS Company)
83
Copyright (c) 2021 Lutra Consulting Ltd.
94

105
Permission is hereby granted, free of charge, to any person obtaining a copy

README.md

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Use GitHub Pull Requests to propose changes, we will review and merge your chang
1717
- Check official [vuepress documentation](https://vuepress.vuejs.org/)
1818
- Check the [Mergin Maps Documentation Guidelines](https://merginmaps.com/docs/misc/write-docs/)
1919

20-
<div><img align="left" width="45" height="45" src="https://raw.githubusercontent.com/MerginMaps/docs/main/src/.vuepress/public/slack.svg"><a href="https://merginmaps.com/community/join">Join our community chat</a><br/>and ask questions!</div>
20+
<div><img align="left" width="45" height="45" src="https://raw.githubusercontent.com/MerginMaps/docs/main/src/public/slack.svg"><a href="https://merginmaps.com/community/join">Join our community chat</a><br/>and ask questions!</div>
2121

2222
# Development
2323

@@ -49,6 +49,8 @@ You can also spin-up a node Docker container using the provided compose file
4949
docker compose up mm-docs
5050
```
5151

52+
The minimum required version of Node.js is 18.
53+
5254
## Translations
5355

5456
At the moment we do not support translations, see https://github.com/MerginMaps/docs/issues/133
@@ -65,20 +67,6 @@ yarn build
6567

6668
and see the result in `dist` folder
6769

68-
### Error for nodejs 17
69-
70-
If you get `opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ]`, run
71-
```bash
72-
export NODE_OPTIONS=--openssl-legacy-provider
73-
```
74-
75-
or on Windows
76-
```bash
77-
set NODE_OPTIONS=--openssl-legacy-provider
78-
```
79-
80-
or downgrade `nodejs` to 16 or less. More here: https://github.com/webpack/webpack/issues/14532
81-
8270
# License
8371

8472
The Mergin Maps product documentation in the `src` are licensed under a [CC-BY license](LICENSE).

REDIRECTS

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ https://help.cloudmergin.com/plugin-new-project https://merginmaps.com/docs/mana
3030
https://help.cloudmergin.com/plugin-sync-project https://merginmaps.com/docs/manage/plugin/
3131
https://help.cloudmergin.com/plugin-variables https://merginmaps.com/docs/layer/plugin-variables/
3232
https://help.cloudmergin.com/project-advanced https://merginmaps.com/docs/manage/project-advanced/
33-
https://help.cloudmergin.com/project-details https://merginmaps.com/docs/manage/project-details/
33+
https://help.cloudmergin.com/project-details https://merginmaps.com/docs/manage/project-history/
3434
https://help.cloudmergin.com/quick-start https://merginmaps.com/docs/tutorials/capturing-first-data/
3535
https://help.cloudmergin.com/quick-start.html N/A - covered by non-html version
3636
https://help.cloudmergin.com/registration https://merginmaps.com/docs/setup/sign-up-to-mergin-maps/
@@ -144,7 +144,7 @@ https://merginmaps.com/docs/howto/manage/plugin/plugin-variables/ https://mergin
144144
https://merginmaps.com/docs/howto/manage/troubleshoot/ https://merginmaps.com/docs/misc/troubleshoot/
145145
https://merginmaps.com/docs/howto/manage/web/dashboard/ https://merginmaps.com/docs/manage/dashboard/
146146
https://merginmaps.com/docs/howto/manage/web/project-advanced/ https://merginmaps.com/docs/manage/project-advanced/
147-
https://merginmaps.com/docs/howto/manage/web/project-details/ https://merginmaps.com/docs/manage/project-details/
147+
https://merginmaps.com/docs/howto/manage/web/project-details/ https://merginmaps.com/docs/manage/project-history/
148148
https://merginmaps.com/docs/howto/manage/web/register/ https://merginmaps.com/docs/setup/sign-up-to-mergin-maps/
149149
https://merginmaps.com/docs/howto/manage/web/subscriptions/ https://merginmaps.com/docs/manage/subscriptions/
150150
https://merginmaps.com/docs/howto/manage/web/web-create-project/ https://merginmaps.com/docs/manage/create-project/
@@ -174,11 +174,13 @@ https://merginmaps.com/docs/layer/settingup_forms/ https://merginmaps.com/docs/l
174174
https://merginmaps.com/docs/layer/settingup_forms_photo/ https://merginmaps.com/docs/layer/photos/
175175
https://merginmaps.com/docs/layer/settingup_forms_settings/ https://merginmaps.com/docs/layer/form-configuration/
176176
https://merginmaps.com/docs/manage/data_sync/ https://merginmaps.com/docs/manage/plugin/
177+
https://merginmaps.com/docs/manage/project-details/ https://merginmaps.com/docs/manage/project-history/
177178
https://merginmaps.com/docs/manage/plugin-multi-server-use/ https://merginmaps.com/docs/server/plugin-mobile-app/
178179
https://merginmaps.com/docs/manage/plugin-sync-project/ https://merginmaps.com/docs/manage/plugin/
179180
https://merginmaps.com/docs/misc/privacy/ N/A -- handled by https://merginmaps.com/privacy-policy/
180181
https://merginmaps.com/docs/reference/licensing/ https://merginmaps.com/docs/misc/licensing/
181182
https://merginmaps.com/docs/reference/privacy/ N/A -- handled by https://merginmaps.com/privacy-policy/
183+
https://merginmaps.com/docs/server/administer/environment/ https://merginmaps.com/docs/server/environment/
182184
https://merginmaps.com/docs/setup/install-input/ https://merginmaps.com/docs/setup/install-mobile-app/
183185
https://merginmaps.com/docs/setup/subscriptions/ https://merginmaps.com/docs/manage/subscriptions/
184186
https://merginmaps.com/docs/setup/working-with-organisations/ https://merginmaps.com/docs/manage/workspaces/

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
services:
33
mm-docs:
4-
image: node:16-alpine
4+
image: node:20-alpine
55
restart: on-failure
66
volumes:
77
- .:/docs

package.json

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,18 @@
1010
},
1111
"repository": "merginmaps/docs",
1212
"scripts": {
13-
"dev": "vuepress dev src",
14-
"build": "vuepress build src",
15-
"export": "vuepress export src"
13+
"dev": "vitepress dev src",
14+
"build": "vitepress build src",
15+
"preview": "vitepress preview src"
1616
},
1717
"devDependencies": {
18-
"@vuepress/plugin-medium-zoom": "^1.9.8",
19-
"sass": "^1.62.1",
20-
"sass-loader": "10",
21-
"vuepress": "^1.9.8",
22-
"vuepress-plugin-clean-urls": "^1.1.2",
23-
"vuepress-plugin-fulltext-search": "^2.2.1"
18+
"sass": "^1.86.0",
19+
"vitepress": "^1.6.3",
20+
"vitepress-plugin-image-viewer": "^1.1.6",
21+
"vue": "^3.5.13"
2422
},
2523
"dependencies": {
26-
"@gtm-support/vue2-gtm": "1.0.0",
24+
"@gtm-support/vue-gtm": "^3.1.0",
2725
"smartlook-client": "^10.0.0"
2826
}
2927
}

scripts/broken-link-exceptions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
--exclude=https://de.merginmaps.com/* --exclude=https://es.merginmaps.com/* --exclude=https://fr.merginmaps.com/* --exclude=https://it.merginmaps.com/* --exclude=https://pt.merginmaps.com/* --exclude=.*twitter.com/* --exclude=.*x.com/* --exclude=https://www.fauna-flora.org* --exclude=https://download.geofabrik.de* --exclude=https://www.linkedin.com/* --exclude=https://docs.github.com* --exclude=.*openstreetmap.org.* --exclude=.*sqlite.org.* --exclude=.*gnu.org.* --exclude=.*github.com/merginmaps/docs/edit/.* --exclude=.*libtiff.org.* --exclude=https://gis.stackexchange.com/* --exclude=https://www.stackexchange.com/* --exclude=https://www.stackoverflow.com/* --exclude=https://ocw.un-ihe.org/* --exclude=https://merginmaps.com/case-studies/* --exclude=https://merginmaps.com/support/* --exclude=https://merginmaps.com/glossary/* --exclude=https://merginmaps.com/community/join --exclude=https://merginmaps.com/blog/* --exclude=https://apps.apple.com/us/app/input/* --exclude=https://www.maplango.com* --exclude=https://apps.apple.com/* --exclude=https://www.mobilegis.at/* --exclude=https://fonts.googleapis.com* --exclude=https://fonts.gstatic.com* --exclude=https://gispro.com.au/* --exclude=http://www.mobilegis.at* --exclude=http://linkedin.com/* --exclude=https://www.verticalgeo.com/* --exclude=https://mappinggis.com/* --exclude=https://app.termly.io/* --exclude=https://www.apple.com/* --exclude=https://play.google.com/* --exclude=https://www.nginx.com/* --exclude=https://proj.org/* --exclude=https://www.burdgis.com* --exclude=https://www.docker.com* --exclude=https://www.googletagmanager.com* --exclude=https://assets-global.website-files.com --exclude=https://uploads-ssl.webflow.com --exclude=https://www.institut-agro-montpellier.fr/* --exclude=http://bad-elf.com* --exclude=https://bad-elf.com/* --exclude=https://merginmaps.com/hardware-partners --exclude=https://merginmaps.com/partners --exclude=https://merginmaps.com/use-case/* --exclude=https://www.otter.org/ --exclude=https://docs.sqlalchemy.org* --exclude=https://www.facebook.com/* --exclude=.*gdal.org/* --exclude=.*spatialised.net/* --exclude=https://cdn.prod.website-files.com/* --exclude=https://aws.amazon.com/* --exclude=https://support.apple.com/* --exclude=https://www.ordnancesurvey.co.uk/* --exclude=https://www.ardusimple.com/* --exclude=https://exiftool.org/*
1+
--exclude=https://de.merginmaps.com/* --exclude=https://es.merginmaps.com/* --exclude=https://fr.merginmaps.com/* --exclude=https://it.merginmaps.com/* --exclude=https://pt.merginmaps.com/* --exclude=.*twitter.com/* --exclude=.*x.com/* --exclude=https://www.fauna-flora.org* --exclude=https://download.geofabrik.de* --exclude=https://www.linkedin.com/* --exclude=https://docs.github.com* --exclude=.*openstreetmap.org.* --exclude=.*sqlite.org.* --exclude=.*gnu.org.* --exclude=.*github.com/merginmaps/docs/edit/.* --exclude=.*libtiff.org.* --exclude=https://gis.stackexchange.com/* --exclude=https://www.stackexchange.com/* --exclude=https://www.stackoverflow.com/* --exclude=https://ocw.un-ihe.org/* --exclude=https://merginmaps.com/case-studies/* --exclude=https://merginmaps.com/support/* --exclude=https://merginmaps.com/glossary/* --exclude=https://merginmaps.com/community/join --exclude=https://merginmaps.com/blog/* --exclude=https://apps.apple.com/us/app/input/* --exclude=https://www.maplango.com* --exclude=https://apps.apple.com/* --exclude=https://www.mobilegis.at/* --exclude=https://fonts.googleapis.com* --exclude=https://fonts.gstatic.com* --exclude=https://gispro.com.au/* --exclude=http://www.mobilegis.at* --exclude=http://linkedin.com/* --exclude=https://www.verticalgeo.com/* --exclude=https://mappinggis.com/* --exclude=https://app.termly.io/* --exclude=https://www.apple.com/* --exclude=https://play.google.com/* --exclude=https://www.nginx.com/* --exclude=https://proj.org/* --exclude=https://www.burdgis.com* --exclude=https://www.docker.com* --exclude=https://www.googletagmanager.com* --exclude=https://assets-global.website-files.com --exclude=https://uploads-ssl.webflow.com --exclude=https://www.institut-agro-montpellier.fr/* --exclude=http://bad-elf.com* --exclude=https://bad-elf.com/* --exclude=https://merginmaps.com/hardware-partners --exclude=https://merginmaps.com/partners --exclude=https://merginmaps.com/use-case/* --exclude=https://www.otter.org/ --exclude=https://docs.sqlalchemy.org* --exclude=https://www.facebook.com/* --exclude=.*gdal.org/* --exclude=.*spatialised.net/* --exclude=https://cdn.prod.website-files.com/* --exclude=https://aws.amazon.com/* --exclude=https://support.apple.com/* --exclude=https://www.ordnancesurvey.co.uk/* --exclude=https://www.ardusimple.com/* --exclude=https://exiftool.org/* --exclude=https://pro.arcgis.com/*

0 commit comments

Comments
 (0)