Skip to content

Commit

Permalink
Make bouncer docs version neutral (#474)
Browse files Browse the repository at this point in the history
* Make bouncer docs version neutral

* fix old versioned that had no way to get to bouncers

* Fix unversioned links by not using ../

* fix broken links
  • Loading branch information
LaurenceJJones authored Oct 20, 2023
1 parent 87a0d41 commit 59e50d6
Show file tree
Hide file tree
Showing 103 changed files with 19 additions and 25,710 deletions.
2 changes: 1 addition & 1 deletion crowdsec-docs/docs/bouncers/haproxy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ API_KEY=<API_KEY>
CrowdSec Local API key.
Generated with [`sudo cscli bouncers add`](../cscli/cscli_bouncers_add) command.
Generated with [`sudo cscli bouncers add`](/cscli/cscli_bouncers_add.md) command.
### `BOUNCING_ON_TYPE`
```bash
Expand Down
2 changes: 1 addition & 1 deletion crowdsec-docs/docs/bouncers/ingress-nginx.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ API_KEY=<API_KEY>

CrowdSec Local API key.

Generated with [`sudo cscli bouncers add`](../cscli/cscli_bouncers_add) command.
Generated with [`sudo cscli bouncers add`](/cscli/cscli_bouncers_add.md) command.

### `API_URL`
```bash
Expand Down
2 changes: 1 addition & 1 deletion crowdsec-docs/docs/bouncers/nginx.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ API_KEY=<API_KEY>
CrowdSec Local API key.
Generated with [`sudo cscli bouncers add`](../cscli/cscli_bouncers_add) command.
Generated with [`sudo cscli bouncers add`](/cscli/cscli_bouncers_add.md) command.
### `API_URL`
```bash
Expand Down
2 changes: 1 addition & 1 deletion crowdsec-docs/docs/bouncers/openresty.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ API_KEY=<API_KEY>
CrowdSec Local API key.
Generated with [`sudo cscli bouncers add`](../cscli/cscli_bouncers_add) command.
Generated with [`sudo cscli bouncers add`](/cscli/cscli_bouncers_add.md) command.
### `API_URL`
```bash
Expand Down
6 changes: 6 additions & 0 deletions crowdsec-docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ module.exports = {
position: 'left',
label: 'Cscli',
},
{
type: 'doc',
docId: 'bouncers/intro',
position: 'left',
label: 'Remediation',
},
{
type: 'doc',
docId: 'cti_api/getting_started',
Expand Down
1 change: 1 addition & 0 deletions crowdsec-docs/versioned_docs/version-v0.3/bouncers
10 changes: 0 additions & 10 deletions crowdsec-docs/versioned_docs/version-v0.3/bouncers/intro.md

This file was deleted.

1 change: 1 addition & 0 deletions crowdsec-docs/versioned_docs/version-v1.0/bouncers
158 changes: 0 additions & 158 deletions crowdsec-docs/versioned_docs/version-v1.0/bouncers/cloudflare.mdx

This file was deleted.

145 changes: 0 additions & 145 deletions crowdsec-docs/versioned_docs/version-v1.0/bouncers/custom.mdx

This file was deleted.

Loading

0 comments on commit 59e50d6

Please sign in to comment.