From 43a3654b344e893a2e850165a1411d308e67d6e6 Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Fri, 8 May 2020 06:45:12 -0700 Subject: [PATCH] Improve Docusaurus URLs (#7315) --- docs/docs/axes/cartesian/{README.md => index.md} | 0 docs/docs/axes/{README.md => index.md} | 0 docs/docs/axes/radial/{README.md => index.md} | 0 docs/docs/configuration/{README.md => index.md} | 0 docs/docs/developers/{README.md => index.md} | 0 .../general/interactions/{README.md => index.md} | 0 .../docs/getting-started/{README.md => index.md} | 0 docs/docs/{README.md => index.md} | 0 docs/sidebars.js | 16 ++++++++-------- docs/src/pages/index.js | 2 +- 10 files changed, 9 insertions(+), 9 deletions(-) rename docs/docs/axes/cartesian/{README.md => index.md} (100%) rename docs/docs/axes/{README.md => index.md} (100%) rename docs/docs/axes/radial/{README.md => index.md} (100%) rename docs/docs/configuration/{README.md => index.md} (100%) rename docs/docs/developers/{README.md => index.md} (100%) rename docs/docs/general/interactions/{README.md => index.md} (100%) rename docs/docs/getting-started/{README.md => index.md} (100%) rename docs/docs/{README.md => index.md} (100%) diff --git a/docs/docs/axes/cartesian/README.md b/docs/docs/axes/cartesian/index.md similarity index 100% rename from docs/docs/axes/cartesian/README.md rename to docs/docs/axes/cartesian/index.md diff --git a/docs/docs/axes/README.md b/docs/docs/axes/index.md similarity index 100% rename from docs/docs/axes/README.md rename to docs/docs/axes/index.md diff --git a/docs/docs/axes/radial/README.md b/docs/docs/axes/radial/index.md similarity index 100% rename from docs/docs/axes/radial/README.md rename to docs/docs/axes/radial/index.md diff --git a/docs/docs/configuration/README.md b/docs/docs/configuration/index.md similarity index 100% rename from docs/docs/configuration/README.md rename to docs/docs/configuration/index.md diff --git a/docs/docs/developers/README.md b/docs/docs/developers/index.md similarity index 100% rename from docs/docs/developers/README.md rename to docs/docs/developers/index.md diff --git a/docs/docs/general/interactions/README.md b/docs/docs/general/interactions/index.md similarity index 100% rename from docs/docs/general/interactions/README.md rename to docs/docs/general/interactions/index.md diff --git a/docs/docs/getting-started/README.md b/docs/docs/getting-started/index.md similarity index 100% rename from docs/docs/getting-started/README.md rename to docs/docs/getting-started/index.md diff --git a/docs/docs/README.md b/docs/docs/index.md similarity index 100% rename from docs/docs/README.md rename to docs/docs/index.md diff --git a/docs/sidebars.js b/docs/sidebars.js index 4b19a5033..7e6e4bae7 100644 --- a/docs/sidebars.js +++ b/docs/sidebars.js @@ -1,8 +1,8 @@ module.exports = { someSidebar: { - Introduction: ['README'], + Introduction: ['index'], 'Getting Started': [ - 'getting-started/README', + 'getting-started/index', 'getting-started/installation', 'getting-started/integration', 'getting-started/usage', @@ -13,14 +13,14 @@ module.exports = { 'general/accessibility', 'general/responsive', 'general/device-pixel-ratio', - {Interactions: ['general/interactions/README', 'general/interactions/events', 'general/interactions/modes']}, + {Interactions: ['general/interactions/index', 'general/interactions/events', 'general/interactions/modes']}, 'general/options', 'general/colors', 'general/fonts', 'general/performance' ], Configuration: [ - 'configuration/README', + 'configuration/index', 'configuration/animations', 'configuration/layout', 'configuration/legend', @@ -40,23 +40,23 @@ module.exports = { 'charts/mixed' ], Axes:[ - 'axes/README', + 'axes/index', { Cartesian: [ - 'axes/cartesian/README', + 'axes/cartesian/index', 'axes/cartesian/category', 'axes/cartesian/linear', 'axes/cartesian/logarithmic', 'axes/cartesian/time' ]}, { Radial: [ - 'axes/radial/README', + 'axes/radial/index', 'axes/radial/linear' ]}, 'axes/labelling', 'axes/styling' ], Developers: [ - 'developers/README', + 'developers/index', 'developers/api', { type: 'link', diff --git a/docs/src/pages/index.js b/docs/src/pages/index.js index 341f4744f..17298eb8f 100644 --- a/docs/src/pages/index.js +++ b/docs/src/pages/index.js @@ -4,7 +4,7 @@ import {Redirect} from '@docusaurus/router'; import useBaseUrl from '@docusaurus/useBaseUrl'; function Home() { - return ; + return ; } export default Home; -- 2.47.2