Skip to content

Commit 44babca

Browse files
authored
Merge pull request #640 from crowdsecurity/warning_maintenance
Maintenance
2 parents 92d4385 + 2b66404 commit 44babca

13 files changed

Lines changed: 16301 additions & 25487 deletions

README.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,29 @@
22

33
This repository holds the documentation for the [crowdsec project](https://github.com/crowdsecurity/crowdsec).
44

5-
Online version of this documentation is available here: https://doc.crowdsec.net/
5+
Online version of this documentation is available here: https://doc.crowdsec.net/
6+
7+
The documentation is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.
8+
9+
## Installation
10+
11+
```console
12+
npm install
13+
```
14+
15+
## Local Development
16+
17+
```console
18+
npm run start
19+
```
20+
21+
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
22+
23+
## Build
24+
25+
```console
26+
npm run build
27+
```
28+
29+
This command generates static content into the `build` directory and can be served using any static contents hosting service.
30+
you can also use the `npm run serve` command to test the build locally.

crowdsec-docs/README.md

Lines changed: 0 additions & 33 deletions
This file was deleted.

crowdsec-docs/blog/2020-08-04-crowdsec_firewall_freebsd.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
---
22
slug: crowdsec_firewall_freebsd
33
title: How to install CrowdSec Firewall Bouncer on FreeBSD
4-
author: Sofian Brabez
5-
author_url: https://github.com/sbz
4+
authors: [sbz]
65
tags: [bouncer, firewall, crowdsec]
76
---
87

crowdsec-docs/blog/2021-08-30-metabase_without_docker.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
---
22
slug: metabase_without_docker
33
title: How to configure metabase dasbhoard without docker
4-
author: Crowdsec Team
5-
author_url: https://github.com/crowdsecurity
4+
authors: crowdsec
65
tags: [dashboard, metabase]
76
---
87

crowdsec-docs/blog/2024-06-11-cscli_dashboard_deprecation.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
---
22
slug: cscli_dashboard_deprecation
33
title: Cscli dashboard deprecation
4-
author: Crowdsec Team
5-
author_url: https://github.com/crowdsecurity
4+
authors: crowdsec
65
tags: [dashboard, Metabase]
76
---
87

crowdsec-docs/blog/authors.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
sbz:
2+
name: Sofian Brabez
3+
url: https://github.com/sbz
4+
5+
crowdsec:
6+
name: Crowdsec Team
7+
url: https://github.com/crowdsecurity
8+
image_url: /img/crowdsec_logo.png

crowdsec-docs/docusaurus.config.js

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ const {
55
ctiApiSidebar,
66
guidesSideBar,
77
} = require("./sidebarsUnversioned.js")
8+
const tailwindConfig = require("./tailwind.config.js")
89

910
const generateCurrentAndNextRedirects = (s) => [
1011
{
@@ -312,16 +313,6 @@ module.exports = {
312313
],
313314
},
314315
],
315-
async function myPlugin(context, options) {
316-
return {
317-
name: "docusaurus-tailwindcss",
318-
configurePostCss(postcssOptions) {
319-
// Appends TailwindCSS and AutoPrefixer.
320-
postcssOptions.plugins.push(require("tailwindcss"))
321-
postcssOptions.plugins.push(require("autoprefixer"))
322-
return postcssOptions
323-
},
324-
}
325-
},
316+
"./plugins/tailwind-config.js",
326317
],
327318
}

0 commit comments

Comments
 (0)