1
0
mirror of https://github.com/suk-ws/ph-Bookshelf.git synced 2025-02-08 00:39:54 +08:00
ph-Bookshelf/assets/xsd/configurations.xsd

40 lines
1.9 KiB
XML
Raw Normal View History

2023-02-26 12:35:48 +08:00
<?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"
2023-02-26 12:35:48 +08:00
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" />
2023-02-26 12:35:48 +08:00
</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>