Skip to content

Commit 9d22d47

Browse files
committed
update(site): align build workflow
1 parent eab0eb0 commit 9d22d47

File tree

11 files changed

+331
-1
lines changed

11 files changed

+331
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060

6161
- name: Build static website
6262
run: |
63+
python scripts/100_mkdocs_config_merger.py -c mkdocs.yml
6364
mkdocs build --clean --config-file mkdocs.yml --verbose --strict
6465
env:
6566
MKDOCS_ENABLE_PLUGIN_BLOG: true

.github/workflows/pr_checker_build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ jobs:
7878
export MKDOCS_SITE_URL="https://${NETLIFY_SITE_PREFIX}--${NETLIFY_SITE_NAME}.netlify.app/"
7979
8080
# merge different configs
81-
python scripts/050_mkdocs_populate_latest.py -c ${{ env.MKDOCS_CONFIG_FILENAME }}
8281
python scripts/100_mkdocs_config_merger.py -c ${{ env.MKDOCS_CONFIG_FILENAME }}
8382
8483
# build

config/extra_social.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
social:
2+
- icon: "fontawesome/solid/rss"
3+
link: https://blog.geotribu.net/feed_rss_created.xml
4+
name: Subscribe to newly published contents
5+
- icon: "fontawesome/brands/github-alt"
6+
link: "https://github.com/geotribu/"
7+
name: Geotribu on GitHub
8+
- icon: "fontawesome/brands/mastodon"
9+
link: https://mapstodon.space/@geotribu
10+
name: Geotribu on Mastodon
11+
- icon: fontawesome/brands/linkedin
12+
link: https://www.linkedin.com/company/geotribu/
13+
name: Geotribu on LinkedIn
14+
- icon: fontawesome/brands/bluesky
15+
link: https://bsky.app/profile/geotribu.bsky.social
16+
name: Geotribu on BlueSky
17+
- icon: fontawesome/brands/youtube
18+
link: https://www.youtube.com/@geotribu
19+
name: Youtube channel of Geotribu
20+
- icon: fontawesome/solid/paper-plane
21+
link: mailto:<[email protected]>
22+
name: Contact us
23+
- icon: simple/liberapay
24+
link: https://liberapay.com/Geotribu/
25+
name: Support the project

config/extra_tags.yml

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
tags:
2+
3D: 3d
3+
ArcGIS: esri
4+
atlas: atlas
5+
base de données: database
6+
Bash: code
7+
Blender: blender
8+
cartographie: carte
9+
Centipede: satellite
10+
CNIG: institution
11+
collecte: telephone
12+
collecte terrain: telephone
13+
conférence: conference
14+
coulisses: masques
15+
cURL: code
16+
D3.js: js
17+
DuckDB: database
18+
Easter eggs: oeuf
19+
Esri: esri
20+
ETL: roue
21+
ExtJS: js
22+
Facebook: facebook
23+
FIG: conference
24+
FME: roue
25+
FOSS4G: conference
26+
GDAL: gdal
27+
GéoDataDays: conference
28+
GeoGames: manette
29+
GeoKettle: roue
30+
GeoParquet: parquet
31+
GEOS: globe
32+
Geotribu: tente
33+
géo-lecture: atlas
34+
Git: git
35+
GitHub: git
36+
GitLab: git
37+
Google: google
38+
Google Earth: google
39+
Google Maps: google
40+
Google Street View: google
41+
GraphHopper: route
42+
GRASS: grass
43+
Halloween: citrouille
44+
HTML: html
45+
HTML5: html
46+
IA: cerveau
47+
IGN: institution
48+
Input: telephone
49+
INSPIRE: ananas
50+
IRC: commentaires
51+
JavaScript: js
52+
jeu: manette
53+
jeux vidéo: manette
54+
Leaflet: feuille
55+
Lego: brick
56+
LIDAR: satellite
57+
livre: atlas
58+
Linux: pingouin
59+
Mapillary: streetview
60+
MapLibre: maplibre
61+
Markdown: markdown
62+
Mastodon: mastodon
63+
Matrix: commentaires
64+
Minecraft: manette
65+
modèle numérique d'élévation: terrain
66+
MySQL: database
67+
NoSQL: database
68+
ODK: telephone
69+
OGR: gdal
70+
Open Data Kit: telephone
71+
OpenDroneMap: drone
72+
OpenPathView: streetview
73+
OpenRouteService: route
74+
open data: open
75+
open source: opensource
76+
OpenStreetMap: geoloupe
77+
Ordnance Survey: institution
78+
OSRM: route
79+
Open Earth View: streetview
80+
Parquet: parquet
81+
pgDay: database
82+
pgRouting: route
83+
PGSession: database
84+
PostGIS: database
85+
PostgreSQL: database
86+
projection: meridiens
87+
PyCSW: python
88+
PyGEOS: python
89+
PyQGIS: python
90+
PyQt: python
91+
PySQL: python
92+
Python: python
93+
PyWPS: python
94+
QField: telephone
95+
QGIS: qgis
96+
R: rstats
97+
raster: raster
98+
relief: terrain
99+
réseaux sociaux: rezosocio
100+
route: route
101+
routing: route
102+
SAGA: gemeaux
103+
SQL: database
104+
three.js: js
105+
topologie: vector
106+
Twitter: twitter
107+
Ubuntu: ubuntu
108+
Wikipédia: wikipedia
109+
Windows: windows

