kmucms/dokudoku
Composer 安装命令:
composer require kmucms/dokudoku
包简介
dokumenting software architecture
README 文档
README
An folder with markdown documents (*.md) is turned to a web-page. Folders plus Filename represents the path. A navigation tree is generated.
I wrote a small lib for documenting software, so there are some special enhantments (code highlighting and graph drawing).
Installation
get the lib:
composer require kmucms/dokudoku
create index.php and put following code:
require_once __DIR__ . '/vendor/autoload.php'; $d = new \kmucms\Dokudoku\DokuDoku(); // create new instance $d->setMdDocsPath(__DIR__ . '/docsmd/'); // *important* provide path with md-files $d->go();
run webserver
php -S localhost:8000
and browser
http://localhost:8000
Used Libraries
There are libraries (mermaidjs, prismjs, bootstrap) which are loaded from cdn.jsdelivr.net, so you have to be online or you can install it locally.
$d = new \kmucms\Dokudoku\DokuDoku(); $d->setConfiguration('css', ['/your/path.css']); $d->setConfiguration('js', ['/your/path.js']); $d->go();
Usage
There is an internal help page.
http://localhost:8000?doc=dokudoku_edit_help
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2026-05-14