diff --git a/docs/_data/menu.yml b/docs/_data/menu.yml index a1f1926..61f0575 100644 --- a/docs/_data/menu.yml +++ b/docs/_data/menu.yml @@ -68,6 +68,13 @@ header: - page: Stockage url: /pages/guide/version-1/advanced/storage.html title: Stockage + - page: Version 2 + url: /pages/guide/version-1/getting-started/introduction.html + title: Version 2 + subfolderitems: + - page: Démarrage rapide + url: /pages/guide/version-2/getting-started/introduction.html + title: Démarrage rapide - title: Cas d'utilisation subfolderitems: - page: Synchronisation complète diff --git a/docs/_layouts/documentation.html b/docs/_layouts/documentation.html index 13596fa..0751e91 100644 --- a/docs/_layouts/documentation.html +++ b/docs/_layouts/documentation.html @@ -1,4 +1,4 @@ ---- + \ No newline at end of file diff --git a/docs/_layouts/menu-version-2.html b/docs/_layouts/menu-version-2.html index 7d3d178..74ed1d4 100644 --- a/docs/_layouts/menu-version-2.html +++ b/docs/_layouts/menu-version-2.html @@ -1,30 +1,55 @@ --- layout: base --- - +
+
+
+ {%- if page.title -%} + {%- if page.subTitle -%} +

{{ page.subTitle }}

+ {%- endif -%} +

{{ page.title }}

+ {%- endif -%} + + + {{ content }} + + {% include next-resource.html %} +
+
+
diff --git a/docs/pages/guide/version-2/getting-started/api-basics.md b/docs/pages/guide/version-2/getting-started/api-basics.md index 713962d..d4a1809 100644 --- a/docs/pages/guide/version-2/getting-started/api-basics.md +++ b/docs/pages/guide/version-2/getting-started/api-basics.md @@ -1,5 +1,5 @@ --- -layout: menu-version-1 +layout: menu-version-2 title: Bases de l'API subTitle: Démarrage rapide --- diff --git a/docs/pages/guide/version-2/getting-started/get-api-key.md b/docs/pages/guide/version-2/getting-started/get-api-key.md index 7a4e473..2cdb170 100644 --- a/docs/pages/guide/version-2/getting-started/get-api-key.md +++ b/docs/pages/guide/version-2/getting-started/get-api-key.md @@ -1,5 +1,5 @@ --- -layout: menu-version-1 +layout: menu-version-2 title: Obtenir une clé API subTitle: Démarrage rapide --- diff --git a/docs/pages/guide/version-2/getting-started/introduction.md b/docs/pages/guide/version-2/getting-started/introduction.md index dc236ed..8e92aa0 100644 --- a/docs/pages/guide/version-2/getting-started/introduction.md +++ b/docs/pages/guide/version-2/getting-started/introduction.md @@ -1,5 +1,5 @@ --- -layout: menu-version-1 +layout: menu-version-2 title: Introduction subTitle: Démarrage rapide --- diff --git a/docs/pages/guide/version-2/getting-started/test-api.md b/docs/pages/guide/version-2/getting-started/test-api.md index 0969d1d..57aefac 100644 --- a/docs/pages/guide/version-2/getting-started/test-api.md +++ b/docs/pages/guide/version-2/getting-started/test-api.md @@ -1,5 +1,5 @@ --- -layout: menu-version-1 +layout: menu-version-2 title: Tester l'API subTitle: Démarrage rapide ---