Add some more procedure notes.
git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226108 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
50a54c0a9f
commit
243cd8d1d5
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
|
<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "document-v12.dtd">
|
||||||
<document>
|
<document>
|
||||||
<header>
|
<header>
|
||||||
<title>How to produce xml-commons website with Forrest</title>
|
<title>How to produce xml-commons website with Forrest</title>
|
||||||
@ -8,24 +8,24 @@
|
|||||||
</authors>
|
</authors>
|
||||||
</header>
|
</header>
|
||||||
<body>
|
<body>
|
||||||
<section>
|
<section id="overview">
|
||||||
<title>Overview</title>
|
<title>Overview</title>
|
||||||
<p>
|
<p>
|
||||||
This is the procedure that i followed to build the initial xml-commons
|
This is the procedure for building the initial xml-commons website
|
||||||
website with Forrest.
|
with Forrest.
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section id="install">
|
||||||
<title>Install Forrest on localhost</title>
|
<title>Install Forrest on localhost</title>
|
||||||
<p>
|
<p>
|
||||||
Followed the document:
|
Follow the document:
|
||||||
<link href="http://xml.apache.org/forrest/your-project.html">Using
|
<link href="site:forrest/your-project">Using
|
||||||
Forrest</link>
|
Forrest</link>
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section id="seed">
|
||||||
<title>Seed the new website</title>
|
<title>Seed the new website</title>
|
||||||
<p>
|
<p>
|
||||||
This only needed to be done to start and it is done now and committed
|
This only needed to be done to start and it is done now and committed
|
||||||
@ -38,15 +38,16 @@ vi src/documentation/skinconf.xml
|
|||||||
]]></source>
|
]]></source>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section id="content">
|
||||||
<title>Edit the content</title>
|
<title>Edit the content</title>
|
||||||
<source><![CDATA[
|
<source><![CDATA[
|
||||||
vi src/documentation/content/xdocs/*.xml
|
vi src/documentation/content/xdocs/*.xml
|
||||||
(DC already copied content from README.html and split it.)
|
(DC already copied content from README.html and split it.)
|
||||||
]]></source>
|
]]></source>
|
||||||
|
<p>The xdocs source are now ready for anyone to enhance the content.</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section id="build">
|
||||||
<title>Build it and view it</title>
|
<title>Build it and view it</title>
|
||||||
<source><![CDATA[
|
<source><![CDATA[
|
||||||
cd /usr/local/cvs/xml-commons
|
cd /usr/local/cvs/xml-commons
|
||||||
@ -54,14 +55,33 @@ ant
|
|||||||
... this will build everything (website docs, javadocs, distribution)
|
... this will build everything (website docs, javadocs, distribution)
|
||||||
mozilla file:///usr/local/cvs/xml-commons/build/site/index.html
|
mozilla file:///usr/local/cvs/xml-commons/build/site/index.html
|
||||||
]]></source>
|
]]></source>
|
||||||
|
<p>For better turnaround when developing docs, you can do
|
||||||
|
<code>'forrest'</code> which just validates and builds the docs.
|
||||||
|
If you want to only validate the xdocs then do
|
||||||
|
<code>'forrest validate-xdocs'</code>. You can get even faster
|
||||||
|
turnaround with the targets <code>'forrest run'</code> and
|
||||||
|
<code>'forrest backcopy'</code> (beware with that) to run a
|
||||||
|
live forrest webapp.
|
||||||
|
Do <code>'forrest -projecthelp'</code> for more tips. Anyway, see the
|
||||||
|
<link href="site:forrest/your-project">Using Forrest</link>
|
||||||
|
document.
|
||||||
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section id="xml-site">
|
||||||
|
<title>Updating the website</title>
|
||||||
|
<p>Copy everything in <code>./build/site</code> over to the xml-site
|
||||||
|
repository at <code>xml-site/targets/commons</code> and commit.
|
||||||
|
</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section id="other">
|
||||||
<title>Other notes</title>
|
<title>Other notes</title>
|
||||||
<p>
|
<p>
|
||||||
A project sitemap has been added at
|
A project sitemap has been added at
|
||||||
<code>src/documentation/sitemap.xmap</code> of which we only use a small
|
<code>src/documentation/sitemap.xmap</code> of which we only use a small
|
||||||
portion. This portion has been marked with comments.
|
portion. This portion has been marked with comments to enable easier sync
|
||||||
|
with Forrest releases.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@ -70,7 +90,7 @@ If that is different on your system, then tweak the sitemap.xmap to suit.
|
|||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section id="todo">
|
||||||
<title>Still to do</title>
|
<title>Still to do</title>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Ask the '<code>forrestbot</code>' to build the xml-commons site.
|
<li>Ask the '<code>forrestbot</code>' to build the xml-commons site.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user