File tree Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Original file line number Diff line number Diff line change 1
1
2
- # Authoring
2
+ # 贡献者须知
3
3
4
- This describes important stuff about authoring new articles of the tutorial.
4
+ 这描述了有关编写本教程的新文章的重要内容。
5
5
6
- ## Internal links
6
+ ## 内联链接
7
7
8
- All tutorial links should start from the root, not including the domain.
8
+ 所有教程链接应从根开始,不包括域。
9
9
10
10
✅ OK:
11
11
12
12
``` md
13
- We'll cover that in the chapter [about functions ](/function-basics)
13
+ 我们将在 [关于函数 ](/function-basics) 章节学习它。
14
14
```
15
15
16
16
❌ Not ok:
17
17
18
18
``` md
19
- We'll cover that in the chapter [about functions ](https://javascript.info/function-basics)
19
+ 我们将在 [关于函数 ](https://javascript.info/function-basics) 章节学习它。
20
20
```
21
21
22
- Also, to reference a chapter, there's a special "info:" scheme, like this:
22
+ 另外,要参考一章,有一个特殊的 "info:" 方式,如下所示:
23
23
24
24
``` md
25
- We'll cover that in the chapter <info:function-basics>.
25
+ 我们将在 <info:function-basics> 章节学习它。
26
26
```
27
27
28
- Becomes:
28
+ 会自动编译成:
29
+
29
30
``` html
30
- We'll cover that in the chapter <a href =" /function-basics" >Function basics </a >.
31
+ 我们将在 <a href =" /function-basics" >函数基础知识 </a > 章节学习它。
31
32
```
32
33
33
- The title is auto-inserted from the referenced article. That has the benefit of keeping the right title if the article gets renamed.
34
+ 标题是从引用的文章中自动插入的。这样做的好处是,如果文章被重命名,对应的引用也会同时得到更新。
34
35
35
36
## TODO
36
37
37
- Ask @ iliakan to for more details.
38
+ 更多细节,请咨询 @ leviding 或 @ iliakan 。
You can’t perform that action at this time.
0 commit comments