Skip to content

Commit a845d55

Browse files
committed
Fix graphviz link issue
1 parent ccdd3f8 commit a845d55

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

pyarmor/learn/zh/concepts.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ Pyarmor 工程
157157
- 需要
158158
- 不可逆程度较低,但是执行速度较高,适用于 Web 服务等类型
159159
* - 重构型
160-
- 最低
160+
- 较高
161161
- 最高
162162
- 不需要
163163
- 和普通 Python 脚本完全一样,主要是对 Python 语句进行了重构,所以不需要额外的扩展模块,适用范围更广,包括用于 WASM,也可以继续使用任意工具,例如 Nuitka,Cython 等进一步处理
@@ -178,13 +178,13 @@ Pyarmor 工程
178178

179179
例如,一个 Python 脚本 `foo.py`
180180

181-
.. code:: python
181+
.. code-block:: python
182182
183183
print('Hello')
184184
185185
使用 Pyarmor 生成迷你型加密脚本之后,输出的 `dist/foo.py` 内容如下
186186

187-
.. code:: python
187+
.. code-block:: python
188188
189189
from pyarmor_mini import __pyarmor__
190190
__pyarmor__(__name__, b'xxxx')
@@ -204,15 +204,15 @@ Pyarmor 工程
204204

205205
例如,一个 Python 脚本 `foo.py`
206206

207-
.. code:: python
207+
.. code-block:: python
208208
:linenos:
209209
210210
msg = 'Hello'
211211
print(msg)
212212
213213
使用 Pyarmor 生成重构型加密脚本之后,输出的 `dist/foo.py` 内容如下
214214

215-
.. code:: python
215+
.. code-block:: python
216216
:linenos:
217217
218218
pyarmor__1 = 'Hello'

pyarmor/learn/zh/index.rst

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,18 @@
1717
node [shape=box, style=rounded]
1818

1919
c1 [label="Pyarmor 命令行工具"
20-
href="concepts.html#pyarmor-cli"]
20+
href="concepts.html#pyarmor-cli"
21+
target="_top"]
2122
c2 [label="Pyarmor 许可证"
22-
href="https://pyarmor.readthedocs.io/zh/latest/licenses.html"]
23+
href="https://pyarmor.readthedocs.io/zh/latest/licenses.html"
24+
target="_top"]
2325
c3 [label="Pyarmor 工程"
24-
href="concepts.html#project"]
26+
href="concepts.html#project"
27+
target="_top"]
2528
c4 [label="Python 脚本", shape=plaintext]
2629
c5 [label="加密脚本"
27-
href="concepts.html#obf-scripts"]
30+
href="concepts.html#obf-scripts"
31+
target="_top"]
2832

2933
c4 -> c3 [arrowhead=tee, label="组成"]
3034
rank=same {c3 -> c1}

0 commit comments

Comments
 (0)