Skip to content

Commit

Permalink
chore: translate api docs (#5604)
Browse files Browse the repository at this point in the history
* chore: translate api docs

* chore: remove translated api docs

* chore: restore translated api docs

* chore: restore translated api docs

* chore: add markdown comments
  • Loading branch information
xiaoiver authored Oct 16, 2023
1 parent d88016a commit 0054496
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
"prepublishOnly": "npm run ci",
"prepare": "husky install",
"upload": "node scripts/upload/snapshot.js",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"translate": "translate -d site/docs/api"
},
"keywords": [
"antv",
Expand Down Expand Up @@ -87,6 +88,7 @@
"@antv/g-plugin-control": "^1.9.5",
"@antv/g-plugin-rough-canvas-renderer": "^1.7.9",
"@antv/g-plugin-rough-svg-renderer": "^1.7.9",
"@antv/translator": "^1.0.0",
"@antv/g-svg": "^1.10.7",
"@antv/g-webgl": "^1.9.8",
"@commitlint/cli": "^11.0.0",
Expand Down
2 changes: 1 addition & 1 deletion site/docs/api/chart.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ title: Chart
order: 2
---

<!-- <embed src="@/docs/spec/chart.zh.md"></embed> -->
<!-- <embed src="@/docs/spec/chart.zh.md"></embed> -->
2 changes: 1 addition & 1 deletion site/docs/api/facetCircle.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ title: FacetCircle
order: 7
---

<!-- <embed src="@/docs/spec/chart.zh.md"></embed> -->
<!-- <embed src="@/docs/spec/chart.zh.md"></embed> -->
2 changes: 1 addition & 1 deletion site/docs/api/facetRect.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ title: FacetRect
order: 7
---

<!-- <embed src="@/docs/spec/chart.zh.md"></embed> -->
<!-- <embed src="@/docs/spec/chart.zh.md"></embed> -->
2 changes: 0 additions & 2 deletions site/docs/api/geoView.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@
title: GeoView
order: 4
---

<!-- <embed src="@/docs/spec/chart.zh.md"></embed> -->
2 changes: 1 addition & 1 deletion site/docs/api/mark.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ title: Mark
order: 3
---

<!-- <embed src="@/docs/spec/chart.zh.md"></embed> -->
<!-- <embed src="@/docs/spec/chart.zh.md"></embed> -->
2 changes: 1 addition & 1 deletion site/docs/api/overview.en.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
title: Overview
order: 1
---
---
2 changes: 1 addition & 1 deletion site/docs/api/repeatMatrix.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ title: RepeatMatrix
order: 8
---

<!-- <embed src="@/docs/spec/chart.zh.md"></embed> -->
<!-- <embed src="@/docs/spec/chart.zh.md"></embed> -->
2 changes: 1 addition & 1 deletion site/docs/api/spaceFlex.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ title: SpaceFlex
order: 6
---

<!-- <embed src="@/docs/spec/chart.zh.md"></embed> -->
<!-- <embed src="@/docs/spec/chart.zh.md"></embed> -->
2 changes: 1 addition & 1 deletion site/docs/api/spaceLayer.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ title: SpaceLayer
order: 5
---

<!-- <embed src="@/docs/spec/chart.zh.md"></embed> -->
<!-- <embed src="@/docs/spec/chart.zh.md"></embed> -->
2 changes: 1 addition & 1 deletion site/docs/api/timingKeyframe.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ title: TimingKeyframe
order: 9
---

<!-- <embed src="@/docs/spec/chart.zh.md"></embed> -->
<!-- <embed src="@/docs/spec/chart.zh.md"></embed> -->
2 changes: 1 addition & 1 deletion site/docs/api/view.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ title: View
order: 3
---

<!-- <embed src="@/docs/spec/chart.zh.md"></embed> -->
<!-- <embed src="@/docs/spec/chart.zh.md"></embed> -->

0 comments on commit 0054496

Please sign in to comment.