From a4b6a089f9e85808ef9ec0d23deb0d1c522d27ad Mon Sep 17 00:00:00 2001 From: Paul Osinski Date: Mon, 2 Mar 2026 17:00:25 -0500 Subject: [PATCH] append "pro" and "open source" to article names --- .../specialized_import/universal_parser.md | 2 +- .../metrics_reports/ai/mcp_server_pro.md | 3 +- docs/content/open_source/languages.md | 3 +- .../open_source/ldap-authentication.md | 6 +- docs/content/open_source/rate_limiting.md | 3 +- .../parsers/universal_parser.md | 2 +- docs/layouts/single.html | 64 +++++++++++++++++++ 7 files changed, 77 insertions(+), 6 deletions(-) create mode 100644 docs/layouts/single.html diff --git a/docs/content/import_data/pro/specialized_import/universal_parser.md b/docs/content/import_data/pro/specialized_import/universal_parser.md index e5abd41bff0..9568e1501ed 100644 --- a/docs/content/import_data/pro/specialized_import/universal_parser.md +++ b/docs/content/import_data/pro/specialized_import/universal_parser.md @@ -1,5 +1,5 @@ --- -title: "🌐 Universal Parser (Pro)" +title: "🌐 Universal Parser" description: "" draft: "false" weight: 1 diff --git a/docs/content/metrics_reports/ai/mcp_server_pro.md b/docs/content/metrics_reports/ai/mcp_server_pro.md index 97516f19616..f8de8e9bee8 100644 --- a/docs/content/metrics_reports/ai/mcp_server_pro.md +++ b/docs/content/metrics_reports/ai/mcp_server_pro.md @@ -1,7 +1,8 @@ --- -title: "MCP Server (Pro)" +title: "MCP Server" description: "DefectDojo's MCP Server allows you to use LLMs with DefectDojo Pro" draft: false +audience: pro weight: 2 aliases: - /en/ai/mcp_server_pro diff --git a/docs/content/open_source/languages.md b/docs/content/open_source/languages.md index c96f08a4381..6f796df1614 100644 --- a/docs/content/open_source/languages.md +++ b/docs/content/open_source/languages.md @@ -1,6 +1,7 @@ --- -title: "Languages and lines of code (Open-Source)" +title: "Languages and lines of code" description: "You can import an analysis of languages used in a project, including lines of code." +audience: opensource draft: false weight: 10 aliases: diff --git a/docs/content/open_source/ldap-authentication.md b/docs/content/open_source/ldap-authentication.md index d1d8f64a4cb..c5d4954d031 100644 --- a/docs/content/open_source/ldap-authentication.md +++ b/docs/content/open_source/ldap-authentication.md @@ -1,11 +1,15 @@ --- -title: "Authentication via LDAP (Open-Source)" +title: "Authentication via LDAP" description: "Authenticate users using LDAP" draft: false +audience: opensource weight: 4 aliases: - /en/open_source/ldap-authentication --- + +**LDAP Authentication can be used in Open Source DefectDojo by manipulated the source code. This method is not supported or implementable in DefectDojo Pro at this time.** + ## LDAP Authentication Out of the box DefectDojo does not support LDAP authentication. diff --git a/docs/content/open_source/rate_limiting.md b/docs/content/open_source/rate_limiting.md index bbd9285a9ec..bea38c45e69 100644 --- a/docs/content/open_source/rate_limiting.md +++ b/docs/content/open_source/rate_limiting.md @@ -1,7 +1,8 @@ --- -title: "Rate Limiting (Open-Source)" +title: "Rate Limiting" description: "Configurable rate limiting on the login page to mitigate brute force attacks" draft: false +audience: opensource weight: 11 aliases: - /en/open_source/rate_limiting diff --git a/docs/content/supported_tools/parsers/universal_parser.md b/docs/content/supported_tools/parsers/universal_parser.md index 476f088d716..d881d89a928 100644 --- a/docs/content/supported_tools/parsers/universal_parser.md +++ b/docs/content/supported_tools/parsers/universal_parser.md @@ -1,5 +1,5 @@ --- -title: "🌐 Universal Parser (Pro)" +title: "🌐 Universal Parser" description: "" draft: "false" weight: 1 diff --git a/docs/layouts/single.html b/docs/layouts/single.html new file mode 100644 index 00000000000..5b89dd5b26a --- /dev/null +++ b/docs/layouts/single.html @@ -0,0 +1,64 @@ +{{ define "main" }} +
+ {{ if (in site.Params.doks.sectionNav .Section) -}} +
+ {{ partial "sidebar/section-menu.html" . }} +
+ {{ end -}} + {{ if and (eq site.Params.doks.containerBreakpoint "fluid") (in .Site.Params.mainSections .Type) }} +
+ {{ end }} + {{ if ne .Params.toc false -}} + + {{ end -}} + {{ if .Params.toc -}} +
+ {{ else -}} +
+ {{ end -}} + {{ if site.Params.doks.breadcrumbTrail -}} + + + {{ end }} +

{{ .Title }}{{ with .Params.audience }}{{ if eq . "opensource" }} (Open Source){{ else if eq . "pro" }} (Pro){{ end }}{{ end }}

+ + {{ if ne .Params.toc false -}} + + {{ end -}} + + {{ if site.Params.doks.headlineHash -}} + {{ partial "main/headline-hash" .Content }} + {{ else -}} + {{ .Content }} + {{ end -}} + + {{ partial "main/docs-navigation.html" . }} + +
+ {{ if and (eq site.Params.doks.containerBreakpoint "fluid") (in .Site.Params.mainSections .Type) }} +
+ {{ end }} +
+{{ end }}