From 7092df68b75f7044e64072884cf071395b960458 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Tue, 10 Dec 2024 12:07:05 +0100 Subject: [PATCH] Skip empty identifiers to allow just child items Required if headings don't follow a sensible order --- .../docs/table-of-contents.blade.php | 10 ++-- .../Views/SidebarTableOfContentsViewTest.php | 56 +++++++++++++++++++ .../GeneratesSidebarTableOfContentsTest.php | 24 ++++++++ 3 files changed, 86 insertions(+), 4 deletions(-) diff --git a/packages/framework/resources/views/components/docs/table-of-contents.blade.php b/packages/framework/resources/views/components/docs/table-of-contents.blade.php index 3165353ea02..ba9bdeb1741 100644 --- a/packages/framework/resources/views/components/docs/table-of-contents.blade.php +++ b/packages/framework/resources/views/components/docs/table-of-contents.blade.php @@ -4,10 +4,12 @@