| 开发者 | shinobiashi |
|---|---|
| 更新时间 | 2026年9月26日 15:18 |
| PHP版本: | 8.2 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
BreadcrumbList structured dataQAPage structured data; the archive gets FAQPage structured dataDefinedTerm structured data on each term's page?format=markdownmodified_after), plus a full-dump JSONL/CSV download from the admin screen — ideal for feeding a support chatbot or RAG indexsaai_* actions/filters so other plugins and themes can customize or extend it.
Source code and build process
SAAI Knowledge is developed in the open. The complete, human-readable source — including the un-minified JavaScript and SCSS under src/ that the compiled files under build/ are generated from — is maintained at:
https://github.com/shinobiashi/saai-knowledge
The free plugin is the plugins/saai-knowledge/ directory of that repository.
The build uses @wordpress/scripts (webpack + Babel) and needs Node.js and npm; the project's CI builds with Node.js 24. To reproduce the compiled files from source:
git clone https://github.com/shinobiashi/saai-knowledge.gitcd saai-knowledgenpm installnpm run buildnpm run build compiles plugins/saai-knowledge/src/** into plugins/saai-knowledge/build/**. No third-party JavaScript library is bundled: the only module the front-end scripts import is @wordpress/interactivity, which WordPress itself provides at runtime.
Looking for WooCommerce integration?
SAAI Knowledge for WooCommerce, a companion add-on that links FAQ/KB/Glossary content to products and product categories and displays it on product pages, is planned as a separately sold, optional purchase — it isn't available yet and is not required to use this plugin.
/wp-content/plugins/saai-knowledge directory, or install through the WordPress Plugins screen.Yes. Both block themes and classic themes are supported. Block-theme users get dedicated templates for the Knowledge Base hub, category archives, and individual articles; classic-theme users get the same layout through the classic template hierarchy.
Yes. FAQ answers and other collapsible content are always present in the page's initial HTML; JavaScript only controls the open/close interaction. Search engines and AI crawlers that don't execute JavaScript still see the full content.
Yes. A single "Markdown & llms.txt" setting controls the ?format=markdown output, the llms.txt index, and the SEO-plugin description integration together. The REST export endpoint and the admin-side JSONL/CSV download aren't affected by this setting — the REST endpoint only ever returns already-public content, and the admin download requires the same capability as the rest of Settings.
SAAI Knowledge for WooCommerce, a companion add-on that links FAQ/KB/Glossary content to products and product categories and displays it on product pages, is planned as a separately sold, optional purchase — it isn't available yet and is not required to use this plugin.
No. SAAI Knowledge does not call any external API or service; all processing happens on your own site.
languages/ directory and the Domain Path header have been removed accordingly.build/ from the un-minified sources under src/.