seata/seata.github.io
Seata Official Website
All website material of https://seata.io.
Quick Start
-
npm install
-
npm run start
-
Visit
localhost:3000/
Build
-
npm run build
-
npm run serve
-
Visit
localhost:3000/
Requirements
Base docusaurus v2.4.1 Node.js version 16.14+
Note for i18n
Please be noted that locale switching function doesn't work if you start the website in development mode using npm run start -- --locale zh-cn
or npm run start -- --locale en
. Please run it in production mode using the build-and-serve process to enable the locale switching function.
How To Write Documents
Add a new doc
- Add new .md file under i18n/en/docusaurus-plugin-content-docs/current or i18n/zh-cn/docusaurus-plugin-content-docs/current. Corresponding to Chinese file and English file , and the Chinese and English file names should be consistent.
- Update sidebar.js, add a new entry to the blog in either en or zh-cn.
Add a new article for developers
- Add new .md file under i18n/en/docusaurus-plugin-content-docs/current/developers or i18n/zh-cn/docusaurus-plugin-content-docs/current/developers, the file name should end up with _dev.md. Note that the suffix _dev is necessary.
- Update sidebar.js, add a new entry in either en or zh-cn.
Add a new blog
- Add new .md file under i18n/en/docusaurus-plugin-content-blog/current or i18n/zh-cn/docusaurus-plugin-content-blog/current. Corresponding to Chinese file and English file , and the Chinese and English file names should be consistent.
-
SEO
config is required.
SEO
the type is :
---
title: title
keywords: [keywords1,keywords2]
description: some description
author: author name
date: 2018-12-29
custom_edit_url: https://github.com/seata/seata.github.io/blob/docusaurus/i18n/en/docusaurus-plugin-content-blog/download.md
---
Note:
-
title
can not include:
-
keywords
must be aArray
-
custom_edit_url
is a link to the doc in this repo, required.
Note for .md file
- Do not use un correct html tag like
<img>、<br>
, replace with<img /> <br />
- If you want show
<xx>
, replace with<xx>
Others
- This is docusaurus docs :https://docusaurus.io/zh-CN/docs
最近版本更新:(数据更新于 1970-01-01 00:00:00)
主题(topics):
article, distributed-transaction, docsite, seata-website
seata/seata.github.io同语言 SCSS最近更新仓库
2023-03-22 19:42:52 Sansui233/logseq-bonofix-theme
2023-01-10 15:41:26 creativetimofficial/vue-light-bootstrap-dashboard
2021-01-03 03:40:41 mxdi9i7/vant-react
2016-05-11 16:23:31 Gaohaoyang/gaohaoyang.github.io
1970-01-01 00:00:00 microsoft/TypeScript-Node-Starter
1970-01-01 00:00:00 Cyber-Security-Hub/cyber-security-hub.github.io