config/plugins_glightbox.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
glightbox:
2+
auto_caption: true
3+
caption_position: bottom
4+
draggable: true
5+
effect: zoom
6+
height: auto
7+
skip_classes:
8+
- img-rdp-news-thumb
9+
- emojione
10+
- twemoji
11+
touchNavigation: true
12+
width: 90%
13+
zoomable: true

config/plugins_rss.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
rss:
2+
cache_dir: !ENV [MKDOCS_PLUGIN_RSS_CACHE_DIR, .cache/plugins/rss]
3+
categories:
4+
- categories
5+
- tags
6+
comments_path: "#__comments"
7+
date_from_meta:
8+
as_creation: date
9+
default_timezone: Europe/Paris
10+
default_time: "09:09"
11+
enabled: !ENV [MKDOCS_ENABLE_PLUGIN_RSS, true]
12+
length: 50
13+
match_path: blog/posts/.*
14+
pretty_print: false
15+
url_parameters:
16+
utm_source: "rss-feed"
17+
utm_medium: "RSS"
18+
utm_campaign: "feed-syndication"

config/theme_icon.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
icon:
2+
edit: material/pencil
3+
repo: fontawesome/brands/github-alt
4+
view: material/eye
5+
tag:
6+
default: fontawesome/solid/tag
7+
# -- custom tags icons
8+
3d: material/rotate-3d
9+
ananas: material/fruit-pineapple
10+
atlas: fontawesome/solid/book-atlas
11+
blender: material/blender-software
12+
brick: material/toy-brick
13+
carte: fontawesome/solid/map-location
14+
cerveau: material/brain
15+
citrouille: material/pumpkin
16+
code: fontawesome/solid/code
17+
commentaires: fontawesome/solid/comments
18+
conference: fontawesome/solid/person-chalkboard
19+
database: fontawesome/solid/database
20+
drone: material/drone
21+
esri: simple/esri
22+
facebook: fontawesome/brands/facebook
23+
feuille: fontawesome/solid/leaf
24+
gdal: simple/gdal
25+
gemeaux: material/zodiac-gemini
26+
geoloupe: fontawesome/solid/magnifying-glass-location
27+
git: fontawesome/brands/git-alt
28+
globe: fontawesome/solid/earth-europe
29+
google: fontawesome/brands/google
30+
grass: material/grass
31+
html: fontawesome/brands/html5
32+
institution: fontawesome/solid/building-columns
33+
js: fontawesome/brands/js
34+
manette: fontawesome/solid/gamepad
35+
maplibre: simple/maplibre
36+
markdown: fontawesome/brands/markdown
37+
masques: fontawesome/solid/masks-theater
38+
mastodon: material/mastodon
39+
meridiens: fontawesome/solid/globe
40+
oeuf: fontawesome/solid/egg
41+
open: fontawesome/solid/lock-open
42+
opensource: material/open-source-initiative
43+
parquet: simple/apacheparquet
44+
pingouin: simple/linux
45+
python: fontawesome/brands/python
46+
qgis: simple/qgis
47+
raster: material/data-matrix
48+
rezosocio: material/account-network
49+
roue: material/cog-play
50+
route: fontawesome/solid/route
51+
rstats: fontawesome/brands/r-project
52+
satellite: fontawesome/solid/satellite-dish
53+
streetview: fontawesome/solid/street-view
54+
tente: material/tent
55+
telephone: material/cellphone-marker
56+
terrain: fontawesome/solid/mountain-city
57+
twitter: simple/x
58+
ubuntu: material/ubuntu
59+
vector: material/vector-polygon
60+
wikipedia: material/wikipedia
61+
windows: fontawesome/brands/windows

config/validation.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
links:
2+
absolute_links: warn
3+
anchors: ignore
4+
not_found: warn
5+
unrecognized_links: warn
6+
nav:
7+
absolute_links: warn
8+
not_found: warn
9+
omitted_files: warn

content/CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blog.geotribu.net

content/robots.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
User-Agent: *
2+
Allow: /
3+
4+
Sitemap: https://blog.geotribu.net/sitemap.xml

0 commit comments

Comments
 (0)