Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: g2 new site #1605

Merged
merged 1 commit into from
Nov 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"loose": true,
"modules": false
}
]
],
"babel-preset-gatsby"
]
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ typings/
# dotenv environment variables file
.env

public
build
dist
temp
Expand Down
8 changes: 3 additions & 5 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,33 +16,31 @@ module.exports = {
title: 'G2',
description: 'The Grammar of Graphics in JavaScript',
githubUrl: repository.url,
docs: [
navs: [
{
slug: 'docs/tutorial',
title: {
zh: '使用教程',
en: 'tutorial'
}
// redirect: 'introduction',
// order: 0
},
{
slug: 'docs/api',
title: {
zh: 'API 文档',
en: 'API'
}
// order: 3,
},
{
slug: 'examples',
title: {
zh: '图表演示',
en: 'Examples'
}
// redirect: 'line/basic'
}
],
docs: [
],
examples: [
{
slug: 'examples/line',
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@
"license": "MIT",
"devDependencies": {
"@antv/data-set": "~0.9.6",
"@antv/gatsby-theme-antv": "^0.9.4",
"@antv/gatsby-theme-antv": "^0.9.7",
"@babel/cli": "~7.0.0",
"@babel/core": "~7.0.0",
"@babel/preset-env": "~7.0.0",
"babel-eslint": "~8.0.3",
"babel-loader": "~8.0.0",
"babel-plugin-transform-remove-strict-mode": "~0.0.2",
"babel-preset-gatsby": "^0.2.20",
"blink-diff": "^1.0.13",
"body-parser": "~1.18.2",
"chai": "~4.1.2",
Expand Down
Binary file removed public/icons/icon-144x144.png
Binary file not shown.
Binary file removed public/icons/icon-192x192.png
Binary file not shown.
Binary file removed public/icons/icon-256x256.png
Binary file not shown.
Binary file removed public/icons/icon-384x384.png
Binary file not shown.
Binary file removed public/icons/icon-48x48.png
Binary file not shown.
Binary file removed public/icons/icon-512x512.png
Binary file not shown.
Binary file removed public/icons/icon-72x72.png
Binary file not shown.
Binary file removed public/icons/icon-96x96.png
Binary file not shown.
1 change: 0 additions & 1 deletion public/manifest.webmanifest

This file was deleted.

1 change: 0 additions & 1 deletion public/page-data/404.html/page-data.json

This file was deleted.

1 change: 0 additions & 1 deletion public/page-data/404/page-data.json

This file was deleted.

1 change: 0 additions & 1 deletion public/page-data/dev-404-page/page-data.json

This file was deleted.

1 change: 0 additions & 1 deletion public/page-data/en/page-data.json

This file was deleted.

1 change: 0 additions & 1 deletion public/page-data/index/page-data.json

This file was deleted.

1 change: 0 additions & 1 deletion public/page-data/zh/page-data.json

This file was deleted.

112 changes: 0 additions & 112 deletions public/render-page.js

This file was deleted.

1 change: 0 additions & 1 deletion public/render-page.js.map

This file was deleted.