Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docs/contribution/docs-format-guide.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This page lists the some rules that should be followed when writing OpenTenBase
1. **File names are written in lowercase letters, and words are separated by `-`.** For example: `docs-format-guide.md`.
2. **Add `.en` after the file name of an English documentation.** For example: `docs-format-guide.en.md`. Files for English documentations are stored in the same directory as Chinese documentations.
3. Use relative paths for internal links, for example: `[Format Guide](docs-format-guide.md)`, `[FAQ](../faq.md)`.
4. All the images used are stored in the `docs/assets` directory of the repository and have a meaningful file names. Use relative paths for image references, for example: `![OpenTenBase favicon](./assets/favicon.png)`.
4. All the images used are stored in the `docs/assets` directory of the repository and have meaningful file names. Use relative paths for image references, for example: `![OpenTenBase favicon](../assets/favicon.png)`.

## Basic format requirements for documents

Expand All @@ -20,4 +20,3 @@ This page lists the some rules that should be followed when writing OpenTenBase
- The content added to the same level list should have an indentation of 4 spaces, and two blank lines should be added before and after the content.
- For admonitions using the `???` or `!!!` syntax, an identation of 4 spaces is required for each line of text, even if it is a blank line. An empty line is required before and after the admonitions, but not before and after the content.
- Code blocks used in form of ```` ``` ```` should have a language specified. For example: ```` ``` shell ````. If the code content is plain text, specify `text` as the language.

2 changes: 1 addition & 1 deletion docs/contribution/docs-format-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
1. **文件名以小写字母编写,单词中间以 `-` 分割。** 例如:`docs-format-guide.md`。
2. **英语文档在文件名后加 `.en` 。** 例如:`docs-format-guide.en.md`。英语文档与中文文档存放于同一目录。
3. 站内链接请使用相对路径,例如:`[格式手册](docs-format-guide.md)`、`[常见问题](../faq.md)`。
4. 所有使用的图片均存储到仓库的 `docs/assets` 目录下且拥有有意义的文件名。图片的引用请使用相对路径,例如:`![OpenTenBase favicon](./assets/favicon.png)`。
4. 所有使用的图片均存储到仓库的 `docs/assets` 目录下且拥有有意义的文件名。图片的引用请使用相对路径,例如:`![OpenTenBase favicon](../assets/favicon.png)`。

## 文档基本格式要求

Expand Down