summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-02-02 12:56:57 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-02-02 13:01:40 (GMT)
commit90fb3132ce02eb44abe3797954267fefcb8d10a8 (patch)
tree82488a1c3d2465d3c50d3aa9c65f7652a585797e /templates
parenta2954444b3b2bd0af09f3c886f13b4597866153a (diff)
downloadDoxygen-90fb3132ce02eb44abe3797954267fefcb8d10a8.zip
Doxygen-90fb3132ce02eb44abe3797954267fefcb8d10a8.tar.gz
Doxygen-90fb3132ce02eb44abe3797954267fefcb8d10a8.tar.bz2
Avoid unsupported html attributes from appearing in the XML/docbook output and other small fixes
Diffstat (limited to 'templates')
-rw-r--r--templates/html/doxygen.css41
-rw-r--r--templates/xml/compound.xsd12
2 files changed, 11 insertions, 42 deletions
diff --git a/templates/html/doxygen.css b/templates/html/doxygen.css
index 2c9dfd5..8f2c213 100644
--- a/templates/html/doxygen.css
+++ b/templates/html/doxygen.css
@@ -1661,47 +1661,6 @@ tr.heading h2 {
/* @group Markdown */
-/*
-table.markdownTable {
- border-collapse:collapse;
- margin-top: 4px;
- margin-bottom: 4px;
-}
-
-table.markdownTable td, table.markdownTable th {
- border: 1px solid ##37;
- padding: 3px 7px 2px;
-}
-
-table.markdownTableHead tr {
-}
-
-table.markdownTableBodyLeft td, table.markdownTable th {
- border: 1px solid ##37;
- padding: 3px 7px 2px;
-}
-
-th.markdownTableHeadLeft th.markdownTableHeadRight th.markdownTableHeadCenter th.markdownTableHeadNone {
- background-color: ##47;
- color: ##ff;
- font-size: 110%;
- padding-bottom: 4px;
- padding-top: 5px;
-}
-
-th.markdownTableHeadLeft {
- text-align: left
-}
-
-th.markdownTableHeadRight {
- text-align: right
-}
-
-th.markdownTableHeadCenter {
- text-align: center
-}
-*/
-
table.markdownTable {
border-collapse:collapse;
margin-top: 4px;
diff --git a/templates/xml/compound.xsd b/templates/xml/compound.xsd
index 191527f..277a584 100644
--- a/templates/xml/compound.xsd
+++ b/templates/xml/compound.xsd
@@ -572,7 +572,9 @@
<xsd:attribute name="thead" type="DoxBool" />
<xsd:attribute name="colspan" type="xsd:integer" />
<xsd:attribute name="rowspan" type="xsd:integer" />
- <!-- maybe other attributes can be listed as well -->
+ <xsd:attribute name="align" type="DoxAlign" />
+ <xsd:attribute name="class" type="xsd:string" />
+ <xsd:attribute name="htmlattrib" type="xsd:string" />
<xsd:anyAttribute processContents="skip"/>
</xsd:complexType>
@@ -940,5 +942,13 @@
</xsd:restriction>
</xsd:simpleType>
+ <xsd:simpleType name="DoxAlign">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="left"/>
+ <xsd:enumeration value="right"/>
+ <xsd:enumeration value="center"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+
</xsd:schema>