[
https://issues.apache.org/jira/browse/DOXIASITETOOLS-254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17736805#comment-17736805
]
Michael Osipov commented on DOXIASITETOOLS-254:
-----------------------------------------------
So guys, here is my first shot of reworking the model:
https://github.com/apache/maven-doxia-sitetools/pull/110/files
I have removed all duplicated for image into a single Java class. This is
logically compatible to the previous model, IMHO. All dependend code needs to
be adapted, of course.
> Clarify inconsistencies in Doxia site model
> -------------------------------------------
>
> Key: DOXIASITETOOLS-254
> URL: https://issues.apache.org/jira/browse/DOXIASITETOOLS-254
> Project: Maven Doxia Sitetools
> Issue Type: Task
> Components: Decoration model
> Affects Versions: 1.11.1
> Reporter: Michael Osipov
> Priority: Major
> Labels: doxia-2.0.0-stack
>
> [https://maven.apache.org/doxia/doxia-sitetools-archives/doxia-sitetools-1.11.1/doxia-decoration-model/decoration.html]
> bannerLeft/bannerRight (see also DOXIASITETOOLS-253):
> * Are {{name}} and {{src}} (image) mutually exclusive? If yes, in what order
> should they appear? Why is no {{position}} like with other similar elements
> (logo, item)?
> * Does {{href}} truly only apply to the image?
> * Why is there no {{target}}?
> * Must {{title}}/{{alt}} only be used on the image?
> * Why not apply here the same logic as with the other imaged elements?
> * Why {{src}} instead of {{img}} like the rest?
> * Why does it use subelements and not attributes like the rest?
> logo/link item/menu/menu item:
> * Does {{href}} truly only apply to the text? (different to banner)
> * Must {{title}}/{{alt}} only be used on the image?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)