You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by jv...@apache.org on 2005/06/18 00:34:12 UTC

svn commit: r191221 - /maven/components/trunk/maven-site/src/site/apt/site.apt

Author: jvanzyl
Date: Fri Jun 17 15:34:09 2005
New Revision: 191221

URL: http://svn.apache.org/viewcvs?rev=191221&view=rev
Log:
adding note about general resources

Modified:
    maven/components/trunk/maven-site/src/site/apt/site.apt

Modified: maven/components/trunk/maven-site/src/site/apt/site.apt
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-site/src/site/apt/site.apt?rev=191221&r1=191220&r2=191221&view=diff
==============================================================================
--- maven/components/trunk/maven-site/src/site/apt/site.apt (original)
+++ maven/components/trunk/maven-site/src/site/apt/site.apt Fri Jun 17 15:34:09 2005
@@ -2,6 +2,7 @@
  Generating a Site
  ------
  Brett Porter
+ Jason van Zyl
  ------
  13 May 2005
  ------
@@ -124,18 +125,23 @@
 
 * Adding Additional Resources
 
-  You can also add images and CSS to your site, by creating the following directories in your site sources:
+ You can add any arbitrary resources to you site by including them in a
+ <<<resources>>> directory as shown below. Addition CSS will be picked up
+ when they are placed in the <<<css>>> directory within the <<<resources>>>
+ directory.
 
 -------------------
 +- src/
    +- site/
-      +- css/
-      |  +- site.css
-      |
-      +- images/
-      |  +- pic1.jpg
-      |
+      +- resources/
+         +- css/
+         |  +- site.css
+         |
+         +- images/
+            +- pic1.jpg
 --------------------
 
-  The file <<<site.css>>> will be added to the default XHTML output, so can be used to adjust the default Maven stylesheets if desired.
+ The file <<<site.css>>> will be added to the default XHTML output, so can be used to adjust the default Maven stylesheets if desired.
 
+ The file <<<pic1.jpg>>> will be available via a relative reference to the
+ <<<resources/images>>> directory from any page in your site.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org