Skip to content

Commit 8cd4fdb

Browse files
authored
docs: enable copy-to-clipboard on Report Builder LLM prompt and API base-URL blocks (#15216)
The Doks docs theme (clipboard.js) only adds a copy button to fenced code blocks that Hugo wraps in <div class="highlight">, which requires the fence to declare a language. Two Report Builder blocks used a bare ``` fence and therefore rendered as plain <pre> with no copy button: - PRO__report_builder_llm.md: the self-contained LLM prompt users are meant to copy wholesale into Claude/ChatGPT - PRO__report_builder_api.md: the API base-URL example Tagging both fences as ```text matches the working Dashboards LLM guide and gives every command/prompt in the Report Builder docs a copy button. Authored by T. Walker - DefectDojo
1 parent 65cb0ff commit 8cd4fdb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/content/metrics_reports/reports/PRO__report_builder_api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export DD_IMPORTER_DOJO_API_TOKEN="YOUR_API_TOKEN"
2222

2323
The base URL for all calls is your instance plus `/api/v2`:
2424

25-
```
25+
```text
2626
https://[YOUR-INSTANCE].cloud.defectdojo.com/api/v2
2727
```
2828

docs/content/metrics_reports/reports/PRO__report_builder_llm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export DD_IMPORTER_DOJO_API_TOKEN=<paste-token-here>
3737

3838
Copy the entire fenced block below and paste it into Claude, ChatGPT, or any other capable LLM. The prompt is self-contained — the model will ask you for your tenant URL, token environment variable, and report audiences, then walk you through discovery → design → create → verify → run → download.
3939

40-
```
40+
```text
4141
You are helping me build, run, and download custom reports in DefectDojo Pro
4242
using its REST API and "Report Generator" (Themes / Blocks / Templates /
4343
Generated Reports).

0 commit comments

Comments
 (0)