https://github.com/netease/tango-site
Official site of NetEase Tango low-code builder
https://github.com/netease/tango-site
Last synced: 11 months ago
JSON representation
Official site of NetEase Tango low-code builder
- Host: GitHub
- URL: https://github.com/netease/tango-site
- Owner: NetEase
- Created: 2024-02-19T11:04:07.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-03T08:33:52.000Z (almost 2 years ago)
- Last Synced: 2025-04-14T17:07:55.577Z (about 1 year ago)
- Language: TypeScript
- Homepage: https://netease.github.io/tango-site/
- Size: 3.16 MB
- Stars: 3
- Watchers: 13
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tango Website
This repo is documentation site for [netease/tango](https://github.com/NetEase/tango) project.
Site link:
## Installation
```bash
yarn
```
## Local Development
```bash
yarn start
```
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
### i18n
Translate plugin data
```bash
npm run write-translations -- --locale zh-Hans
```
Translate docs
```bash
mkdir -p i18n/zh-Hans/docusaurus-plugin-content-docs/current
cp -r docs/** i18n/zh-Hans/docusaurus-plugin-content-docs/current
```
Translate blog
```bash
mkdir -p i18n/zh-Hans/docusaurus-plugin-content-blog
cp -r blog/** i18n/zh-Hans/docusaurus-plugin-content-blog
```
## Build
```bash
yarn build
```
This command generates static content into the `build` directory and can be served using any static contents hosting service.
## Deployment
Using SSH:
```
$ USE_SSH=true yarn deploy
```
Not using SSH:
```
$ GIT_USER= yarn deploy
```
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.