Linux 软件免费装
Banner图

MVP Docs

开发者 cartpauj
更新时间 2026年4月17日 00:14
PHP版本: 8.0 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

markdown ai documentation knowledge base docs

下载

1.0.7 1.1.0

详情介绍:

MVP Docs adds a simple documentation system to your WordPress site. It creates a Docs custom post type with categories, a clean archive page, and a markdown import tool — nothing more. Why MVP Docs? AI tools like Claude and ChatGPT are excellent at generating documentation in Markdown format. MVP Docs was built to take advantage of that — paste your AI-generated .md files straight into WordPress with a single click. No copy-pasting HTML, no reformatting, no fussing with blocks. Just import and publish. Beyond the AI workflow, most documentation plugins are overbuilt. They add custom page builders, proprietary editors, dozens of database tables, and megabytes of JavaScript. MVP Docs takes the opposite approach: Features Markdown Import — Built for AI-Generated Docs AI tools produce clean, well-structured Markdown. MVP Docs lets you import those .md files directly into the block editor with one click. The sidebar includes an "Import from Markdown" button — upload a file and it gets parsed client-side with full GitHub Flavored Markdown support (via marked.js), then converted into native Gutenberg blocks. The first # Heading becomes the post title automatically. Use your favorite AI to generate docs, how-to guides, or knowledge base articles in Markdown, then import them into WordPress without any reformatting. Supported: headings, bold, italic, links, images, tables, fenced code blocks with syntax hints, task lists, strikethrough, blockquotes, horizontal rules, ordered and unordered lists. Import / Export Go to Docs > Settings > Import / Export to: Existing docs with the same title are skipped during import to avoid duplicates. Categories are created automatically if they don't exist. WP-CLI Every admin action has a command-line equivalent, so a docs site can be stood up and populated entirely from a shell script or AI agent. Run wp mvp-docs <command> --help for full details on any command below. Content wp mvp-docs import-md <file> Import a Markdown file as a doc. Output is byte-identical to the sidebar Markdown importer — same blocks, same title extraction from the first # heading. wp mvp-docs import-raw <file> Import a raw HTML file as a doc. Block-commented HTML is preserved as-is; plain HTML renders as a Classic block in the editor. Both import commands accept: wp mvp-docs export [--docs] [--settings] [--output=<file>] [--pretty] Dump docs, categories, settings, and category order to a single JSON bundle. Omitting both flags exports everything. Pipe to stdout or write to a file. wp mvp-docs import <file> Restore a JSON bundle. Docs are deduplicated by title, so running the same import twice is safe. Structure wp mvp-docs reorder-categories <slug-or-id>... Set the display order of categories. Accepts term IDs or slugs. Settings wp mvp-docs settings list [--format=table|json|yaml|csv] Show every setting with its current value, description, and allowed form — self-documenting so you never have to read the source to discover what's configurable. wp mvp-docs settings get <key> Print a single setting's value. wp mvp-docs settings set <key=value>... Update one or more settings. Values run through the same sanitizer as the admin UI; if a value is rejected (e.g. columns=7 when the allowed range is 1–4), a warning names the allowed form and shows the actual saved value. Changing docs_slug or category_slug auto-flushes rewrite rules. Quick start for AI agents wp plugin activate mvp-docs wp mvp-docs settings set docs_slug=kb archive_title="Knowledge Base" wp term create mvpd_category "Getting Started" --slug=getting-started wp mvp-docs reorder-categories getting-started wp mvp-docs import-md ./intro.md --category=getting-started --sort-order=1 wp mvp-docs export --output=backup.json

安装:

  1. Go to Plugins > Add New and search for "MVP Docs"
  2. Click Install Now, then Activate
  3. Go to Settings > Permalinks and click Save (to register the URL structure)
  4. Start creating docs under the new Docs menu

屏幕截图:

  • Search results page
  • Single doc with breadcrumbs
  • Settings — Design tab
  • Settings — Category Order (drag and drop)
  • Settings — Permalinks
  • Settings — Import / Export
  • Markdown import in the block editor sidebar

常见问题:

Does it work with my theme?

Yes. MVP Docs auto-detects whether you're using a block theme or a classic theme and uses the appropriate template system. The archive styling is minimal and designed to work within your theme's layout.

Can I import existing markdown files?

Yes. When editing a doc, open the sidebar and click "Import from Markdown" under Doc Settings. Select a .md file and it will be converted to native Gutenberg blocks.

Can I migrate docs between sites?

Yes. Use the Import / Export tab under Docs > Settings to export your docs, categories, and settings as a JSON file, then import it on another site.

Does it add scripts or styles to every page?

No. CSS and JS are only loaded on doc pages — the archive, category pages, search results, and single docs. Nothing is enqueued globally.

Can I change the URL structure?

Yes. Go to Docs > Settings > Permalinks to change the docs slug and category slug.

Can I script setup for an AI agent or CI pipeline?

Yes. MVP Docs ships a complete WP-CLI command set — activate the plugin, configure settings, create categories, and import Markdown or HTML docs all from a shell script. See the "WP-CLI" section above and run wp mvp-docs <command> --help for detailed options.

What happens if I deactivate the plugin?

Your content stays. Docs are standard WordPress posts — they remain in your database and can be accessed via the admin even without the plugin active.

更新日志:

1.1.0 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0