Go to file
jimin fa8d3a19a4
format style (#599)
2023-05-12 18:21:38 +08:00
.github/workflows optimize: update workflow runner label (#592) 2023-04-07 11:00:45 +08:00
blog format style (#599) 2023-05-12 18:21:38 +08:00
build update navigator 2021-08-17 14:35:04 +08:00
docs update security doc (#590) 2023-04-07 00:07:43 +08:00
img add community refer url (#597) 2023-05-12 17:48:45 +08:00
saga_designer remove copyright header for SEO (#521) 2022-12-27 12:39:19 +08:00
schema Update seata.xsd 2021-05-26 13:02:36 +08:00
site_config update domain model overview (#589) 2023-04-02 15:42:34 +08:00
src optimize: update microservice ecosystem landscape (#565) 2023-02-09 19:18:05 +08:00
utils feat: 初始提交 2019-03-01 18:42:01 +08: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 Revert "Regenerate htmls (#140)" (#142) 2019-12-15 21:15:05 +08:00
.htaccess optimize: add default page (#557) 2023-02-02 19:53:51 +08:00
.licenserc.yaml add oss deploy ci (#519) 2023-01-05 11:35:24 +08:00
.nojekyll feat: 初始提交 2019-03-01 18:42:01 +08:00
404.html optimize: add redirect index.html (#558) 2023-02-02 20:28:39 +08:00
CNAME Update CNAME 2019-04-08 14:01:48 +08:00
LICENSE update license notice (#501) 2022-11-08 12:14:04 +08:00
README.md optimize SEO keywords (#502) 2022-11-10 21:17:59 +08:00
docsite.config.yml optimize SEO keywords (#520) 2022-12-27 11:58:01 +08:00
gulpfile.js feat: 初始提交 2019-03-01 18:42:01 +08:00
package-lock.json update navigator 2021-08-17 14:23:30 +08:00
package.json fixes #118 go search bug (#139) 2019-12-15 20:40:41 +08:00
redirect.ejs optimize: add redirect index.html (#558) 2023-02-02 20:28:39 +08:00
robots.txt optimize: add robots.txt (#548) 2023-02-01 14:10:29 +08:00
s.yaml add oss deploy ci (#519) 2023-01-05 11:35:24 +08:00
server add go import 2019-06-10 11:18:57 +08:00
site.txt optimize: update sitemap (#559) 2023-02-02 20:53:54 +08:00
sitemap.xml optimize: update sitemap.xml (#573) 2023-02-27 22:46:36 +08:00
template.ejs optimize: optimize microservice landscape for safari and mobile (#595) 2023-04-18 16:17:53 +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 at least 1.3.3,1.3.8 is recommended. 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