Skip to content

Commit 959034b

Browse files
committed
Fix how-to graphiv link target
1 parent a845d55 commit 959034b

File tree

3 files changed

+28
-16
lines changed

3 files changed

+28
-16
lines changed

pyarmor/learn/en/how-to.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ How to fix issues when generating obfuscated scripts
3131
:name: graph-generate-script-issue
3232

3333
digraph G {
34-
node [shape=box, style=rounded]
34+
node [shape=box, style=rounded, target="_top"]
3535

3636
start [shape="doublecircle", label="",
3737
style="filled", fillcolor="wheat"]
@@ -90,7 +90,7 @@ How to fix issues when packing obfuscated scripts
9090
:name: graph-pack-script-issue
9191

9292
digraph G {
93-
node [shape=box, style=rounded]
93+
node [shape=box, style=rounded, target="_top"]
9494

9595
start [shape="doublecircle", label="",
9696
style="filled", fillcolor="wheat"]
@@ -121,7 +121,7 @@ How to fix issues when executing obfuscated script
121121
:name: graph-run-obfuscated-script-issue
122122

123123
digraph G {
124-
node [shape=box, style=rounded]
124+
node [shape=box, style=rounded, target="_top"]
125125

126126
start [shape="doublecircle", label="",
127127
style="filled", fillcolor="wheat"]
@@ -199,7 +199,7 @@ How to fix issues when executing obfuscated script
199199
:name: graph-fix-runtime-crash-issue
200200

201201
digraph G {
202-
node [shape=box, style=rounded]
202+
node [shape=box, style=rounded, target="_top"]
203203

204204
start [shape="doublecircle", label="",
205205
style="filled", fillcolor="wheat"]
@@ -242,7 +242,7 @@ How to fix issues when executing packed bundle
242242
:name: graph-run-packed-script-issue
243243

244244
digraph G {
245-
node [shape=box, style=rounded]
245+
node [shape=box, style=rounded, target="_top"]
246246

247247
start [shape="doublecircle", label="",
248248
style="filled", fillcolor="wheat"]

pyarmor/learn/zh/concepts.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Pyarmor 命令行工具是提供了命令行操作方式的一个应用程序
6565
project [label="工程"]
6666
miniscript [label="迷你型加密脚本"]
6767
rftscript [label="重构型加密脚本"]
68-
license [shape=component, label="Pyarmor 许可证", href="https://pyarmor.readthedocs.io/zh/latest/licenses.html"]
68+
license [shape=component, label="Pyarmor 许可证", target="_top", href="https://pyarmor.readthedocs.io/zh/latest/licenses.html"]
6969
joint [shape=point]
7070

7171
init -> project [label="创建"]
@@ -127,9 +127,9 @@ Pyarmor 工程
127127
label="加密脚本类型"
128128
style="setlinewidth(0)"
129129

130-
std [label="标准型", href="https://pyarmor.readthedocs.io/zh/latest/tutorial/getting-started.html"]
131-
rft [label="重构型", href="#rft-script"]
132-
mini [label="迷你型", href="#mini-script"]
130+
std [label="标准型", target="_top", href="https://pyarmor.readthedocs.io/zh/latest/tutorial/getting-started.html"]
131+
rft [label="重构型", target="_top", href="#rft-script"]
132+
mini [label="迷你型", target="_top", href="#mini-script"]
133133
}
134134

135135
edge [style=invis]

pyarmor/learn/zh/how-to.rst

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,22 @@
5656
]
5757

5858
n1 [href="https://pyarmor.readthedocs.io/zh/latest/reference/solutions.html#fix-register-issue"
59+
target="_top"
5960
label="请查看注册失败问题的解决方案"]
6061
n2 [href="https://pyarmor.readthedocs.io/zh/latest/licenses.html"
62+
target="_top"
6163
label="使用了未解锁的功能\n请查看 Pyarmor 许可证类型说明文档"]
6264
n3 [href="https://github.com/dashingsoft/pyarmor/issues"
65+
target="_top"
6366
label="提交报告问题\n能够重现问题的最少加密选项\n出现问题的代码片段\n错误堆栈的详细信息"]
6467
n4 [href="https://pyarmor.readthedocs.io/zh/latest/reference/man.html#pyarmor-gen"
68+
target="_top"
6569
label="请查看 Pyarmor 的命令手册\n了解各个选项的正确用法"]
6670
n5 [href="https://pyarmor.readthedocs.io/zh/latest/reference/solutions.html#fix-bootstrap-issue"
71+
target="_top"
6772
label="请参考Pyarmor启动失败的解决方案"]
6873
nr [href="https://github.com/dashingsoft/pyarmor/issues"
74+
target="_top"
6975
label="提交报告问题,包含\n加密脚本使用的最少选项\n未使用第三方库的测试脚本"]
7076
}
7177

@@ -97,9 +103,9 @@
97103

98104
s1 [label="确保直接使用 PyInstaller 打包没有加密的脚本\n可以成功打包并执行"]
99105
s2 [label="确保不使用 --pack 选项,仅仅加密脚本\n可以成功生成加密脚本"]
100-
s3 [style="filled,rounded",
101-
fillcolor="burlywood",
106+
s3 [style="filled,rounded", fillcolor="burlywood",
102107
href="https://pyarmor.readthedocs.io/zh/latest/topic/repack.html"
108+
target="_top"
103109
label="参考关于打包的详细说明文档"]
104110

105111
start -> s1 -> s2 -> s3
@@ -150,29 +156,34 @@
150156
style="filled,rounded",
151157
fillcolor="burlywood",
152158
]
153-
n1 [
159+
n1 [target="_top"
154160
href="https://pyarmor.readthedocs.io/zh/latest/tutorial/advanced.html#generating-cross-platform-scripts"
155161
label="请参考跨平台发布的解决方案"]
156-
n2 [
162+
n2 [target="_top"
157163
href="https://pyarmor.readthedocs.io/zh/latest/tutorial/advanced.html#support-multiple-python-versions"
158164
label="请使用相同版本的 Python 加密脚本\n如果需要支持不同版本的 Python\n请参考跨版本发布问题的解决方案"]
159165
n3 [href="https://pyarmor.readthedocs.io/zh/latest/reference/errors.html"
166+
target="_top"
160167
label="请参考错误信息表查找相应的解决方案"]
161168
n4 [style=rounded
162169
label="请尝试在脚本中增加 print 语句\n找到导致问题出现的语句"]
163170
n5 [href="#graph-fix-runtime-crash-issue"
171+
target="_top"
164172
label="请参考运行加密脚本崩溃解决方案"]
165-
n6 [
173+
n6 [target="_top"
166174
href="https://pyarmor.readthedocs.io/zh/latest/topic/rftmode.html"
167175
label="请参考 RFT 专题文档"]
168-
n7 [
176+
n7 [target="_top"
169177
href="https://pyarmor.readthedocs.io/zh/latest/topic/bccmode.html"
170178
label="请参考 BCC 专题文档"]
171179
n8 [href="https://pyarmor.readthedocs.io/zh/latest/reference/man.html#pyarmor-gen"
180+
target="_top"
172181
label="详细了解相关选项的使用方法\n使用正确的约束选项\n或者修改脚本满足约束要求"]
173182
n9 [href="https://pyarmor.readthedocs.io/zh/latest/how-to/third-party.html"
183+
target="_top"
174184
label="请参考常用第三方库解决方案"]
175185
n10 [href="https://github.com/dashingsoft/pyarmor/issues"
186+
target="_top"
176187
label="提交报告问题,包含\n加密脚本使用的最少选项\n未使用第三方库的测试脚本"]
177188
}
178189

@@ -216,6 +227,7 @@
216227
node [
217228
style="filled,rounded",
218229
fillcolor="burlywood",
230+
target="_top"
219231
]
220232
n1 [label="使用 codesign 命令检查\n加密脚本扩展模块 pyarmor_runtime.so 的签名是否正确\n如果不正确,请使用 codesign 对其重新签名"]
221233
n2 [href="https://pyarmor.readthedocs.io/zh/latest/topic/obfuscated-script.html"
@@ -242,7 +254,7 @@
242254
:name: graph-run-packed-script-issue
243255

244256
digraph G {
245-
node [shape=box, style=rounded]
257+
node [shape=box, style=rounded, target="_top"]
246258

247259
start [shape="doublecircle", label="",
248260
style="filled", fillcolor="wheat"]

0 commit comments

Comments
 (0)