Skip to content

Commit

Permalink
docs: stuff with tutorials
Browse files Browse the repository at this point in the history
  • Loading branch information
mthh committed Sep 23, 2024
1 parent f25f51e commit 33b9f7f
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 11 deletions.
10 changes: 5 additions & 5 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ function sidebarFr(): DefaultTheme.SidebarItem[] {
text: 'Tutoriels',
collapsed: true,
items: [
{ text: 'Premier pas avec Magrit (exemple 1)', link: '/tutorials/tuto1' },
{ text: 'Premier pas avec Magrit (exemple 2)', link: '/tutorials/tuto2' },
// { text: 'Premier pas avec Magrit (exemple 1)', link: '/tutorials/tuto1' },
{ text: 'Premier pas avec Magrit (exemple 1)', link: '/tutorials/tuto2' },
// { text: 'Utilisation de fonctionnalités avancées de Magrit', link: 'tutorials/tuto3' },
{ text: 'Démonstration vidéo', link: 'tutorials/video' },
{ text: 'Démonstration vidéo', link: '/tutorials/video' },
],
},
{ text: 'Questions fréquemment posées', link: '/faq' },
Expand Down Expand Up @@ -131,8 +131,8 @@ function sidebarEn(): DefaultTheme.SidebarItem[] {
text: 'Tutorials',
collapsed: true,
items: [
{ text: 'Getting started with Magrit (example 1)', link: '/en/tutorials/tuto1' },
{ text: 'Getting started with Magrit (example 2)', link: '/en/tutorials/tuto2' },
// { text: 'Getting started with Magrit (example 1)', link: '/en/tutorials/tuto1' },
{ text: 'Getting started with Magrit (example 1)', link: '/en/tutorials/tuto2' },
// { text: 'Using Magrit advanced features', link: '/en/tutorials/tuto3' },
{ text: 'Video demonstration', link: '/en/tutorials/video' },
],
Expand Down
8 changes: 8 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

<br />

#### 2.0.13 (2024-09-23)

- Corrige l'absence de vérification avant d'alerter l'utilisateur.trice à propos d'un type de champ incompatible lors de la création d'une nouvelle colonne.

- Meilleur gestion des valeurs `Infinity` et `NaN` lors de la création d'une nouvelle colonne.

- Ajout d'un tutoriel et d'une vidéo à la documentation.

#### 2.0.12 (2024-09-17)

- Corrige la mise à jour de la légende des cartes en champignons après que la taille de référence d'un demi-cercle ait changé.
Expand Down
10 changes: 9 additions & 1 deletion docs/en/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

<br />

#### 2.0.13 (2024-09-23)

- Fix the lack of verification before alerting the user to an incompatible field type when creating a new column.

- Improve handling of `Infinity` and `NaN` values when creating a new column.

- Add a tutorial and a video to the documentation.

#### 2.0.12 (2024-09-17)

- Fix mushrooms map legend update after the reference size of a half-circle has changed.
Expand All @@ -14,7 +22,7 @@

- Improve the behavior of the “Zoom to layer” feature to take into account any margins added by the user around the map.

- Improves support for small values in the zoom factor options in the left side menu.
- Improve support for small values in the zoom factor options in the left side menu.

- Add a tutorial to the documentation.

Expand Down
2 changes: 1 addition & 1 deletion docs/en/tutorials/tuto2.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Tutorial - Getting started with Magrit
# Example 2: Using Open Data from Grenoble Metropole
# Example 1: Using Open Data from Grenoble Metropole

We're going to create a simple thematic map with Magrit using your own data.

Expand Down
2 changes: 1 addition & 1 deletion docs/en/tutorials/video.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

The following video (no audio) shows the various steps involved in creating a simple thematic map with Magrit.

<iframe width="560" height="315" src="https://www.canal-u.tv/chaines/riate/embed/155653?t=0" allowfullscreen></iframe>
<iframe width="600" height="338" src="https://www.canal-u.tv/chaines/riate/embed/155653?t=0" allowfullscreen></iframe>
2 changes: 1 addition & 1 deletion docs/tutorials/tuto2.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Tutoriel - Premier pas avec Magrit
# Exemple 2 : Utilisation de données de la Métropole de Grenoble
# Exemple 1 : Utilisation de données de la Métropole de Grenoble

Nous allons réaliser une carte thématique simple avec Magrit en utilisant des données ouvertes, récupérables sur le Web.

Expand Down
4 changes: 2 additions & 2 deletions docs/tutorials/video.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Tutoriel vidéo

La vidéo suivate (pas d'audio) présente les différentes étapes pour réaliser une carte thématique simple avec Magrit.
La vidéo suivante (pas d'audio) présente les différentes étapes pour réaliser une carte thématique simple avec Magrit.

<iframe width="560" height="315" src="https://www.canal-u.tv/chaines/riate/embed/155653?t=0" allowfullscreen></iframe>
<iframe width="600" height="338" src="https://www.canal-u.tv/chaines/riate/embed/155653?t=0" allowfullscreen></iframe>

0 comments on commit 33b9f7f

Please sign in to comment.