Issue Details (XML | Word | Printable)

Key: DOXIA-106
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Unassigned
Reporter: John Casey
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven Doxia

When using a template from a custom skin, default images and css from doxia-site-renderer are not copied to rendered site

Created: 04/Apr/07 01:33 PM   Updated: 24/Jun/08 11:22 AM
Component/s: Site Renderer
Affects Version/s: 1.0-alpha-8
Fix Version/s: None

Time Tracking:
Not Specified

Environment: maven-site-plugin 2.0-beta-5; maven 2.0.5


 Description  « Hide
I've created my own Velocity template for rendering site pages, and included it in my own site skin. The skin makes no changes to the built-by image, or the maven-base or print CSS files. However, when I use the new skin, none of these files are found in the site. This leads to massive formatting problems and missing icons/images all over the place.

When I copy the images/ and css/ directories out of the doxia-site-renderer/src/main/resources/... directory structure into my skin, all is fine.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Dennis Lundberg added a comment - 04/Apr/07 01:47 PM
This is the behavior that I would expect. Anyone who creates a skin should supply the needed images and style sheets for it.

Were you expecting the images and style sheets to be "inherited" from a parent skin, or site renderer itself?


Grégory Joseph added a comment - 24/Jun/08 10:28 AM - edited
Based on the names of the css files, I'd actually expect maven-base.css to always be copied (possibly overriden if the skin author should chose so), whereas maven-theme.css would be where the actual theming happens. Having maven-base.css there would help when new versions of the site components are released, providing good defaults until the skin author wants to further customize them. (and generally avoiding unnecessary copy pasting of these files)

Grégory Joseph added a comment - 24/Jun/08 11:05 AM - edited
I'd expect the same for all resources, not just the css - currently skins have to copy all resources, icons etc. Having overridable defaults would be nice.