This commit is contained in:
Sven Steinert
2026-05-13 11:57:52 +02:00
parent 6abf6f9c3d
commit f4511b9213
76 changed files with 4494 additions and 1940 deletions

View File

@@ -0,0 +1,38 @@
# KB Markdown Importer
WordPress plugin for importing GitLab based Markdown documentation into a versioned customer portal knowledgebase.
## Expected GitLab project structure
Each product has one GitLab project. Each documentation version is represented by a branch, for example `v1.0.0`, `v1.1.0` or `v2.0.0`.
```text
doku.md
stepbystep.md
faq.md
doku.yml
images/
screenshot.png
```
Required:
- `doku.md`
- `stepbystep.md`
- `images/`
Optional:
- `faq.md`
- `doku.yml` for title, version and navigation order
## Features
- GitLab settings and connection test in the WordPress admin.
- Custom post type `kb_doc_page`.
- Taxonomies for products, versions and components.
- Manual GitLab sync for projects, version branches, Markdown pages and images.
- WordPress-native Markdown rendering with internal `.md` link rewriting.
- Frontend routes under `/docs/`.
- Shortcodes: `[kb_docs]`, `[kb_docs_index]`, `[kb_product_index product="..."]`, `[kb_search]`.
- Import logs without exposing secrets.