From 799e88343293da50d047b541660f9e3875dd9ace Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Wed, 30 Apr 2025 00:18:10 +0700 Subject: [PATCH] Set codeMirror => true on DocumentationController --- src/Controller/DocumentationController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Controller/DocumentationController.php b/src/Controller/DocumentationController.php index b8a4cb46d..04faf8d8b 100644 --- a/src/Controller/DocumentationController.php +++ b/src/Controller/DocumentationController.php @@ -24,6 +24,8 @@ public function __invoke(string $section = 'introduction'): View 'section_title' => $this->documentationMenuFactory->createSectionTitle($section), 'section_markdown_contents' => $markdownContents, 'documentation_menu_categories' => $this->documentationMenuFactory->create(), + 'codeMirror' => true, + // seo 'metaTitle' => 'Rector Docs: PHP Refactoring Guide', 'metaDescription' => 'Explore Rector’s documentation for PHP code refactoring and upgrades. Learn how to automate and optimize your codebase with ease.', ]);