Skip to content

docs: move the DefectDojo Pro pages and the docs site out of this repository - #17048

Merged
blakeaowens merged 2 commits into
devfrom
docs/move-pro-docs-to-dojo-pro-docs
Nov 21, 2026
Merged

blakeaowens merged 2 commits into
devfrom
docs/move-pro-docs-to-dojo-pro-docs

Conversation

@blakeaowens

@blakeaowens blakeaowens commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Description

docs.defectdojo.com is now built and published from the DefectDojo Pro documentation repository, together with the Open Source pages that stay here. This PR removes from this repository what moved there, and keeps a small preview so docs work here still builds.

Removed:

  • the DefectDojo Pro pages (406 English pages and 1324 translations) and the 334 images only they use;
  • the docs site itself (theme, layouts, scripts and config beyond what the preview needs): 60 files;
  • .github/workflows/gh-pages.yml, the publish workflow. The custom domain has already moved; this repository's Pages no longer serves docs.defectdojo.com.

Kept, and changed:

  • a preview on the stock Doks theme (cd docs && npm ci && npm run build, or npm run dev): empty theme hooks, an image hook that labels a screenshot only the published site has, and the Open Source pages as they are. The preview builds with no warnings on the Hugo version the docs CI pins: 683 English pages, 181 per language.
  • scripts/docs_live_link_stubs.py, which the docs CI runs before its link check: for every internal link the local build cannot resolve, it asks the live site and writes a placeholder when the page exists there. Against this branch it found 211 links into Pro pages, all of which resolve on docs.defectdojo.com, so the link check keeps covering them.
  • a docs CI step that refuses a DefectDojo Pro page from now on: audience: pro, pro-feature: true, a PRO__* file, or anything under releases/pro/, a section's _index.md exempt and a translation judged by its English page. It finds nothing on this branch.
  • a note at the top of docs/README.md saying where Pro pages go and how the preview relates to the published site.

Open Source documentation contributions are not affected: they keep landing here as before and publish through the hourly the Pro documentation repository build. A documentation change for a DefectDojo Pro feature is a pull request against the Pro documentation repository dev instead; the open Pro docs PRs here were re-created there earlier today.

Test results

  • cd docs && npm ci && hugo --minify --gc --config config/production/hugo.toml on Hugo extended 0.153.5: builds, 0 warnings.
  • python3 scripts/docs_live_link_stubs.py docs/public: 211 links do not resolve in this build; 211 exist on https://docs.defectdojo.com (placeholders written), 0 are left for the link check.
  • The new "Refuse DefectDojo Pro pages" step, run on this tree: no Pro pages found.
  • The the Pro documentation repository strict build was rehearsed against an earlier staging of this change and was byte-identical to the published site; its own checks run in that repository.

Documentation

docs/README.md carries the note. The docs for the switch itself live in the Pro documentation repository (CUTOVER.md).

Checklist

  • I have read and understood the contributing guidelines.
  • This PR is against the dev branch.
  • The PR title is prefixed with the change type.
  • Commits are linked to an issue where one exists.

🤖 Generated with Claude Code

docs.defectdojo.com is now built and published from DefectDojo-Inc/dojo-pro-docs,
together with the Open Source pages kept here. This removes what moved there: the
Pro pages and their translations, the images only they use, the site itself (theme,
layouts, config beyond the preview's needs) and the gh-pages publish workflow.

What stays is a preview on the stock Doks theme, so `npm run dev` and the docs CI
still build and link-check the Open Source pages. Links into Pro pages get a
placeholder from the live site before the link check, screenshots only the
published site has show as a labelled placeholder, and the docs CI now refuses a
DefectDojo Pro page (audience: pro, pro-feature: true, a PRO__ file, or anything
under releases/pro/), with a note in docs/README.md saying where those go.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
scripts/docs_live_link_stubs.py is run by the docs CI on its own, not imported, so
INP001 (implicit namespace package) does not apply; ignore it for that file as T201
already is.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@blakeaowens
blakeaowens added this pull request to the merge queue Nov 20, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 20, 2026
@blakeaowens
blakeaowens added this pull request to the merge queue Nov 21, 2026
Merged via the queue into dev with commit 4b605da Nov 21, 2026
50 checks passed
@blakeaowens
blakeaowens deleted the docs/move-pro-docs-to-dojo-pro-docs branch November 21, 2026 00:38
@blakeaowens blakeaowens changed the title docs: move the DefectDojo Pro pages and the docs site to dojo-pro-docs docs: move the DefectDojo Pro pages and the docs site out of this repository Nov 21, 2026
paulOsinski added a commit to paulOsinski/django-DefectDojo that referenced this pull request Nov 23, 2026
…jo-pro-docs

The docs cutover (DefectDojo#17048) moved the Pro pages and the docs site itself
(layouts, i18n, llms.txt, theme config) to dojo-pro-docs. This PR keeps
only the Open Source content: the ci-reimport and generic-findings-converter
prompts, the pages that show them, the Prompt Recipes page and the two
prompt shortcodes the preview build needs.

Dropped here, per review: the two Pro pages (building_rules.md,
PRO__report_builder_llm.md, already in dojo-pro-docs#52) and the two
prompts they embed (simple-report, triage-engine-rule). The Markdown copy
of every page, the page actions, the llms.txt links and their translated
labels go to dojo-pro-docs with them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants