You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Vidhya <vi...@siptech.co.in> on 2003/04/25 11:13:04 UTC
Stylesheet issue
Hi,
I want to include my own .css file while generating the site .
My directory structure is like
-project.properties
-project.xml
----src
I specified the .css file in project.properties as mentioned in the user
guide (maven.javadoc.stylesheet=mine.css)
but it does seem to work .
so where do I put my .css file to override maven.css.
vidhya.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Stylesheet issue
Posted by Vidhya <vi...@siptech.co.in>.
I already tried by putting project.css under style/
but I didnt get these lines
ben > If you create a <code>style/project.css</code> stylesheet under
<code>maven.docs.src</code>,
Should I include these in my project.properties .
vidhya
Ben Walding wrote:
> Put the file as project.css into
> /xdocs/style/project.css
>
> If you create a <code>style/project.css</code> stylesheet under
> <code>maven.docs.src</code>,
> it will be copied to the resulting document tree and imported into
> each page (via
> <code>@import</code>. This allows you to easily add and modify
> the styles that are provided by Maven.
>
>
> Vidhya wrote:
>
> >The 'generated-xdoc' folder has all .xml files.
> >maven has created 2 folders /docs and /generated-xdocs after executing
> >maven-Dpackage=mypackage genapp .
> >maven.css is in docs/style/
> >I tried moving my .css to docs/style .
> >but it still doesnt seem to work .The html header has only maven.css
> >so where my .css has to be put.
> >Vidhya
> >
> >Ben Walding wrote:
> >
> >
> >
> >>Your css file should be in /xdocs
> >>
> >>If it isn't it won't be copied to the output directory and hence will
> >>appear not to work
> >>
> >>Also check the generated html to see if the stylesheet is being added to
> >>the header
> >>
> >>Vidhya wrote:
> >>
> >>
> >>
> >>>Hi,
> >>>I want to include my own .css file while generating the site .
> >>>My directory structure is like
> >>>-project.properties
> >>>-project.xml
> >>> ----src
> >>>
> >>>I specified the .css file in project.properties as mentioned in the user
> >>>guide (maven.javadoc.stylesheet=mine.css)
> >>>but it does seem to work .
> >>>so where do I put my .css file to override maven.css.
> >>>vidhya.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> >>>For additional commands, e-mail: dev-help@maven.apache.org
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> >>For additional commands, e-mail: dev-help@maven.apache.org
> >>
> >>
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> >For additional commands, e-mail: dev-help@maven.apache.org
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Stylesheet issue
Posted by Ben Walding <de...@walding.com>.
Put the file as project.css into
/xdocs/style/project.css
If you create a <code>style/project.css</code> stylesheet under
<code>maven.docs.src</code>,
it will be copied to the resulting document tree and imported into
each page (via
<code>@import</code>. This allows you to easily add and modify
the styles that are provided by Maven.
Vidhya wrote:
>The 'generated-xdoc' folder has all .xml files.
>maven has created 2 folders /docs and /generated-xdocs after executing
>maven-Dpackage=mypackage genapp .
>maven.css is in docs/style/
>I tried moving my .css to docs/style .
>but it still doesnt seem to work .The html header has only maven.css
>so where my .css has to be put.
>Vidhya
>
>Ben Walding wrote:
>
>
>
>>Your css file should be in /xdocs
>>
>>If it isn't it won't be copied to the output directory and hence will
>>appear not to work
>>
>>Also check the generated html to see if the stylesheet is being added to
>>the header
>>
>>Vidhya wrote:
>>
>>
>>
>>>Hi,
>>>I want to include my own .css file while generating the site .
>>>My directory structure is like
>>>-project.properties
>>>-project.xml
>>> ----src
>>>
>>>I specified the .css file in project.properties as mentioned in the user
>>>guide (maven.javadoc.stylesheet=mine.css)
>>>but it does seem to work .
>>>so where do I put my .css file to override maven.css.
>>>vidhya.
>>>
>>>
>>>
>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>>For additional commands, e-mail: dev-help@maven.apache.org
>>>
>>>
>>>
>>>
>>>
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>For additional commands, e-mail: dev-help@maven.apache.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Stylesheet issue
Posted by Vidhya <vi...@siptech.co.in>.
The 'generated-xdoc' folder has all .xml files.
maven has created 2 folders /docs and /generated-xdocs after executing
maven-Dpackage=mypackage genapp .
maven.css is in docs/style/
I tried moving my .css to docs/style .
but it still doesnt seem to work .The html header has only maven.css
so where my .css has to be put.
Vidhya
Ben Walding wrote:
> Your css file should be in /xdocs
>
> If it isn't it won't be copied to the output directory and hence will
> appear not to work
>
> Also check the generated html to see if the stylesheet is being added to
> the header
>
> Vidhya wrote:
>
> >Hi,
> >I want to include my own .css file while generating the site .
> >My directory structure is like
> >-project.properties
> >-project.xml
> > ----src
> >
> >I specified the .css file in project.properties as mentioned in the user
> >guide (maven.javadoc.stylesheet=mine.css)
> >but it does seem to work .
> >so where do I put my .css file to override maven.css.
> >vidhya.
> >
> >
> >
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> >For additional commands, e-mail: dev-help@maven.apache.org
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Stylesheet issue
Posted by Ben Walding <de...@walding.com>.
Your css file should be in /xdocs
If it isn't it won't be copied to the output directory and hence will
appear not to work
Also check the generated html to see if the stylesheet is being added to
the header
Vidhya wrote:
>Hi,
>I want to include my own .css file while generating the site .
>My directory structure is like
>-project.properties
>-project.xml
> ----src
>
>I specified the .css file in project.properties as mentioned in the user
>guide (maven.javadoc.stylesheet=mine.css)
>but it does seem to work .
>so where do I put my .css file to override maven.css.
>vidhya.
>
>
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>For additional commands, e-mail: dev-help@maven.apache.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org