From 3611fb87c0cf64fa2b78c3a3ad1fccefb6a157ba Mon Sep 17 00:00:00 2001
From: Hugues <hugues@lydra.fr>
Date: Thu, 8 Jul 2021 13:03:52 +0000
Subject: [PATCH] fix bug on build, create a dummy page to the links

Doc : explain page creation
---
 README.md               | 10 ++++++++++
 docusaurus.config.js    | 16 ++++++++--------
 src/pages/dummy_page.md |  8 ++++++++
 3 files changed, 26 insertions(+), 8 deletions(-)
 create mode 100644 src/pages/dummy_page.md

diff --git a/README.md b/README.md
index 231a499..0496135 100644
--- a/README.md
+++ b/README.md
@@ -31,3 +31,13 @@ GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy
 ```
 
 If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
+
+## Create a new page
+
+We have two different ways to create a new page, in JavaScript, or, in Markdown: 
+
+- If we don't need a specific layout, we recommend to create a page in Markdown, with `.md` extention.
+- If we need to specific layout, create a page in JavaScript with `.js` extention.
+
+This offers a better return on investment because the Markdown (`.md`) is faster to do.
+
diff --git a/docusaurus.config.js b/docusaurus.config.js
index 3969033..3960cc1 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -81,11 +81,11 @@ module.exports = {
           items: [
             {
               label: "Forum",
-              to: "/forum",
+              to: "/dummy_page",
             },
             {
               label: "Wiki",
-              to: "/wiki",
+              to: "/dummy_page",
             },
           ],
         },     
@@ -94,19 +94,19 @@ module.exports = {
           items: [
             {
               label: "À propos",
-              to: "/a_propos",
+              to: "/dummy_page",
             },
             {
               label: "Contact",
-              to: "/contact",
+              to: "/dummy_page",
             },
             {
               label: "Équipe",
-              to: "/equipe",
+              to: "/dummy_page",
             },
             {
               label: "Mentions légales",
-              to: "/mentions_legales",
+              to: "/dummy_page",
             },
             {
               label: "CGV",
@@ -114,11 +114,11 @@ module.exports = {
             },
             {
               label: "CPV",
-              to: "/cpv",
+              to: "/dummy_page",
             },
             {
               label: "CGU",
-              to: "/cgu",
+              to: "/dummy_page",
             },
           ],
         },
diff --git a/src/pages/dummy_page.md b/src/pages/dummy_page.md
new file mode 100644
index 0000000..728f2e1
--- /dev/null
+++ b/src/pages/dummy_page.md
@@ -0,0 +1,8 @@
+---
+title: dummy
+description: page factice
+---
+
+# Page factice
+
+Page factice penser à créer une vraie page !
-- 
GitLab