Skip to content

Commit 7813d01

Browse files
committed
chore: better docs
1 parent b8e635e commit 7813d01

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
[项目地址](https://github.com/Pivot-Studio/pivot-lang)
1313

1414
## 安装
15-
https://lang.pivotstudio.cn/tutorial/installation.html
15+
[此处](https://lang.pivotstudio.cn/tutorial/installation.html)
1616

1717
## 文档地址
1818
https://lang.pivotstudio.cn

book/src/tutorial/installation.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ Pivot Lang存在两种不同的编译方案:
2323

2424
可以看出,just in time模式的编译器依赖比静态编译少很多,因此如果你不需要debug功能,建议使用jit模式。如果你想要体验完整功能,建议使用静态编译。
2525

26-
> 注意:目前静态编译模式主要是内部使用,如果你很想体验,请在github上联系我们
2726

2827
## Windows
2928
TODO
@@ -45,7 +44,7 @@ sudo apt install pivot-lang
4544
```
4645
你可以运行`plc`来检查是否安装成功。
4746

48-
请重启当前bash或者运行`source ~/.bashrc`来使环境变量生效。如果想安装`AOT`功能,请手动下载clang-14,下载方式见https://apt.llvm.org/
47+
请重启当前bash或者运行`source ~/.bashrc`来使环境变量生效。如果想安装`AOT`功能,请手动下载clang-14,下载方式见[此处](https://apt.llvm.org/)
4948

5049

5150

deb/DEBIAN/postinst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
GREEN='\033[0;32m'
22
NC='\033[0m'
3+
RED='\033[0;31m'
34

45
if [ "$1" = configure ]; then
56
echo "export KAGARI_LIB_ROOT=/pl/planglib" >> ~/.bashrc
67
echo "export PL_ROOT=/pl" >> ~/.bashrc
7-
echo -e "${GREEN}"
8+
echo "${GREEN}"
89
echo "-------------------------------------------------------------------"
910
echo "Successfully installed pivot-lang compiler with JIT feature!"
1011
echo "the pivot-lang compiler is now available as 'plc' command"
11-
echo "**jit feature does not support debug**"
12+
echo "${RED}**jit feature does not support debug**"
1213
echo "you may need to restart your shell to load environment variables"
1314
echo "to install aot feature, please install clang-14 manually"
1415
echo "see https://apt.llvm.org/ for more details"
1516
echo "-------------------------------------------------------------------"
16-
echo -e "${NC}"
17+
echo "${NC}"
1718
fi

0 commit comments

Comments
 (0)