Skip to content

Commit 8549157

Browse files
authored
Remove baseurl usage (#1266)
* Remove baseurl usage * Update README
1 parent 37936fd commit 8549157

File tree

194 files changed

+671
-679
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

194 files changed

+671
-679
lines changed

README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,6 @@ It's strongly advised to use `relref` because it provides the following advantag
9393

9494
The following needs to be taken into account when using `relref`: The reference `/develop/get-started/data-store` and `/develop/get-started/data-store/` aren't the same. You must use the trailing slash if the referenced article is an `_index.md` file within a folder (e.g., `.../data-store/` for `.../data-store/_index.md`). Otherwise, you should not use the trailing slash (e.g., `.../get-started/data-store.md`).
9595

96-
RelRefs with dots (`.`) and hashtags (`#`) in the reference name, such as `/commands/ft.create` or `/develop/data-types/timeseries/configuration#compaction_policy`, don't seem to work. Please use the `{{< baseurl >}}` as a workaround in that case. Here are a couple of examples:
97-
98-
```
99-
[compaction]({{< baseurl >}}/develop/data-types/timeseries/configuration#compaction_policy)
100-
[FT.CREATE]({{< baseurl >}}/commands/ft.create)
101-
```
102-
10396
### Images
10497

10598
The image shortcode doesn't need to be closed anymore. Here is an example;

content/commands/acl-setuser/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ This is a list of all the supported Redis ACL rules:
131131
* `#<hashedpassword>`: Adds the specified hashed password to the list of user passwords. A Redis hashed password is hashed with SHA256 and translated into a hexadecimal string. Example: `#c3ab8ff13720e8ad9047dd39466b3c8974e592c2fa383d4a3960714caef0c4f2`.
132132
* `<password`: Like `>password` but removes the password instead of adding it.
133133
* `!<hashedpassword>`: Like `#<hashedpassword>` but removes the password instead of adding it.
134-
* `(<rule list>)`: (Available in Redis 7.0 and later) Creates a new selector to match rules against. Selectors are evaluated after the user permissions, and are evaluated according to the order they are defined. If a command matches either the user permissions or any selector, it is allowed. See [selectors]({{< baseurl >}}operate/oss_and_stack/management/security/acl#selectors) for more information.
134+
* `(<rule list>)`: (Available in Redis 7.0 and later) Creates a new selector to match rules against. Selectors are evaluated after the user permissions, and are evaluated according to the order they are defined. If a command matches either the user permissions or any selector, it is allowed. See [selectors]({{< relref "operate/oss_and_stack/management/security/acl#selectors" >}}) for more information.
135135
* `clearselectors`: (Available in Redis 7.0 and later) Deletes all of the selectors attached to the user.
136136
* `reset`: Removes any capability from the user. They are set to off, without passwords, unable to execute any command, unable to access any key.
137137

content/commands/bf.add/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ title: BF.ADD
2929
---
3030
Adds an item to a Bloom filter.
3131

32-
This command is similar to [`BF.MADD`]({{< baseurl >}}commands/bf.madd/), except that only one item can be added.
32+
This command is similar to [`BF.MADD`]({{< relref "commands/bf.madd/" >}}), except that only one item can be added.
3333

3434
## Required arguments
3535

3636
<details open><summary><code>key</code></summary>
3737

3838
is key name for a Bloom filter to add the item to.
3939

40-
If `key` does not exist - a new Bloom filter is created with default error rate, capacity, and expansion (see [`BF.RESERVE`]({{< baseurl >}}commands/bf.reserve/)).
40+
If `key` does not exist - a new Bloom filter is created with default error rate, capacity, and expansion (see [`BF.RESERVE`]({{< relref "commands/bf.reserve/" >}})).
4141
</details>
4242

4343
<details open><summary><code>item</code></summary>

content/commands/bf.exists/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ title: BF.EXISTS
2929
---
3030
Determines whether a given item was added to a Bloom filter.
3131

32-
This command is similar to [`BF.MEXISTS`]({{< baseurl >}}commands/bf.mexists/), except that only one item can be checked.
32+
This command is similar to [`BF.MEXISTS`]({{< relref "commands/bf.mexists/" >}}), except that only one item can be checked.
3333

3434
## Required arguments
3535

content/commands/bf.insert/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ title: BF.INSERT
5858
---
5959
Creates a new Bloom filter if the `key` does not exist using the specified error rate, capacity, and expansion, then adds all specified items to the Bloom Filter.
6060

61-
This command is similar to [`BF.MADD`]({{< baseurl >}}commands/bf.madd/), except that the error rate, capacity, and expansion can be specified. It is a sugarcoated combination of [`BF.RESERVE`]({{< baseurl >}}commands/bf.reserve/) and [`BF.MADD`]({{< baseurl >}}commands/bf.madd/).
61+
This command is similar to [`BF.MADD`]({{< relref "commands/bf.madd/" >}}), except that the error rate, capacity, and expansion can be specified. It is a sugarcoated combination of [`BF.RESERVE`]({{< relref "commands/bf.reserve/" >}}) and [`BF.MADD`]({{< relref "commands/bf.madd/" >}}).
6262

6363
## Required arguments
6464

@@ -89,14 +89,14 @@ It is an error to specify `NOCREATE` together with either `CAPACITY` or `ERROR`.
8989
Specifies the desired `capacity` for the filter to be created.
9090
This parameter is ignored if the filter already exists.
9191
If the filter is automatically created and this parameter is absent, then the module-level `capacity` is used.
92-
See [`BF.RESERVE`]({{< baseurl >}}commands/bf.reserve/) for more information about the impact of this value.
92+
See [`BF.RESERVE`]({{< relref "commands/bf.reserve/" >}}) for more information about the impact of this value.
9393
</details>
9494

9595
<details open><summary><code>ERROR error</code></summary>
9696

9797
Specifies the `error` ratio of the newly created filter if it does not yet exist.
9898
If the filter is automatically created and `error` is not specified then the module-level error rate is used.
99-
See [`BF.RESERVE`]({{< baseurl >}}commands/bf.reserve/) for more information about the format of this value.
99+
See [`BF.RESERVE`]({{< relref "commands/bf.reserve/" >}}) for more information about the format of this value.
100100
</details>
101101

102102
<details open><summary><code>NONSCALING</code></summary>

content/commands/bf.loadchunk/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ syntax_fmt: BF.LOADCHUNK key iterator data
2929
syntax_str: iterator data
3030
title: BF.LOADCHUNK
3131
---
32-
Restores a Bloom filter previously saved using [`BF.SCANDUMP`]({{< baseurl >}}commands/bf.scandump/).
32+
Restores a Bloom filter previously saved using [`BF.SCANDUMP`]({{< relref "commands/bf.scandump/" >}}).
3333

34-
See the [`BF.SCANDUMP`]({{< baseurl >}}commands/bf.scandump/) command for example usage.
34+
See the [`BF.SCANDUMP`]({{< relref "commands/bf.scandump/" >}}) command for example usage.
3535

3636
<note><b>Notes</b>
3737

@@ -49,12 +49,12 @@ is key name for a Bloom filter to restore.
4949

5050
<details open><summary><code>iterator</code></summary>
5151

52-
Iterator value associated with `data` (returned by [`BF.SCANDUMP`]({{< baseurl >}}commands/bf.scandump/))
52+
Iterator value associated with `data` (returned by [`BF.SCANDUMP`]({{< relref "commands/bf.scandump/" >}}))
5353
</details>
5454

5555
<details open><summary><code>data</code></summary>
5656

57-
Current data chunk (returned by [`BF.SCANDUMP`]({{< baseurl >}}commands/bf.scandump/))
57+
Current data chunk (returned by [`BF.SCANDUMP`]({{< relref "commands/bf.scandump/" >}}))
5858
</details>
5959

6060
## Return value
@@ -66,4 +66,4 @@ Returns one of these replies:
6666

6767
## Examples
6868

69-
See [`BF.SCANDUMP`]({{< baseurl >}}commands/bf.scandump/) for an example.
69+
See [`BF.SCANDUMP`]({{< relref "commands/bf.scandump/" >}}) for an example.

content/commands/bf.madd/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,17 @@ title: BF.MADD
3333
---
3434
Adds one or more items to a Bloom filter.
3535

36-
This command is similar to [`BF.ADD`]({{< baseurl >}}commands/bf.add/), except that you can add more than one item.
36+
This command is similar to [`BF.ADD`]({{< relref "commands/bf.add/" >}}), except that you can add more than one item.
3737

38-
This command is similar to [`BF.INSERT`]({{< baseurl >}}commands/bf.insert/), except that the error rate, capacity, and expansion cannot be specified.
38+
This command is similar to [`BF.INSERT`]({{< relref "commands/bf.insert/" >}}), except that the error rate, capacity, and expansion cannot be specified.
3939

4040
## Required arguments
4141

4242
<details open><summary><code>key</code></summary>
4343

4444
is key name for a Bloom filter to add the items to.
4545

46-
If `key` does not exist - a new Bloom filter is created with default error rate, capacity, and expansion (see [`BF.RESERVE`]({{< baseurl >}}commands/bf.reserve/)).
46+
If `key` does not exist - a new Bloom filter is created with default error rate, capacity, and expansion (see [`BF.RESERVE`]({{< relref "commands/bf.reserve/" >}})).
4747
</details>
4848

4949
<details open><summary><code>item...</code></summary>

content/commands/bf.mexists/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ title: BF.MEXISTS
3131
---
3232
Determines whether one or more items were added to a Bloom filter.
3333

34-
This command is similar to [`BF.EXISTS`]({{< baseurl >}}commands/bf.exists/), except that more than one item can be checked.
34+
This command is similar to [`BF.EXISTS`]({{< relref "commands/bf.exists/" >}}), except that more than one item can be checked.
3535

3636
## Required arguments
3737

content/commands/bf.scandump/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Returns one of these replies:
5555

5656
The Iterator is passed as input to the next invocation of `BF.SCANDUMP`. If _Iterator_ is 0, then it means iteration has completed.
5757

58-
The iterator-data pair should also be passed to [`BF.LOADCHUNK`]({{< baseurl >}}commands/bf.loadchunk/) when restoring the filter.
58+
The iterator-data pair should also be passed to [`BF.LOADCHUNK`]({{< relref "commands/bf.loadchunk/" >}}) when restoring the filter.
5959

6060
- [] on error (invalid arguments, key not found, wrong key type, etc.)
6161

content/commands/cf.add/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ title: CF.ADD
3030
Adds an item to the cuckoo filter.
3131

3232
Cuckoo filters can contain the same item multiple times, and consider each addition as separate.
33-
Use [`CF.ADDNX`]({{< baseurl >}}commands/cf.addnx/) to add an item only if it does not exist.
33+
Use [`CF.ADDNX`]({{< relref "commands/cf.addnx/" >}}) to add an item only if it does not exist.
3434

3535
## Required arguments
3636

0 commit comments

Comments
 (0)