mirror of
https://github.com/suk-ws/ph-Bookshelf.git
synced 2025-01-31 21:13:00 +08:00
Eyre_S
2fcdeafc72
- 支持了新的 bookshelf 以及其中的 config/link/book 解析 - 支持了新的 page/chapter/separator 以及 root_book 的解析 - 暂不支持 book.xml 根配置的解析 - 添加了为 Separator 设置的 css 样式
40 lines
1.9 KiB
XML
40 lines
1.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<xs:schema
|
|
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
targetNamespace="https://book.sukazyo.cc"
|
|
xmlns="https://book.sukazyo.cc"
|
|
elementFormDefault="qualified"
|
|
>
|
|
|
|
<xs:complexType name="phb-config-level-site">
|
|
<xs:all>
|
|
<xs:element minOccurs="0" name="old.title.gen" type="xs:boolean" />
|
|
<xs:element minOccurs="0" name="highlightjs" type="xs:boolean" />
|
|
<xs:element minOccurs="0" name="highlightjs.languages" type="xs:string" />
|
|
<xs:element minOccurs="0" name="highlightjs.theme" type="xs:string" />
|
|
<xs:element minOccurs="0" name="codeblock.bg-color" type="xs:string" />
|
|
<xs:element minOccurs="0" name="codeblock.fg-color" type="xs:string" />
|
|
<xs:element minOccurs="0" name="codeblock.tab-size" type="xs:integer" />
|
|
<xs:element minOccurs="0" name="regex.highlight" type="xs:boolean" />
|
|
<xs:element minOccurs="0" name="listing.marker.rainbow" type="xs:boolean" />
|
|
<xs:element minOccurs="0" name="title.permalink.flash" type="xs:boolean" />
|
|
<xs:element minOccurs="0" name="web-title.rolling" type="xs:boolean" />
|
|
<xs:element minOccurs="0" name="site.robots" type="xs:string" />
|
|
</xs:all>
|
|
</xs:complexType>
|
|
|
|
<xs:attributeGroup name="phb-config-level-page">
|
|
<xs:attribute name="old.title.gen" type="xs:boolean" />
|
|
<xs:attribute name="highlightjs" type="xs:boolean" />
|
|
<xs:attribute name="highlightjs.languages" type="xs:string" />
|
|
<xs:attribute name="highlightjs.theme" type="xs:string" />
|
|
<xs:attribute name="codeblock.bg-color" type="xs:string" />
|
|
<xs:attribute name="codeblock.fg-color" type="xs:string" />
|
|
<xs:attribute name="codeblock.tab-size" type="xs:integer" />
|
|
<xs:attribute name="regex.highlight" type="xs:boolean" />
|
|
<xs:attribute name="listing.marker.rainbow" type="xs:boolean" />
|
|
<xs:attribute name="title.permalink.flash" type="xs:boolean" />
|
|
<xs:attribute name="web-title.rolling" type="xs:boolean" />
|
|
</xs:attributeGroup>
|
|
|
|
</xs:schema> |