File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 13
13
## 其他语言版本的 README
14
14
15
15
[ 英文版 README] ( README.md )
16
+ [ 意大利文版 README] (README.it.md)
16
17
17
18
## 安装 p6doc
18
19
19
20
本模块可通过 Perl 6 模块生态系统获得。使用命令
20
21
21
- zef install p6doc
22
+ $ zef install p6doc
22
23
23
24
安装可执行文件并添加到执行路径(PATH)中。
24
25
25
26
## 使用 p6doc
26
27
27
28
将 ` perl6 ` 添加到 ` PATH ` 中后,使用命令
28
29
29
- ./bin/p6doc Str
30
+ $ ./bin/p6doc Str
30
31
31
32
查看 ` Str ` 类的文档,或者使用命令
32
33
33
- ./bin/p6doc Str.split
34
+ $ ./bin/p6doc Str.split
34
35
35
36
查看 ` Str ` 类中的 ` split ` 方法。如果你已经使用 ` zef ` 安装了 ` p6doc ` ,那么可以省略 ` ./bin ` 。你也可以使用命令
36
37
37
- p6doc -f slurp
38
+ $ p6doc -f slurp
38
39
39
40
浏览标准函数的文档。命令响应可能要等一会儿,这取决于磁盘的速度和 Rakudo 的版本。
40
41
44
45
45
46
在本仓库顶级目录下运行下面的命令安装依赖:
46
47
47
- zef --deps-only install .
48
+ $ zef --deps-only install .
48
49
49
50
如果你使用 [ ` rakudobrew ` ] ( https://github.com/tadzik/rakudobrew ) ,也可以运行下面命令更新已安装执行文件:
50
51
51
- rakudobrew rehash
52
+ $ rakudobrew rehash
52
53
53
54
此外为了满足本仓库 Perl 6 代码的依赖,还需要安装 ` graphviz ` ,在 Debian 可执行下面命令
54
55
55
- sudo apt-get install graphviz
56
+ $ sudo apt-get install graphviz
56
57
57
58
一切就绪,运行下面的命令构建 Web 页面
58
59
@@ -109,7 +110,7 @@ Perl 6 不是小语言,为它做文档需要付出很大的努力。我们会
109
110
110
111
## 愿景
111
112
112
- > I want p6doc and doc .perl6.org to become the No. 1 resource to consult
113
+ > I want p6doc and docs .perl6.org to become the No. 1 resource to consult
113
114
> when you want to know something about a Perl 6 feature, be it from the
114
115
> language, or built-in types and routines. I want it to be useful to every
115
116
> Perl 6 programmer.
You can’t perform that action at this time.
0 commit comments