Skip to content

Commit 785fa70

Browse files
committed
docs: using relative path
1 parent 454508d commit 785fa70

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

documentation/Standard-Lib.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# Standard Library Cheatsheet
66

7-
Last updated: Mon, 30 Dec 2019 06:00:52 GMT
7+
Last updated: Mon, 30 Dec 2019 06:06:12 GMT
88

99

1010
## Usage
@@ -13,35 +13,35 @@ Last updated: Mon, 30 Dec 2019 06:00:52 GMT
1313
吾嘗觀「「算經」」之書。方悟「正弦」「餘弦」「圓周率」之義。
1414
```
1515

16-
## [易經](https://github.com/LingDong-/wenyan-lang/blob/master/lib/易經.wy)
16+
## [易經](../lib/易經.wy)
1717

1818
| Wenyan | Javascript Equivalent |
1919
|---|---|
2020

21-
## [算經](https://github.com/LingDong-/wenyan-lang/blob/master/lib/算經.wy)
21+
## [算經](../lib/算經.wy)
2222

2323
| Wenyan | Javascript Equivalent |
2424
|---|---|
25-
| [`圓周率`](https://github.com/LingDong-/wenyan-lang/blob/master/lib/算經.wy#L166) | `Math.PI` |
26-
| [`下溢`](https://github.com/LingDong-/wenyan-lang/blob/master/lib/算經.wy#L186) | `Math.floor` |
27-
| [`下溢`](https://github.com/LingDong-/wenyan-lang/blob/master/lib/算經.wy#L191) | `Math.ceil` |
28-
| [`正弦`](https://github.com/LingDong-/wenyan-lang/blob/master/lib/算經.wy#L462) | `Math.sin` |
29-
| [`餘弦`](https://github.com/LingDong-/wenyan-lang/blob/master/lib/算經.wy#L492) | `Math.cos` |
30-
| [`反餘弦`](https://github.com/LingDong-/wenyan-lang/blob/master/lib/算經.wy#L527) | `Math.acos` |
31-
| [`正切`](https://github.com/LingDong-/wenyan-lang/blob/master/lib/算經.wy#L534) | `Math.tan` |
32-
| [`反正切`](https://github.com/LingDong-/wenyan-lang/blob/master/lib/算經.wy#L571) | `Math.atan` |
25+
| [`圓周率`](../lib/算經.wy#L166) | `Math.PI` |
26+
| [`下溢`](../lib/算經.wy#L186) | `Math.floor` |
27+
| [`下溢`](../lib/算經.wy#L191) | `Math.ceil` |
28+
| [`正弦`](../lib/算經.wy#L462) | `Math.sin` |
29+
| [`餘弦`](../lib/算經.wy#L492) | `Math.cos` |
30+
| [`反餘弦`](../lib/算經.wy#L527) | `Math.acos` |
31+
| [`正切`](../lib/算經.wy#L534) | `Math.tan` |
32+
| [`反正切`](../lib/算經.wy#L571) | `Math.atan` |
3333

34-
## [籌經](https://github.com/LingDong-/wenyan-lang/blob/master/lib/籌經.wy)
34+
## [籌經](../lib/籌經.wy)
3535

3636
| Wenyan | Javascript Equivalent |
3737
|---|---|
38-
| [`求和`](https://github.com/LingDong-/wenyan-lang/blob/master/lib/籌經.wy#L1) | `reduce((a,b)=>a+b)` |
38+
| [`求和`](../lib/籌經.wy#L1) | `reduce((a,b)=>a+b)` |
3939

40-
## [位經](https://github.com/LingDong-/wenyan-lang/blob/master/lib/js/位經.wy)
40+
## [位經](../lib/js/位經.wy)
4141

4242
| Wenyan | Javascript Equivalent |
4343
|---|---|
44-
| [`左移`](https://github.com/LingDong-/wenyan-lang/blob/master/lib/js/位經.wy#L1) | `(x=>y=>(x<<y))` |
44+
| [`左移`](../lib/js/位經.wy#L1) | `(x=>y=>(x<<y))` |
4545

4646

4747

tools/stdlib_doc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const StdlibDocFilePath = path.resolve(
77
"../documentation/Standard-Lib.md"
88
);
99
const DocRegex = /(.+?)(.+?)/g;
10-
const GithubRoot = "https://github.com/LingDong-/wenyan-lang/blob/master";
10+
const GithubRoot = "..";
1111

1212
const HEAD = `<!-- GENERATED FILE, DO NOT MODIFY-->
1313

0 commit comments

Comments
 (0)