You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: sync free-side changes for Documentation Layout and Section Tree (Pro)
- docs_mode setting and wizard pro-features gate (setting stub present in free;
feature activates only with a Pro licence)
- TOC anchor injection enabled when docs_mode is on
- wzkb_get_section_tree() / wzkb_the_section_tree() public helper stubs
(return '' when Pro class is absent)
- Nav CSS updated to use flexbox for article pagination
- JS repeater unique-field sync refactored to shared outer listener
- Section Tree block icon added to block icon registry
- 📑 __Enhanced Table of Contents__ — Three Pro TOC delivery surfaces: a sidebar widget that renders the TOC for the current article, a Gutenberg block for inline insertion, and a floating/sticky panel that follows the reader down the page.
59
59
- 🛠️ __Advanced Admin Tools__ — Control knowledge base caching with expiry settings, on-demand cache clearing, and other productivity enhancements.
60
+
- 📄 __Documentation Layout Mode__ — Transform any KB page into a three-column docs site with a sticky section-tree sidebar on the left, article content in the centre, and an "On this page" TOC rail on the right. Collapsible accordion navigation adapts to the current product, section, or article automatically.
61
+
- 🌳 __Section Tree Block & Widget__ — Display a context-aware hierarchical navigation tree of your KB products, sections, and articles anywhere — as a Gutenberg block or a classic sidebar widget. The tree collapses and expands sections with an accessible accordion, and highlights the current page automatically.
60
62
- 🤖 __GitHub Integration__ — Sync markdown documentation from a GitHub repo. Push changes via webhooks and articles are created or updated automatically. YAML frontmatter controls slug, title, products, and sections.
61
63
- 📦 __Article Export & Import__ — Export all Knowledge Base articles as a Markdown ZIP (with YAML frontmatter), a SQL INSERT dump, or an XLSX metadata spreadsheet. Re-import Markdown ZIPs to restore or migrate articles, with automatic taxonomy mapping and overwrite/skip control.
'desc' => esc_html__( 'Display the entire knowledge base as a three-column documentation site: a categorized navigation sidebar, the article content, and an "On this page" outline. Works alongside your chosen style.', 'knowledgebase' ),
832
+
'type' => 'checkbox',
833
+
'default' => false,
834
+
'pro' => true,
835
+
),
828
836
'columns' => array(
829
837
'id' => 'columns',
830
838
'name' => esc_html__( 'Number of columns', 'knowledgebase' ),
0 commit comments