From bf95f440dab9b71f76ddd4d0525de35a7c3d5ff5 Mon Sep 17 00:00:00 2001 From: Thomas Moraine Date: Tue, 20 Jan 2026 11:06:40 +0100 Subject: [PATCH] doc: fix duplicate markdown declaration in config file This commit keeps all the Markdown parameter declarations within the same code block instead of declaring Markdown parameters twice. This should prevent former declarations from being overwritten by the latter, and keeps code tidier. Signed-off-by: Thomas Moraine --- docusaurus.config.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index c447bade..1c611592 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -14,6 +14,8 @@ const config = { favicon: 'img/xcpcrop128.png', trailingSlash: true, markdown: { + // Mermaid graphs + mermaid: true, hooks: { onBrokenMarkdownLinks: 'warn', }, @@ -32,10 +34,6 @@ const config = { locales: ['en'], }, - // Mermaid graphs - markdown: { - mermaid: true, - }, themes: ['@docusaurus/theme-mermaid'], scripts: [