This is a standalone WordPress plugin that borrows the useful parts of a docs site without shipping a separate public website shell.
WordPress keeps the real page, theme, header, footer, and menus.
The plugin provides:
- a shortcode-based docs mount
- a docs registry from markdown files
- server-side docs rendering
- a small React docs UI bundle for sidebar and page enhancements
- built assets shipped with the plugin
Use this shortcode on any normal WordPress page:
[acm_docs]
Optional shortcode attributes:
[acm_docs slug="help/getting-started" title="Docs"]
unofficial-docusaurus.phpis the plugin bootstrapincludes/contains the PHP plugin codedocs/contains the markdown docs sourceassets/docs-app/contains the built frontend assets shipped with the pluginui/contains the React/Vite source used to build the docs UI
The plugin ships with prebuilt assets.
If you want to rebuild the docs UI locally:
cd ui
npm install
npm run buildThe build output goes into assets/docs-app/.
This plugin is trying to keep the WordPress shell while giving the site a docs experience with:
- a sidebar
- previous and next links
- markdown docs content
- room for client-side search later
It is not trying to host the whole Docusaurus website inside WordPress.