From b4800cdbf4fed49f4ad40a3609af16843b3cb774 Mon Sep 17 00:00:00 2001 From: thinkinggis Date: Sun, 8 Mar 2020 15:40:22 +0800 Subject: [PATCH] fix: site react example --- {examples => demos}/react/scene/demo/amap.jsx | 0 {examples => demos}/react/scene/demo/meta.json | 0 {examples => demos}/react/scene/index.en.md | 0 {examples => demos}/react/scene/index.zh.md | 0 gatsby-config.js | 8 -------- 5 files changed, 8 deletions(-) rename {examples => demos}/react/scene/demo/amap.jsx (100%) rename {examples => demos}/react/scene/demo/meta.json (100%) rename {examples => demos}/react/scene/index.en.md (100%) rename {examples => demos}/react/scene/index.zh.md (100%) diff --git a/examples/react/scene/demo/amap.jsx b/demos/react/scene/demo/amap.jsx similarity index 100% rename from examples/react/scene/demo/amap.jsx rename to demos/react/scene/demo/amap.jsx diff --git a/examples/react/scene/demo/meta.json b/demos/react/scene/demo/meta.json similarity index 100% rename from examples/react/scene/demo/meta.json rename to demos/react/scene/demo/meta.json diff --git a/examples/react/scene/index.en.md b/demos/react/scene/index.en.md similarity index 100% rename from examples/react/scene/index.en.md rename to demos/react/scene/index.en.md diff --git a/examples/react/scene/index.zh.md b/demos/react/scene/index.zh.md similarity index 100% rename from examples/react/scene/index.zh.md rename to demos/react/scene/index.zh.md diff --git a/gatsby-config.js b/gatsby-config.js index dfec4b4bfe..fcb296eb86 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -175,14 +175,6 @@ module.exports = { en: 'Featured' } }, - { - slug: 'react', - icon: 'raster', - title: { - zh: 'React 组件', - en: 'React Component' - } - }, { slug: 'point', icon: 'point',