From 9bb732f91b55336222d6b3a6061bdcc0ffbf5b3f Mon Sep 17 00:00:00 2001 From: Julio Estrada Date: Thu, 29 May 2025 15:31:10 -0400 Subject: [PATCH] Revert "refactor: always show TOC, remove toggle functionality" This reverts commit d9059ad13356bc3a86e6f09c0baebd6e06e0a6a8. --- boostlook.rb | 11 +---------- doc/antora_specimen/content | 1 - 2 files changed, 1 insertion(+), 11 deletions(-) delete mode 160000 doc/antora_specimen/content diff --git a/boostlook.rb b/boostlook.rb index 592eb6a..8956b89 100644 --- a/boostlook.rb +++ b/boostlook.rb @@ -3,21 +3,13 @@ Asciidoctor::Extensions.register do process do |doc, output| output = output.sub(/(]*>)/, '\1
') output = output.sub('', '
') - # Comment out toggle button - TOC should always be visible - # output = output.sub(/(]*id="toc"[^>]*>)/m, '\1') + output = output.sub(/(]*id="toc"[^>]*>)/m, '\1') output = output.sub(/(]*id="footer"[^>]*>)/m, '\1') script_tag = <<~SCRIPT SCRIPT diff --git a/doc/antora_specimen/content b/doc/antora_specimen/content deleted file mode 160000 index d1fceb5..0000000 --- a/doc/antora_specimen/content +++ /dev/null @@ -1 +0,0 @@ -Subproject commit d1fceb5897a578d36f16668881e067ae919b595b