Skip to content

Commit dc800b1

Browse files
committed
Add project graph
1 parent 74032c3 commit dc800b1

File tree

3 files changed

+29
-9
lines changed

3 files changed

+29
-9
lines changed

pyarmor/docs/zh/user/configuration.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@
8888
- 布尔
8989
- 是否递归搜索工程源路径
9090

91+
.. _rft-section:
92+
9193
rft
9294
---
9395

pyarmor/learn/zh/commands.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,8 @@ pyarmor env
1818

1919
pyarmor build
2020
=============
21+
22+
.. _config-file:
23+
24+
配置文件
25+
========

pyarmor/learn/zh/project.rst

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,24 @@
3939
工程属性
4040
========
4141

42+
.. graphviz::
43+
:caption: 工程属性
44+
:align: center
45+
:name: g-project-options
46+
47+
digraph G {
48+
node [shape=box, style=rounded, target="_top"]
49+
rankdir=LR
50+
51+
project [shape=record
52+
label="src|scripts|modules|packages|search_mode|recursive"
53+
href="../../docs/zh/user/configutation.html"]
54+
rft [label="重构选项", href="project.html#rft-options"]
55+
56+
edge [style=invis]
57+
project -> rft
58+
}
59+
4260
.. _rft-options:
4361

4462
重构选项
@@ -50,14 +68,9 @@
5068

5169
digraph G {
5270
node [shape=box, style=rounded, target="_top"]
71+
rankdir=LR
5372

54-
subgraph C {
55-
cluster=true
56-
label="子命令"
57-
style="setlinewidth(0)"
58-
59-
init [label="pyarmor init", href="commands.html#cmd-init"]
60-
env [label="pyarmor env", href="commands.html#cmd-env"]
61-
build [label="pyarmor build", href="commands.html#cmd-build"]
62-
}
73+
rft [shape=record
74+
label="remove_assert|remove_docstr|builtin_mode|argument_mode|auto_export_mode|exclude_names|exclude_funcs|attr_rules|call_rules|extra_builtins|external_types|external_attrs"
75+
href="../../docs/zh/user/configutation.html#rft-section"]
6376
}

0 commit comments

Comments
 (0)