Skip to content

Commit bcb75ec

Browse files
paulOsinskiMaffoochdogboat
authored
[docs] append "pro" and "open source" to article names (#14432)
* append "pro" and "open source" to article names * Update docs/content/import_data/pro/specialized_import/universal_parser.md Co-authored-by: Cody Maffucci <46459665+Maffooch@users.noreply.github.com> * Update docs/content/supported_tools/parsers/universal_parser.md Co-authored-by: Cody Maffucci <46459665+Maffooch@users.noreply.github.com> * Update docs/content/import_data/pro/specialized_import/universal_parser.md * Update docs/content/open_source/ldap-authentication.md Co-authored-by: dogboat <dogboat@users.noreply.github.com> --------- Co-authored-by: Cody Maffucci <46459665+Maffooch@users.noreply.github.com> Co-authored-by: dogboat <dogboat@users.noreply.github.com>
1 parent 2051e7f commit bcb75ec

7 files changed

Lines changed: 78 additions & 6 deletions

File tree

docs/content/import_data/pro/specialized_import/universal_parser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "🌐 Universal Parser (Pro)"
2+
title: "🌐 Universal Parser"
33
description: ""
44
draft: "false"
55
weight: 1

docs/content/metrics_reports/ai/mcp_server_pro.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
2-
title: "MCP Server (Pro)"
2+
title: "MCP Server"
33
description: "DefectDojo's MCP Server allows you to use LLMs with DefectDojo Pro"
44
draft: false
5+
audience: pro
56
weight: 2
67
aliases:
78
- /en/ai/mcp_server_pro

docs/content/open_source/languages.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
2-
title: "Languages and lines of code (Open-Source)"
2+
title: "Languages and lines of code"
33
description: "You can import an analysis of languages used in a project, including lines of code."
4+
audience: opensource
45
draft: false
56
weight: 10
67
aliases:

docs/content/open_source/ldap-authentication.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
---
2-
title: "Authentication via LDAP (Open-Source)"
2+
title: "Authentication via LDAP"
33
description: "Authenticate users using LDAP"
44
draft: false
5+
audience: opensource
56
weight: 4
67
aliases:
78
- /en/open_source/ldap-authentication
89
---
10+
11+
**LDAP Authentication can be used in Open Source DefectDojo by manipulating the source code. This method is not supported or implementable in DefectDojo Pro at this time.**
12+
913
## LDAP Authentication
1014

1115
Out of the box DefectDojo does not support LDAP authentication.

docs/content/open_source/rate_limiting.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
2-
title: "Rate Limiting (Open-Source)"
2+
title: "Rate Limiting"
33
description: "Configurable rate limiting on the login page to mitigate brute force attacks"
44
draft: false
5+
audience: opensource
56
weight: 11
67
aliases:
78
- /en/open_source/rate_limiting

docs/content/supported_tools/parsers/universal_parser.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
2-
title: "🌐 Universal Parser (Pro)"
2+
title: "🌐 Universal Parser"
33
description: ""
44
draft: "false"
5+
audience: pro
56
weight: 1
67
pro-feature: true
78
---

docs/layouts/single.html

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{{ define "main" }}
2+
<div class="row flex-xl-nowrap">
3+
{{ if (in site.Params.doks.sectionNav .Section) -}}
4+
<div class="col-lg-5 col-xl-4 docs-sidebar{{ if ne site.Params.doks.navbarSticky true }} docs-sidebar-top{{ end }}{{ if site.Params.doks.headerBar }} docs-sidebar-offset{{ end }} d-none d-lg-block">
5+
{{ partial "sidebar/section-menu.html" . }}
6+
</div>
7+
{{ end -}}
8+
{{ if and (eq site.Params.doks.containerBreakpoint "fluid") (in .Site.Params.mainSections .Type) }}
9+
<div class="col container-fw d-lg-flex flex-lg-row justify-content-center mx-auto">
10+
{{ end }}
11+
{{ if ne .Params.toc false -}}
12+
<nav class="docs-toc{{ if ne site.Params.doks.navbarSticky true }} docs-toc-top{{ end }}{{ if site.Params.doks.headerBar }} docs-toc-offset{{ end }} d-none d-xl-block col-xl-3" aria-label="Secondary navigation">
13+
{{ partial "sidebar/docs-toc-desktop.html" . }}
14+
</nav>
15+
{{ end -}}
16+
{{ if .Params.toc -}}
17+
<main class="docs-content col-lg-11 col-xl-9">
18+
{{ else -}}
19+
<main class="docs-content col-lg-11 col-xl-9 mx-xl-auto">
20+
{{ end -}}
21+
{{ if site.Params.doks.breadcrumbTrail -}}
22+
<!-- https://discourse.gohugo.io/t/breadcrumb-navigation-for-highly-nested-content/27359/6 -->
23+
<nav aria-label="breadcrumb">
24+
<ol class="breadcrumb">
25+
{{ partial "main/breadcrumb" . -}}
26+
<li class="breadcrumb-item active" aria-current="page">{{ .Title }}</li>
27+
</ol>
28+
</nav>
29+
{{ end }}
30+
<h1>{{ .Title }}{{ with .Params.audience }}{{ if eq . "opensource" }} (Open Source){{ else if eq . "pro" }} (Pro){{ end }}{{ end }}</h1>
31+
<!-- <p class="lead">{{ .Params.lead | safeHTML }}</p> -->
32+
{{ if ne .Params.toc false -}}
33+
<nav class="toc-mobile d-xl-none" aria-label="Quaternary navigation">
34+
{{ partial "sidebar/docs-toc-mobile.html" . }}
35+
</nav>
36+
{{ end -}}
37+
38+
{{ if site.Params.doks.headlineHash -}}
39+
{{ partial "main/headline-hash" .Content }}
40+
{{ else -}}
41+
{{ .Content }}
42+
{{ end -}}
43+
<div class="page-footer-meta d-flex flex-column flex-md-row justify-content-between">
44+
{{ if site.Params.doks.lastMod -}}
45+
{{ partial "main/last-modified.html" . }}
46+
{{ end -}}
47+
{{ if site.Params.doks.editPage -}}
48+
{{ partial "main/edit-page.html" . }}
49+
{{ end -}}
50+
</div>
51+
{{ partial "main/docs-navigation.html" . }}
52+
<!--
53+
{{ if not .Site.Params.options.collapsibleSidebar -}}
54+
{{ partial "main/docs-navigation.html" . }}
55+
{{ else -}}
56+
<div class="my-n3"></div>
57+
{{ end -}}
58+
-->
59+
</main>
60+
{{ if and (eq site.Params.doks.containerBreakpoint "fluid") (in .Site.Params.mainSections .Type) }}
61+
</div>
62+
{{ end }}
63+
</div>
64+
{{ end }}

0 commit comments

Comments
 (0)