Skip to content

Commit ef7354c

Browse files
rr404jdv
andauthored
SE Health Check V0 (#787)
Adding Health Check V0.1.0 page in quick guides Updating sidebar and nav to place healthcheck after install before post install Some mini updates in prerequisites and post install page --------- Co-authored-by: jdv <[email protected]>
1 parent 8124f1c commit ef7354c

File tree

16 files changed

+444
-31
lines changed

16 files changed

+444
-31
lines changed

crowdsec-docs/sidebarsUnversioned.js

Lines changed: 54 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -552,11 +552,19 @@ module.exports = {
552552
"user_guides/log_centralization",
553553
],
554554
gettingStarted: [
555-
"getting_started/intro",
556-
"getting_started/pre_requisites",
555+
{
556+
type: "doc",
557+
id: "getting_started/intro",
558+
label: "🧭 Introduction",
559+
},
560+
{
561+
type: "doc",
562+
id: "getting_started/pre_requisites",
563+
label: "📋 Prerequisites",
564+
},
557565
{
558566
type: "category",
559-
label: "Installation",
567+
label: "📦 Installation",
560568
items: [
561569
"getting_started/installation/linux",
562570
"getting_started/installation/freebsd",
@@ -569,14 +577,19 @@ module.exports = {
569577
"getting_started/installation/whm",
570578
],
571579
},
580+
{
581+
type: "doc",
582+
id: "getting_started/health_check",
583+
label: "🩺 Stack Health-Check",
584+
},
572585
{
573586
type: "category",
574-
label: "Post Installation Steps",
587+
label: "💡 Post Installation Steps",
575588
link: {
576589
type: "doc",
577590
id: "getting_started/next_steps",
578591
},
579-
items: [
592+
items: [
580593
{
581594
type: "category",
582595
label: "CrowdSec Console",
@@ -588,28 +601,57 @@ module.exports = {
588601
"getting_started/post_installation/console_blocklists",
589602
"getting_started/post_installation/console_hub",
590603
],
604+
className: "sideBarItemRecommended" // to display tag
591605
},
592-
"getting_started/post_installation/whitelists",
606+
{
607+
type: "doc",
608+
id: "getting_started/post_installation/whitelists",
609+
label: "Whitelisting IPs",
610+
className: "sideBarItemRecommended"
611+
},
593612
{
594613
type: "category",
595614
label: "Acquisition",
615+
className: "sideBarItemOptional",
596616
link: {
597617
type: "doc",
598618
id: "getting_started/post_installation/acquisition",
599619
},
600620
items: [
601-
"getting_started/post_installation/acquisition_new",
602-
"getting_started/post_installation/acquisition_troubleshoot",
621+
{
622+
type: "doc",
623+
id: "getting_started/post_installation/acquisition_new",
624+
label: "Adding a new Acquisition",
625+
},
626+
{
627+
type: "doc",
628+
id: "getting_started/post_installation/acquisition_troubleshoot",
629+
label: "Acquisition issues 🚨",
630+
},
603631
],
604632
},
605-
"getting_started/post_installation/profiles",
606-
"getting_started/post_installation/metrics",
607-
"getting_started/post_installation/troubleshoot",
633+
{
634+
type: "doc",
635+
id: "getting_started/post_installation/profiles",
636+
label: "Profiles",
637+
className: "sideBarItemOptional"
638+
},
639+
{
640+
type: "doc",
641+
id: "getting_started/post_installation/metrics",
642+
label: "Metrics",
643+
className: "sideBarItemOptional"
644+
},
645+
{
646+
type: "doc",
647+
id: "getting_started/post_installation/troubleshoot",
648+
label: "General Troubleshooting 🚨",
649+
},
608650
],
609651
},
610652
{
611653
type: "link",
612-
label: "Technical Documentation",
654+
label: "🛠️ Technical Documentation",
613655
href: "/docs/next/intro",
614656
},
615657
],

crowdsec-docs/src/css/custom.css

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,4 +483,29 @@ div[class^='announcementBar'] {
483483
border: 0!important;
484484
}
485485

486-
486+
/* Quick guide specific CSS /u/getting_started/... */
487+
.sideBarItemRecommended a::after {
488+
content: "Rec.";
489+
display: inline-block;
490+
margin-left: 0.5em;
491+
padding: 0.1em 0.5em;
492+
background-color: #007bff;
493+
color: white;
494+
border-radius: 999px;
495+
font-size: 0.6em;
496+
vertical-align: middle;
497+
transform: rotate(0deg) !important; /* force reset to counter act UL accordion transform */
498+
}
499+
500+
.sideBarItemOptional a::after {
501+
content: "Opt.";
502+
display: inline-block;
503+
margin-left: 0.5em;
504+
padding: 0.1em 0.5em;
505+
background-color: #ffc107;
506+
color: black;
507+
border-radius: 999px;
508+
font-size: 0.6em;
509+
vertical-align: middle;
510+
transform: rotate(0deg) !important; /* force reset to counter act UL accordion transform */
511+
}

0 commit comments

Comments
 (0)