diff --git a/README.md b/README.md index 231a499c0d66c1385db3b8cc36376409f0521004..049613518a139169216866d3c2f7fb4695431f4d 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 3969033d3fe31cf379f0c8cb5178323f1976855c..3960cc1f365c3bef356440f8e8a074d02264ea08 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 0000000000000000000000000000000000000000..728f2e166d7492c540c6f56155199859ecca861c --- /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 !