Skip to content

Commit c0d6c0a

Browse files
committed
Fix relative path routing
1 parent 8e3efde commit c0d6c0a

File tree

20 files changed

+61
-61
lines changed

20 files changed

+61
-61
lines changed

docbuilder/src/document.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ fn render_list(inp: Vec<String>) -> String {
9797
fn render_link_list(inp: Vec<String>, linklist: &HashMap<&'static str, &'static str>) -> String {
9898
inp.into_iter()
9999
.map(|v| {
100-
format!("- [{}](../{})\n", v, linklist.get(v.as_str()).unwrap())
100+
format!("- [{}]({})\n", v, linklist.get(v.as_str()).unwrap())
101101
.chars()
102102
.collect::<Vec<_>>()
103103
})

docs/actions/DBSIZE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ title: DBSIZE
77
**Time complexity**: O(1)
88
**Accept type**:
99

10-
- [AnyArray](../../protocol/data-types#any-array)
10+
- [AnyArray](../protocol/data-types#any-array)
1111

1212
**Return type**:
1313

14-
- [Integer](../../protocol/skyhash#unsigned-integers-)
14+
- [Integer](../protocol/skyhash#unsigned-integers-)
1515

1616
**Syntax**:
1717

docs/actions/DEL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ title: DEL
77
**Time complexity**: O(n)
88
**Accept type**:
99

10-
- [AnyArray](../../protocol/data-types#any-array)
10+
- [AnyArray](../protocol/data-types#any-array)
1111

1212
**Return type**:
1313

14-
- [Integer](../../protocol/skyhash#unsigned-integers-)
15-
- [Rcode 5](../../protocol/response-codes)
14+
- [Integer](../protocol/skyhash#unsigned-integers-)
15+
- [Rcode 5](../protocol/response-codes)
1616

1717
**Syntax**:
1818

docs/actions/EXISTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ title: EXISTS
77
**Time complexity**: O(n)
88
**Accept type**:
99

10-
- [AnyArray](../../protocol/data-types#any-array)
10+
- [AnyArray](../protocol/data-types#any-array)
1111

1212
**Return type**:
1313

14-
- [Integer](../../protocol/skyhash#unsigned-integers-)
14+
- [Integer](../protocol/skyhash#unsigned-integers-)
1515

1616
**Syntax**:
1717

docs/actions/FLUSHDB.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ title: FLUSHDB
77
**Time complexity**: O(n)
88
**Accept type**:
99

10-
- [AnyArray](../../protocol/data-types#any-array)
10+
- [AnyArray](../protocol/data-types#any-array)
1111

1212
**Return type**:
1313

14-
- [Rcode 0](../../protocol/response-codes)
15-
- [Rcode 5](../../protocol/response-codes)
14+
- [Rcode 0](../protocol/response-codes)
15+
- [Rcode 5](../protocol/response-codes)
1616

1717
**Syntax**:
1818

docs/actions/GET.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ title: GET
77
**Time complexity**: O(1)
88
**Accept type**:
99

10-
- [AnyArray](../../protocol/data-types#any-array)
10+
- [AnyArray](../protocol/data-types#any-array)
1111

1212
**Return type**:
1313

14-
- [Rcode 1](../../protocol/response-codes)
15-
- [String](../../protocol/skyhash#strings-)
16-
- [Binstr](../../protocol/skyhash#strings-)
14+
- [Rcode 1](../protocol/response-codes)
15+
- [String](../protocol/skyhash#strings-)
16+
- [Binstr](../protocol/skyhash#strings-)
1717

1818
**Syntax**:
1919

docs/actions/KEYLEN.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ title: KEYLEN
77
**Time complexity**: O(1)
88
**Accept type**:
99

10-
- [AnyArray](../../protocol/data-types#any-array)
10+
- [AnyArray](../protocol/data-types#any-array)
1111

1212
**Return type**:
1313

14-
- [Integer](../../protocol/skyhash#unsigned-integers-)
15-
- [Rcode 1](../../protocol/response-codes)
14+
- [Integer](../protocol/skyhash#unsigned-integers-)
15+
- [Rcode 1](../protocol/response-codes)
1616

1717
**Syntax**:
1818

docs/actions/LSKEYS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ title: LSKEYS
77
**Time complexity**: O(n)
88
**Accept type**:
99

10-
- [AnyArray](../../protocol/data-types#any-array)
10+
- [AnyArray](../protocol/data-types#any-array)
1111

1212
**Return type**:
1313

14-
- [Typed Array](../../protocol/data-types#typed-array)
14+
- [Typed Array](../protocol/data-types#typed-array)
1515

1616
**Syntax**:
1717

docs/actions/MGET.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ title: MGET
77
**Time complexity**: O(n)
88
**Accept type**:
99

10-
- [AnyArray](../../protocol/data-types#any-array)
10+
- [AnyArray](../protocol/data-types#any-array)
1111

1212
**Return type**:
1313

14-
- [Typed Array](../../protocol/data-types#typed-array)
14+
- [Typed Array](../protocol/data-types#typed-array)
1515

1616
**Syntax**:
1717

docs/actions/MKSNAP.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ title: MKSNAP
77
**Time complexity**: O(n)
88
**Accept type**:
99

10-
- [AnyArray](../../protocol/data-types#any-array)
10+
- [AnyArray](../protocol/data-types#any-array)
1111

1212
**Return type**:
1313

14-
- [Rcode 0](../../protocol/response-codes)
15-
- [err-snapshot-disabled](../../protocol/errors/#table-of-errors)
16-
- [err-snapshot-busy](../../protocol/errors/#table-of-errors)
14+
- [Rcode 0](../protocol/response-codes)
15+
- [err-snapshot-disabled](../protocol/errors/#table-of-errors)
16+
- [err-snapshot-busy](../protocol/errors/#table-of-errors)
1717

1818
**Syntax**:
1919

0 commit comments

Comments
 (0)