]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Improve Docusaurus URLs (#7315)
authorBen McCann <322311+benmccann@users.noreply.github.com>
Fri, 8 May 2020 13:45:12 +0000 (06:45 -0700)
committerGitHub <noreply@github.com>
Fri, 8 May 2020 13:45:12 +0000 (09:45 -0400)
docs/docs/axes/cartesian/index.md [moved from docs/docs/axes/cartesian/README.md with 100% similarity]
docs/docs/axes/index.md [moved from docs/docs/axes/README.md with 100% similarity]
docs/docs/axes/radial/index.md [moved from docs/docs/axes/radial/README.md with 100% similarity]
docs/docs/configuration/index.md [moved from docs/docs/configuration/README.md with 100% similarity]
docs/docs/developers/index.md [moved from docs/docs/developers/README.md with 100% similarity]
docs/docs/general/interactions/index.md [moved from docs/docs/general/interactions/README.md with 100% similarity]
docs/docs/getting-started/index.md [moved from docs/docs/getting-started/README.md with 100% similarity]
docs/docs/index.md [moved from docs/docs/README.md with 100% similarity]
docs/sidebars.js
docs/src/pages/index.js

similarity index 100%
rename from docs/docs/README.md
rename to docs/docs/index.md
index 4b19a503326c05535ea4504589e3b070463c2985..7e6e4bae7cab5e5ced5bb37e192cfca266edcb25 100644 (file)
@@ -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',
index 341f4744feac30c8848ddb08787e1baecfdd9617..17298eb8f18cd45a92a9ae2236a9199c27c0976c 100644 (file)
@@ -4,7 +4,7 @@ import {Redirect} from '@docusaurus/router';
 import useBaseUrl from '@docusaurus/useBaseUrl';
 
 function Home() {
-  return <Redirect to={useBaseUrl('/getting-started/README')} />;
+  return <Redirect to={useBaseUrl('/index')} />;
 }
 
 export default Home;