mirror of https://github.com/apache/lucene.git
removing old site building tasks and libraries
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@479470 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7347e0b0a3
commit
10e1320dab
23
site/README
23
site/README
|
@ -1,23 +0,0 @@
|
|||
Building the website:
|
||||
---------------------
|
||||
|
||||
All you need to do is cd into this directory and type:
|
||||
|
||||
ant
|
||||
|
||||
Modifying the website:
|
||||
----------------------
|
||||
|
||||
To modify the website, all you need to do is edit the files in the xdocs
|
||||
directory and then rebuild the website. The format of the files is fairly
|
||||
straightforward. You should only add XHTML tags because the .xml files
|
||||
need to be parsed by an XML parser.
|
||||
|
||||
Changing the look and feel of the entire website is easy. Just modify the
|
||||
site.vsl file located in the xdocs/stylesheets directory and rebuild.
|
||||
|
||||
If you would like to add links to the left side navigation, simply edit
|
||||
the project.xml file in the xdocs/stylesheets directory and rebuild.
|
||||
|
||||
Place your images in the xdocs/images directory. When you rebuild, the
|
||||
modified images will be copied over to the docs/images directory.
|
|
@ -1,56 +0,0 @@
|
|||
<project name="site" default="docs" basedir=".">
|
||||
|
||||
<!-- Initialization properties -->
|
||||
<property name="project.name" value="lucene-site"/>
|
||||
<property name="docs.src" value="../xdocs"/>
|
||||
<property name="docs.dest" value="../docs"/>
|
||||
|
||||
<path id="classpath">
|
||||
<fileset dir="./lib">
|
||||
<include name="**/*.jar"/>
|
||||
</fileset>
|
||||
</path>
|
||||
|
||||
<target name="prepare">
|
||||
<available classname="org.apache.velocity.anakia.AnakiaTask"
|
||||
property="AnakiaTask.present">
|
||||
<classpath refid="classpath"/>
|
||||
</available>
|
||||
</target>
|
||||
|
||||
<target depends="prepare" name="prepare-error" unless="AnakiaTask.present">
|
||||
<echo>
|
||||
AnakiaTask is not present! Please check to make sure that
|
||||
velocity.jar is in your classpath.
|
||||
</echo>
|
||||
</target>
|
||||
|
||||
<target name="docs" depends="prepare-error" if="AnakiaTask.present">
|
||||
<taskdef name="anakia" classname="org.apache.velocity.anakia.AnakiaTask">
|
||||
<classpath refid="classpath"/>
|
||||
</taskdef>
|
||||
<anakia basedir="${docs.src}" destdir="${docs.dest}/"
|
||||
extension=".html" style="./site.vsl"
|
||||
projectFile="stylesheets/project.xml"
|
||||
excludes="**/stylesheets/** empty.xml **/test/flood/*"
|
||||
includes="**/*.xml"
|
||||
lastModifiedCheck="true"
|
||||
templatePath="${docs.src}/stylesheets"
|
||||
>
|
||||
</anakia>
|
||||
|
||||
<copy todir="../docs/images" filtering="no">
|
||||
<fileset dir="../xdocs/images">
|
||||
<include name="**/*.gif"/>
|
||||
<include name="**/*.jpeg"/>
|
||||
<include name="**/*.jpg"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
<copy todir="../docs/styles" filtering="no">
|
||||
<fileset dir="../xdocs/styles">
|
||||
<include name="**/*.css"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
</project>
|
|
@ -1,2 +0,0 @@
|
|||
AnyObjectId[6be1f2de7126b91b14a11a4b00326859a85e5981] was removed in git history.
|
||||
Apache SVN contains full history.
|
|
@ -1,2 +0,0 @@
|
|||
AnyObjectId[db6fcb66bf6dea465ee6b42529b0fefbb502a3cc] was removed in git history.
|
||||
Apache SVN contains full history.
|
Loading…
Reference in New Issue