directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <fel...@apache.org>
Subject Re: Corporate Layout for Studio documentation?
Date Fri, 03 Oct 2008 07:34:04 GMT
Pierre-Arnaud Marcelot schrieb:
>
> I'm curious to know how you integrate it in the build. Any hints on that ?

That's easy.
- Checkout and install locally the studio-skin from my sandbox.
- Apply patch below and run mvn site-deploy -Pintegration-tests and you
get the page generated in /tmp/projects/studio (on a linux machine and
being able to do 'ssh localhost')

HTH
Felix


Index: src/site/site.xml
===================================================================
--- src/site/site.xml   (Revision 701205)
+++ src/site/site.xml   (Arbeitskopie)
@@ -19,13 +19,14 @@
   @author <a href="mailto:dev@directory.apache.org">Apache Directory
Project</a>
 -->
 <project name="${project.name}">
-  <bannerLeft>
-    <src>images/studio-icon_128x128.png</src>
-    <href>http://directory.apache.org/studio/</href>
-    <name>${project.name}</name>
-  </bannerLeft>
-  <publishDate position="navigation-bottom" format="dd-MM-yyyy HH:mm"/>
-  <version position="right"/>
+
+  <skin>
+    <groupId>org.apache.directory.skins</groupId>
+    <artifactId>studio-skin</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+  </skin>
+  <publishDate position="bottom" format="dd-MM-yyyy HH:mm"/>
+  <version position="bottom"/>
   <body>
     <breadcrumbs>
       <item name="Apache Directory Studio"
href="http://vm094.oxylos.org/projects/studio/" />
@@ -40,7 +41,6 @@
        <item name="Apache Directory Studio"
href="http://directory.apache%2eorg/studio/"/>
        <item name="Apache Directory"
href="http://directory.apache%2eorg/"/>
        <item name="Apache" href="http://www.apache%2eorg/"/>
-       <item name="Maven" href="http://maven.apache%2eorg/"/>
     </links>
     <menu ref="reports"/>
     <menu ref="modules"/>
Index: pom.xml
===================================================================
--- pom.xml     (Revision 701205)
+++ pom.xml     (Arbeitskopie)
@@ -52,7 +52,7 @@
   <distributionManagement>
     <site>
       <id>apache.directory.studio</id>
-      <url>scpexe://vm094.oxylos.org/var/www/html/projects/studio/</url>
+      <url>scpexe://localhost/tmp/projects/studio/</url>
     </site>
   </distributionManagement>


Mime
View raw message