mirror of
https://github.com/suk-ws/ph-Bookshelf.git
synced 2025-02-08 00:39:54 +08:00
- support page config define in front matter - support `title`, which can set HTML title. - if `title` is not set, then HTML title will try find page title defined in book.xml - if `title` is set but <h1> title not set, it will generated a <h1> title using the value of `title` - support `configurations` which can set page level configs here. - now can open page that has .md file but not defined in book.xml (must in a book defined) - old.title.gen is not supported yet.
29 lines
562 B
JSON
29 lines
562 B
JSON
{
|
|
"name": "suk-ws/ph-bookshelf",
|
|
"description": "一个简单简洁(?)的文档书架实现。",
|
|
"keywords": ["website", "documentation-tool", "markdown"],
|
|
"minimum-stability": "alpha",
|
|
"type": "website",
|
|
"license": "MIT",
|
|
"authors": [
|
|
{
|
|
"name": "A.C.Sukazyo Eyre",
|
|
"email": "email@example.com"
|
|
}
|
|
],
|
|
"autoload": {
|
|
"psr-4": {
|
|
"SukWs\\Bookshelf\\": "src"
|
|
}
|
|
},
|
|
"require": {
|
|
"php": ">=8.2",
|
|
"ext-xml": "*",
|
|
"ext-dom": "*",
|
|
"ext-mbstring": "*",
|
|
"ext-fileinfo": "*",
|
|
"league/commonmark": ">=2.4",
|
|
"symfony/yaml": ">=4.0"
|
|
}
|
|
}
|