Re: [m2] site generation - Custom file with left right and top banners.

2007-08-03 Thread Arnaud Bailly
Vijay Venkataraman <[EMAIL PROTECTED]> writes:

> Found this link too, can be useful too:
> http://coderoshi.blogspot.com/2007/02/generating-site-and-documentation-in.html
>

Great link, thank you. I have added it to my references. Glad you
found my musing useful :-)

regards,
-- 
OQube < software engineering \ génie logiciel >
Arnaud Bailly, Dr.
\web> http://www.oqube.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] site generation - Custom file with left right and top banners.

2007-08-03 Thread Vijay Venkataraman

Hi Arnaud,
Thanks for letting me know that it works similar to the way it works in 
Maven1. That did the trick.


Thanks for the link http://www.oqube.com/projects/oqube-skin/index.html. 
Informative and i am sure it is going to come handy after some time.

Found this link too, can be useful too:
http://coderoshi.blogspot.com/2007/02/generating-site-and-documentation-in.html 


Vijay Venkataraman

Arnaud Bailly wrote:

Vijay Venkataraman <[EMAIL PROTECTED]> writes:

  

Hi,



Hi Vijay, 
  

Problem

When i click on the user guide / developer guide link, they open in
the same window replacing the existing one. I want them to open in the
right hand side, just as it happens for other standard reports,
showing the top banner,showing links in the left side. Is there a
specific format or extra setting that i have to do?




Maven copy html files (and whatever is located in src/site/resources)
verbatim (or maybe filtered ?) to your site's target dir. So your HTML
files do not get "decorated" with the site' skin, which is the
artifact that defines how the site is laid out.

To have your documentation "correctly" formatted, if you already have
HTML sources, you could use XDOC format which is nearly equivalent to
HTML: just remove html/head tags and replace with document
(http://maven.apache.org/maven-1.x/using/site.html). You then need to
put your documents in xdoc format into a src/site/xdoc directory, give
them xml extension and it should be ok. 


Here is a short tutorial I wrote on creating custom skins, there are
other ones out there:

http://www.oqube.com/projects/oqube-skin/index.html


HTH
  




Re: [m2] site generation - Custom file with left right and top banners.

2007-08-02 Thread Arnaud Bailly
Vijay Venkataraman <[EMAIL PROTECTED]> writes:

> Hi,

Hi Vijay, 
>
> Problem
> 
> When i click on the user guide / developer guide link, they open in
> the same window replacing the existing one. I want them to open in the
> right hand side, just as it happens for other standard reports,
> showing the top banner,showing links in the left side. Is there a
> specific format or extra setting that i have to do?
>

Maven copy html files (and whatever is located in src/site/resources)
verbatim (or maybe filtered ?) to your site's target dir. So your HTML
files do not get "decorated" with the site' skin, which is the
artifact that defines how the site is laid out.

To have your documentation "correctly" formatted, if you already have
HTML sources, you could use XDOC format which is nearly equivalent to
HTML: just remove html/head tags and replace with document
(http://maven.apache.org/maven-1.x/using/site.html). You then need to
put your documents in xdoc format into a src/site/xdoc directory, give
them xml extension and it should be ok. 

Here is a short tutorial I wrote on creating custom skins, there are
other ones out there:

http://www.oqube.com/projects/oqube-skin/index.html


HTH
-- 
OQube < software engineering \ génie logiciel >
Arnaud Bailly, Dr.
\web> http://www.oqube.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]