Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
999f9d0
Update versions in application files
Nov 20, 2026
dd02cab
Merge pull request #17034 from DefectDojo/release/merge-master-into-d…
defectdojo-release-tracker[bot] Nov 20, 2026
a374e76
docs(reports): Generate Report and the Reports tour follow a group me…
blakeaowens Nov 20, 2026
1ec241d
docs(changelog): add DefectDojo Pro 3.5.202 release notes (#17035)
Maffooch Nov 20, 2026
825e09b
docs(celery-status): show every routed queue and whether a worker con…
Maffooch Nov 20, 2026
9b26002
fix(findings): keep the cluster open when Set as Original promotes an…
blakeaowens Nov 20, 2026
d6e4a04
docs(dedupe): global component compares the package namespace (#17031)
blakeaowens Nov 20, 2026
663f6a7
docs(diagnostics): clear background imports stuck in Processing (#17037)
Maffooch Nov 20, 2026
3a2cd8f
docs(findings): request/response pairs on the New and Edit Finding fo…
blakeaowens Nov 20, 2026
a1587a3
fix(celery): read the queue through the broker connection Celery is c…
Maffooch Nov 20, 2026
8416daf
fix(tags): lock tag count rows in id order in bulk_add_tag_mapping (#…
Maffooch Nov 20, 2026
4b605da
docs: move the DefectDojo Pro pages and the docs site to dojo-pro-doc…
blakeaowens Nov 21, 2026
9425619
chore(deprecations): add 3.8.0 to the release calendar (#17051)
Maffooch Nov 21, 2026
da47f99
fix(notes): delete an object's note history in one batch (#17050)
Maffooch Nov 21, 2026
7dcade9
docs(ci): reword the Pro-page check's message (#17052)
blakeaowens Nov 21, 2026
4a2fe73
perf(reimport): free the parsed report and the closed findings as the…
Maffooch Nov 21, 2026
ca882e1
docs(releases): name REMOTE_USER in the 3.0 SSO removal notes (#17061)
Maffooch Nov 23, 2026
2f052d7
Update versions in application files
Nov 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
67 changes: 0 additions & 67 deletions .github/workflows/gh-pages.yml

This file was deleted.

65 changes: 65 additions & 0 deletions .github/workflows/validate_docs_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,77 @@ jobs:
exit 1
fi
- name: Refuse DefectDojo Pro pages
# The DefectDojo Pro pages live in the DefectDojo Pro documentation repository, which
# builds docs.defectdojo.com from them together with the Open Source
# pages here. A page marked for the Pro view (audience: pro or
# pro-feature: true), a PRO__* file, or anything under releases/pro/
# belongs there, not here. A section's _index.md is exempt, and a
# translation (Name.<lang>.md) is judged by its English page, the same
# ownership rule that repo's split_pro_docs.py applies.
run: |
set -euo pipefail
python3 - <<'PY'
import re
import sys
from pathlib import Path
CONTENT = Path("docs/content")
LANGS = ("de", "es", "fr", "it", "ja", "pt-br", "zh-hans")
FRONT = re.compile(r"\A---\n(.*?)\n---(?:\n|\Z)", re.DOTALL)
AUDIENCE = re.compile(r"^audience:\s*[\"']?(\w+)", re.MULTILINE)
PRO_FEATURE = re.compile(r"^pro-feature:\s*true", re.MULTILINE)
def english(page):
lang = next((l for l in LANGS if page.name.endswith(f".{l}.md")), None)
if lang is None:
return page
twin = page.with_name(page.name[: -len(f".{lang}.md")] + ".md")
return twin if twin.exists() else page
def pro_owned(page):
front = FRONT.match(page.read_text(encoding="utf-8"))
front = front.group(1) if front else ""
audience = AUDIENCE.search(front)
return (
(audience is not None and audience.group(1) == "pro")
or PRO_FEATURE.search(front) is not None
or page.name.startswith("PRO__")
or page.relative_to(CONTENT).parts[:2] == ("releases", "pro")
)
found = sorted(
str(page)
for page in CONTENT.rglob("*.md")
if not page.name.startswith("_index.") and pro_owned(english(page))
)
if found:
print("\n".join(found), file=sys.stderr)
print(
"\nThese pages document DefectDojo Pro. Pro pages live in"
" the DefectDojo Pro documentation repository, not in this repository:"
" open the change there.",
file=sys.stderr,
)
sys.exit(1)
PY
- name: Test the build process
env:
HUGO_ENVIRONMENT: production
HUGO_ENV: production
run: cd docs && npm ci && hugo --minify --gc --config config/production/hugo.toml

- name: Give links to the Pro docs a placeholder
# The published site adds the DefectDojo Pro pages from a separate repo,
# so this build lacks them. A link this build cannot resolve passes the
# checks below only if docs.defectdojo.com has it.
run: |
set -euo pipefail
mapfile -t files < <(grep -rl 'docs\.defectdojo\.com' dojo/ \
--include='*.html' --include='*.py' --include='*.tpl')
python3 scripts/docs_live_link_stubs.py docs/public "${files[@]}"
- name: Check internal links
uses: lycheeverse/lychee-action@e7477775783ea5526144ba13e8db5eec57747ce8 # v2
with:
Expand Down
2 changes: 1 addition & 1 deletion components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "defectdojo",
"version": "3.5.202",
"version": "3.5.300",
"license": "BSD-3-Clause",
"private": true,
"dependencies": {
Expand Down
9 changes: 9 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Guide to Writing Documentation

> **Where the site is built.** docs.defectdojo.com is built from these pages together
> with the DefectDojo Pro pages and the site's theme, which live in a separate
> repository. This directory keeps a preview on the stock Doks theme, so you can
> check a change before you open a pull request: links to Pro pages resolve only on
> the published site (the docs CI checks them there), and screenshots that only the
> published site has show as a labelled placeholder. A page for DefectDojo Pro
> (`audience: pro`, `pro-feature: true`, a `PRO__*` file, or anything under `releases/pro/`)
> goes in that repository, and the docs CI here refuses one.
When developing documentation, there are steps to take before submitting a pull request

1. Writing your documentation with [hot reloading](#development-with-hot-reloading) live in your browser
Expand Down
1 change: 0 additions & 1 deletion docs/assets/diagrams/Asset_Hierarchy_Full.drawio

This file was deleted.

Loading