From a77f4d21fa114c4592c72652cdb135f25047aca5 Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 21 Nov 2019 13:47:11 +0800 Subject: [PATCH 1/3] :rocket: graphin.antv.vision --- README.md | 10 +++++----- packages/graphin-site/gatsby-config.js | 2 +- packages/graphin-site/package.json | 4 ++-- packages/graphin-site/site/pages/GraphinStudio.zh.tsx | 2 +- packages/graphin/README-cn.ZH.md | 4 ++-- packages/graphin/README.md | 4 ++-- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 737a25185..f8d72efbf 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ ReactDOM.render(, rootElement); ``` -### Develop +### Develop - Set npmClient @@ -108,7 +108,7 @@ npm run site ### More -- [Introduction to Graphin](https://antv.vision/graphin/en/docs/manual/introduction) -- [Getting started](https://antv.vision/graphin/en/docs/manual/getting-started) -- [API documentation](https://antv.vision/graphin/en/docs/api/graphin) -- [GraphinStudio](https://antv.vision/graphin/en/GraphinStudio) +- [Introduction to Graphin](https://graphin.antv.vision/zh/docs/manual/introduction) +- [Getting started](https://graphin.antv.vision/zh/docs/manual/getting-started) +- [API documentation](https://graphin.antv.vision/zh/docs/api/graphin) +- [GraphinStudio](https://graphin.antv.vision/zh/GraphinStudio) diff --git a/packages/graphin-site/gatsby-config.js b/packages/graphin-site/gatsby-config.js index 271038d55..178006226 100644 --- a/packages/graphin-site/gatsby-config.js +++ b/packages/graphin-site/gatsby-config.js @@ -7,7 +7,6 @@ module.exports = { resolve: '@antv/gatsby-theme-antv', options: { GATrackingId: `UA-148148901-8`, - pathPrefix: '/graphin', }, }, ], @@ -15,6 +14,7 @@ module.exports = { siteMetadata: { title: 'Graphin', description: 'the react toolkit for graph analysis based on g6', + siteUrl: 'https://graphin.antv.vision', githubUrl: repository.url, navs: [ { diff --git a/packages/graphin-site/package.json b/packages/graphin-site/package.json index b1e7c2fb3..afedff094 100644 --- a/packages/graphin-site/package.json +++ b/packages/graphin-site/package.json @@ -19,7 +19,7 @@ "url": "https://github.com/antvis/graphin" }, "devDependencies": { - "@antv/gatsby-theme-antv": "^0.9.69", + "@antv/gatsby-theme-antv": "^0.9.85", "gatsby": "^2.17.7", "gh-pages": "^2.1.1" }, @@ -28,4 +28,4 @@ "react": "^16.11.0", "react-i18next": "^11.0.1" } -} \ No newline at end of file +} diff --git a/packages/graphin-site/site/pages/GraphinStudio.zh.tsx b/packages/graphin-site/site/pages/GraphinStudio.zh.tsx index 6d7a1f37c..32f41b9a8 100644 --- a/packages/graphin-site/site/pages/GraphinStudio.zh.tsx +++ b/packages/graphin-site/site/pages/GraphinStudio.zh.tsx @@ -17,7 +17,7 @@ const IndexPage = () => { }} >