-
Notifications
You must be signed in to change notification settings - Fork 1
/
mkdocs.yml
111 lines (103 loc) · 3.45 KB
/
mkdocs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
site_name: 'MapICGC-gl-js'
#site_url: https://autogitlab.icgc.local/geostarters/icgc/mapicgc/mapicgc-doc
site_url: https://openicgc.github.io/mapicgc-doc
site_description: Documentació i exemples biblioteca mapicgc-gl-js.
site_author: unitatgeostart
theme:
name: 'material'
language: 'ca'
logo: 'assets/icgc_gencat_logos_blanc.png'
favicon: assets/favicon.png
palette:
- scheme: custom
primary: custom
accent: custom
toggle:
icon: material/brightness-7
name: Canviar a mode fosc
- scheme: slate
primary: custom
toggle:
icon: material/brightness-4
name: Canviar a mode clar
highlightjs: true
# hljs_style: github
# nav_style: dark
suppress_nextprev: true
features:
- navigation.tabs
# - navigation.instant.prefetch
- navigation.expand
- content.code.copy
extra_css:
- 'stylesheets/extra.css'
markdown_extensions:
- codehilite:
linenums: True
- admonition
- pymdownx.magiclink
- pymdownx.superfences
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences
- footnotes
- tables
- attr_list
#repo_url: "https://autogitlab.icgc.local/geostarters/icgc/mapicgc/mapicgc-doc"
repo_url: "https://github.com/OpenICGC/mapicgc-doc"
nav:
- 'Inici':
- MapICGC-gl-js: index.md
- 'Instal·lació':
- 1.1 Instal·lació via NPM: 1.1.Inst_npm.md
- 1.2 Instal·lació via CDN: 1.2.Inst_cdn.md
- 'Exemples':
- 2.1 Crear mapa i afegir estil: 2.1.0.Map.md
- 2.2 Afegir terreny: 2.1.2.AddICGCTerrain.md
- 2.3 Afegir estil ORTO3D: 2.1.3.3dStyle.md
- 2.4 Afegir control d'estil: 2.2.AddBasemap.md
- 2.5 Afegir capa d'imatge ICGC: 2.3.AddImageLayerICGC.md
- 2.6 Afegir capa vector ICGC: 2.4.AddVectorLayerICGC.md
- 2.7 Afegir capa GeoJSON: 2.5.AddLayerGeojson.md
- 2.8 Afegir llistat de capes: 2.6.AddLayerTree.md
- 2.9 Afegir marker: 2.7.AddMarker.md
- 2.10 Afegir control: 2.8.AddControl.md
- 2.11 Afegir comparador: 2.9.AddCompare.md
- 2.12 Afegir logo: 2.10.AddLogo.md
- 2.13 Fetch dades: 2.11.FetchData.md
- 2.14 Fetch dades i crea menú: 2.12.FetchDataAndMenu.md
- 2.15 Consulta d'elements: 2.13.AddFeatureQuery.md
- 2.16 Afegir geocodificador ICGC: 2.14.AddGeocoderICGC.md
- 2.17 Exemple visor: 2.20.AdvancedExample.md
- 2.18 Reutilització codi Maplibre: 2.21.Maplibre2Mapicgc.md
- 'Documentació':
- 3.1 Funcions: 3.1.Funcions_doc.md
extra:
alternate:
# Original Language pip install mkdocs-google-translate
- name: Català
lang: 'ca'
#link: '%GT_RELATIVE_URL%' # For relative urls back to original language
# Extra languages
- name: English
lang: 'en'
link: 'https://openicgc-github-io.translate.goog/mapicgc-doc/?_x_tr_sl=ca&_x_tr_tl=en&_x_tr_hl=ca&_x_tr_pto=wapp'
- name: Español
lang: 'es'
link: 'https://openicgc-github-io.translate.goog/mapicgc-doc/?_x_tr_sl=ca&_x_tr_tl=es&_x_tr_hl=ca&_x_tr_pto=wapp'
- name: Française
lang: 'fr'
link: 'https://openicgc-github-io.translate.goog/mapicgc-doc/?_x_tr_sl=ca&_x_tr_tl=fr&_x_tr_hl=ca&_x_tr_pto=wapp'
# _x_tr_sl = source language
# _x_tr_tl = translation language
analytics:
provider: google
property: G-GR9JCZYNFH
plugins:
- search
- google-translate:
url: 'https://openicgc-github-io.translate.goog/mapicgc-doc/? # optional (required for local testing)'