Go to file
slievrly f5e8f7bdfe Automated deployment: Wed May 31 01:03:47 UTC 2023 fa8d3a19a4 2023-05-31 01:03:47 +00:00
.github/workflows optimize: update workflow runner label (#593) 2023-04-07 10:57:59 +08:00
blog add community meetup hangzhou (#168) 2019-12-25 22:48:04 +08:00
build Automated deployment: Fri May 12 09:16:10 UTC 2023 d8c9e2950c 2023-05-12 09:16:10 +00:00
docs optimize: update developers_dev.md (#541) 2023-01-31 20:31:37 +08:00
en-us Automated deployment: Tue Apr 18 08:18:53 UTC 2023 53e0670de1 2023-04-18 08:18:53 +00:00
img Automated deployment: Fri May 12 09:49:43 UTC 2023 40157f2554 2023-05-12 09:49:44 +00:00
md_json Automated deployment: Fri May 12 09:16:10 UTC 2023 d8c9e2950c 2023-05-12 09:16:10 +00:00
saga_designer Automated deployment: Wed Mar 1 16:33:56 UTC 2023 b47b186b1f 2023-03-01 16:33:56 +00:00
schema Update seata.xsd 2021-05-26 13:01:43 +08:00
site_config Automated deployment: Sun Apr 2 07:43:52 UTC 2023 42ebd9b1e2 2023-04-02 07:43:52 +00:00
src import homeConfig from home.jsx (#353) 2021-07-14 19:59:33 +08:00
utils feat: 初始提交 2019-03-01 18:42:01 +08:00
zh-cn Automated deployment: Fri May 12 10:22:37 UTC 2023 fa8d3a19a4 2023-05-12 10:22:37 +00:00
.babelrc feat: 初始提交 2019-03-01 18:42:01 +08:00
.docsite feat: 初始提交 2019-03-01 18:42:01 +08:00
.eslintrc feat: 初始提交 2019-03-01 18:42:01 +08:00
.gitignore Update .gitignore 2019-12-15 21:16:22 +08:00
.htaccess Automated deployment: Thu Feb 2 11:54:50 UTC 2023 cbf16bd009 2023-02-02 11:54:50 +00:00
.nojekyll feat: 初始提交 2019-03-01 18:42:01 +08:00
404.html Automated deployment: Thu Feb 2 12:29:39 UTC 2023 281af01699 2023-02-02 12:29:39 +00:00
CNAME Update CNAME 2019-04-08 14:01:48 +08:00
README.md Update README.md 2020-01-02 21:19:07 +08:00
baidu_verify_VZ2B9aerrE.html verify website(#193) 2020-01-20 15:53:53 +08:00
chinaz_verify_F15FA76EB8413EC9.html replace home.js into home.jsx , add siteMap (#349) 2021-07-14 16:39:11 +08:00
docsite.config.yml update global setting (#117) 2019-12-06 15:28:46 +08:00
gulpfile.js feat: 初始提交 2019-03-01 18:42:01 +08:00
index.html Automated deployment: Thu Feb 2 12:29:39 UTC 2023 281af01699 2023-02-02 12:29:39 +00:00
package-lock.json fixes #118 go search bug (#139) 2019-12-15 20:40:41 +08:00
package.json fixes #118 go search bug (#139) 2019-12-15 20:40:41 +08:00
redirect.ejs feat: 初始提交 2019-03-01 18:42:01 +08:00
robots.txt Automated deployment: Wed Feb 1 06:11:26 UTC 2023 da14b63952 2023-02-01 06:11:26 +00:00
s.yaml Create s.yaml 2023-01-05 15:17:39 +08:00
server add go import 2019-06-10 11:18:57 +08:00
site.txt Automated deployment: Thu Feb 2 12:54:58 UTC 2023 f994399836 2023-02-02 12:54:58 +00:00
sitemap.xml Automated deployment: Mon Feb 27 14:47:40 UTC 2023 9406d5c9bb 2023-02-27 14:47:40 +00:00
template.ejs add google analytics (#486) 2022-09-01 20:14:34 +08:00
webpack.config.js feat: 初始提交 2019-03-01 18:42:01 +08:00

README.md

Seata Official Website

CI Status

All website material of https://seata.io

Prerequisite

seata.github.io is powered by docsite.please read https://docsite.js.org If your version of docsite is less than 1.3.3, please upgrade to 1.3.3. Please also make sure your node version is 8.x, versions higher than 8.x is not supported by docsite yet.

Build instruction

  1. Run npm install docsite -g to install the dev tool.
  2. Run npm i in the root directory to install the dependencies.
  3. Run docsite start in the root directory to start a local server, you will see the website in 'http://127.0.0.1:8080'.
  4. Run docsite build to build source code.
  5. Verify your change locally: python -m SimpleHTTPServer 8000, when your python version is 3 use :python3 -m http.server 8000 instead.

If you have higher version of node installed, you may consider nvm to allow different versions of node coexisting on your machine.

  1. Follow the instructions to install nvm
  2. Run nvm install v8.16.0 to install node v8
  3. Run nvm use v8.16.0 to switch the working environment to node v8
  4. Run npm install docsite -g

Make sure npm and docsite are configured in the environmet configuration of os . eg: /etc/profile or .bash_profile of Macos

Then you are all set to run and build the website. Follow the build instruction above for the details.

How To Write Documents

Add a new doc

  1. Add new .md file under docs/en-us or docs/zh-cn. Corresponding to Chinese file and English file , and the Chinese and English file names should be consistent.
  2. Update site_config/docs.js, add a new entry to the blog in either en-us or zh-cn.
  3. Run docsite start locally to verify the blog can be displayed correctly.
  4. Send the pull request contains the .md and doc.js only.

Add a new article for developers

  1. Add new .md file under docs/en-us/developers or docs/zh-cn/developers, the file name should end up with _dev.md. Note that the suffix _dev is necessary.
  2. Update site_config/develop.js, add a new entry in either en-us or zh-cn.
  3. Run docsite start locally to verify the article can be displayed correctly.
  4. Send the pull request contains the *_dev.md and develop.js only.

Add a new blog

  1. Add new .md file under blog/en-us or blog/zh-cn. Corresponding to Chinese file and English file , and the Chinese and English file names should be consistent.
  2. Update site_config/blog.js, add a new entry to the blog in either en-us or zh-cn.
  3. Run docsite start locally to verify the blog can be displayed correctly.
  4. Send the pull request contains the .md and blog.js only.
  5. SEO config is required.

notice : Blog documents will be automatically sorted by time, without menu configuration
Set 'hidden' to 'true' for documents you don't want to display temporarily`

SEO

the type is :

---
hidden: false
title: title
keywords: keywords1,keywords2
description: some description
author: author name
date: 2018-12-29
---

Others