If I create a new file xdocs/stylesheets/project.css and do a "maven clean site", then I get the following header in my index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Ziele - $pom.name</title> <style type="text/css" media="all"> @import url("./style/maven-base.css"); @import url("./style/maven-theme.css"); </style> <link rel="stylesheet" href="./style/print.css" type="text/css" media="print"></link> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta> It seems that project.css is not included automatically. What am I doing wrong? I am using xdoc-plugin 1.9, javadoc-plugin 1.7. Daniel -----Ursprüngliche Nachricht----- Von: Brett Porter [mailto:[EMAIL PROTECTED] Gesendet: Montag, 2. Mai 2005 23:58 An: Maven Users List Betreff: Re: relative personal stylesheet location URL needs to be an actual URL, not a relative file. I can't remember if there are other properties for adding stylesheets, but you can use the file xdocs/stylesheets/project.css which is included automatically. Cheers, Brett On 5/2/05, Daniel Frey <[EMAIL PROTECTED]> wrote: > Hello > > I've got the following project structure for my documentation: > > - xdocs + > +- stylesheets + > | +- ups-style.css > +- navigation.xml > +- faq.xml > +- changes.xml > +- project + > +- index.xml > +- features.xml > +- download.xml > > Now I would like to use the stylesheet in the first folder to be > introduced for all generated html pages. Therefore I define the appropriate property: > > maven.xdoc.theme.url = style/ups-style.css > > Whilst the index.html page (generated from navigation.xml) in the root > folder does display the style correctly, those in the project > directory don't. The reference is taken relative and is not corrected > to be one level more up. The default stylesheets however are > referenced correctly. The corresponding source code in the generated html file looks like this: > > <style type="text/css" media="all"> > @import url("./style/maven-base.css"); > @import url("./xdocs/style/ups-style.css"); > </style> > > My question now: How do I have to specify my personal stylesheet in > the property to be referenced correctly? If not possible, what other > way to solve this issue? > > Thanks in advance > Daniel Frey > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]