slachiewicz opened a new pull request, #733:
URL: https://github.com/apache/maven-doxia-sitetools/pull/733

   Site descriptor 2.2.0 adds two attributes on `<body>`, `combine.links` and 
`combine.breadcrumbs`, both `merge` by default. With `override`, a child uses 
only its own links or breadcrumbs; for breadcrumbs the generated entry for the 
child project is skipped too, so an empty list stays empty.
   
   ```xml
   <body combine.breadcrumbs="override">
     <breadcrumbs>
       <item name="My project" href="https://example.com/"/>
     </breadcrumbs>
   </body>
   ```
   
   `<site combine.self="override">` already drops the whole parent descriptor. 
Modello cannot put attributes on the `<links>` or `<breadcrumbs>` wrapper 
elements, so the switches sit on `<body>`. Other parent elements, such as 
`bannerLeft`, are out of scope.
   
   The model version moves to 2.2.0 (`ModelNamespace.SITE_MODEL_VERSION` 
follows), and descriptors in 2.1.0 and older read as before. `site-2.2.0.xsd` 
goes to maven-site after the release, as `site-2.1.0.xsd` did.
   
   Closes #278
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to