mirror of https://github.com/apache/maven.git
adding note about general resources
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191221 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1a89a7b751
commit
819c70975c
|
@ -2,6 +2,7 @@
|
|||
Generating a Site
|
||||
------
|
||||
Brett Porter
|
||||
Jason van Zyl
|
||||
------
|
||||
13 May 2005
|
||||
------
|
||||
|
@ -124,18 +125,23 @@ m2 site:site site:deploy
|
|||
|
||||
* 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/
|
||||
+- resources/
|
||||
+- css/
|
||||
| +- site.css
|
||||
|
|
||||
+- images/
|
||||
| +- pic1.jpg
|
||||
|
|
||||
+- 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 <<<pic1.jpg>>> will be available via a relative reference to the
|
||||
<<<resources/images>>> directory from any page in your site.
|
||||
|
|
Loading…
Reference in New Issue