You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kw...@apache.org on 2026/02/14 12:54:07 UTC
(maven-doxia-sitetools) branch feature/clarify-image-attributes created (now ef1f95a)
This is an automated email from the ASF dual-hosted git repository.
kwin pushed a change to branch feature/clarify-image-attributes
in repository https://gitbox.apache.org/repos/asf/maven-doxia-sitetools.git
at ef1f95a Clarify image attributes in site descriptor
This branch includes the following new commits:
new ef1f95a Clarify image attributes in site descriptor
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(maven-doxia-sitetools) 01/01: Clarify image attributes in site descriptor
Posted by kw...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
kwin pushed a commit to branch feature/clarify-image-attributes
in repository https://gitbox.apache.org/repos/asf/maven-doxia-sitetools.git
commit ef1f95ad578a0afc25584bc0e4ec228fd516a2f4
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Sat Feb 14 13:53:56 2026 +0100
Clarify image attributes in site descriptor
Mention in which HTML element and attribute they end up in to clarify
the syntax.
This relates to #618
---
doxia-site-model/src/main/mdo/site.mdo | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/doxia-site-model/src/main/mdo/site.mdo b/doxia-site-model/src/main/mdo/site.mdo
index b9fdd56..e45d74e 100644
--- a/doxia-site-model/src/main/mdo/site.mdo
+++ b/doxia-site-model/src/main/mdo/site.mdo
@@ -573,12 +573,12 @@ under the License.
<class java.clone="deep">
<name>Image</name>
- <description>An image.</description>
+ <description>An image. Generates an "img" element (https://html.spec.whatwg.org/#the-img-element).</description>
<version>2.0.0+</version>
<fields>
<field xml.attribute="true">
<name>src</name>
- <description>The source location.</description>
+ <description>The source location. Ends up in the "img src" attribute (https://html.spec.whatwg.org/#attr-img-src).</description>
<version>2.0.0+</version>
<type>String</type>
<required>true</required>
@@ -594,28 +594,28 @@ under the License.
</field>
<field xml.attribute="true">
<name>alt</name>
- <description>The alternative text to use.</description>
+ <description>The alternative text to use. Ends up in the "img alt" attribute (https://html.spec.whatwg.org/#alt).(</description>
<version>2.0.0+</version>
<type>String</type>
<identifier>true</identifier>
</field>
<field xml.attribute="true">
<name>width</name>
- <description>The width to use.</description>
+ <description>The width to use. Added to the generated "img style" attribute (https://html.spec.whatwg.org/#the-style-attribute) prefixed by "width: ".</description>
<version>2.0.0+</version>
<type>String</type>
<identifier>true</identifier>
</field>
<field xml.attribute="true">
<name>height</name>
- <description>The height to use.</description>
+ <description>The height to use. Added to the generated "img style" attribute (https://html.spec.whatwg.org/#the-style-attribute) prefixed by "height: ".</description>
<version>2.0.0+</version>
<type>String</type>
<identifier>true</identifier>
</field>
<field xml.attribute="true">
<name>style</name>
- <description>The style to use.</description>
+ <description>The style to use. Ends up in the "img style" attribute (https://html.spec.whatwg.org/#the-style-attribute) as is.</description>
<version>2.0.0+</version>
<type>String</type>
<identifier>true</identifier>