You are viewing a plain text version of this content. The canonical link for it is here.
Posted to doxia-commits@maven.apache.org by vs...@apache.org on 2009/01/28 14:06:15 UTC

svn commit: r738473 - in /maven/doxia/doxia/trunk: doxia-book/src/site/apt/using-book-xsd.apt doxia-book/src/site/site.xml doxia-core/src/site/apt/ doxia-core/src/site/apt/using-document-xsd.apt doxia-core/src/site/site.xml

Author: vsiveton
Date: Wed Jan 28 13:06:14 2009
New Revision: 738473

URL: http://svn.apache.org/viewvc?rev=738473&view=rev
Log:
o improved documentation

Added:
    maven/doxia/doxia/trunk/doxia-book/src/site/apt/using-book-xsd.apt   (with props)
    maven/doxia/doxia/trunk/doxia-core/src/site/apt/
    maven/doxia/doxia/trunk/doxia-core/src/site/apt/using-document-xsd.apt   (with props)
Modified:
    maven/doxia/doxia/trunk/doxia-book/src/site/site.xml
    maven/doxia/doxia/trunk/doxia-core/src/site/site.xml

Added: maven/doxia/doxia/trunk/doxia-book/src/site/apt/using-book-xsd.apt
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-book/src/site/apt/using-book-xsd.apt?rev=738473&view=auto
==============================================================================
--- maven/doxia/doxia/trunk/doxia-book/src/site/apt/using-book-xsd.apt (added)
+++ maven/doxia/doxia/trunk/doxia-book/src/site/apt/using-book-xsd.apt Wed Jan 28 13:06:14 2009
@@ -0,0 +1,41 @@
+ -----
+ Using Schema Book 1.0
+ -----
+ Vincent Siveton
+ ------
+ 2009-01-28
+ ------
+
+~~ Licensed to the Apache Software Foundation (ASF) under one
+~~ or more contributor license agreements.  See the NOTICE file
+~~ distributed with this work for additional information
+~~ regarding copyright ownership.  The ASF licenses this file
+~~ to you under the Apache License, Version 2.0 (the
+~~ "License"); you may not use this file except in compliance
+~~ with the License.  You may obtain a copy of the License at
+~~
+~~   http://www.apache.org/licenses/LICENSE-2.0
+~~
+~~ Unless required by applicable law or agreed to in writing,
+~~ software distributed under the License is distributed on an
+~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+~~ KIND, either express or implied.  See the License for the
+~~ specific language governing permissions and limitations
+~~ under the License.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/doxia/references/apt-format.html
+
+Using Schema Book 1.0
+
+  The Decoration XSD is located {{{http://maven.apache.org/xsd/book-1.0.0.xsd}here}}.
+
+  Your favorite IDE probably supports XSD schema's for .xml files. You need to specify the following:
+
++-----+
+<book xmlns="http://maven.apache.org/BOOK/1.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/BOOK/1.0.0 http://maven.apache.org/xsd/book-1.0.0.xsd">
+...
+</book>
++-----+

Propchange: maven/doxia/doxia/trunk/doxia-book/src/site/apt/using-book-xsd.apt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/doxia/doxia/trunk/doxia-book/src/site/apt/using-book-xsd.apt
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Modified: maven/doxia/doxia/trunk/doxia-book/src/site/site.xml
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-book/src/site/site.xml?rev=738473&r1=738472&r2=738473&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-book/src/site/site.xml (original)
+++ maven/doxia/doxia/trunk/doxia-book/src/site/site.xml Wed Jan 28 13:06:14 2009
@@ -21,7 +21,9 @@
  */
  -->
 
-<project>
+<project xmlns="http://maven.apache.org/DECORATION/1.0.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 file:../../../../doxia-sitetools/doxia-decoration-model/target/generated-site/xsd/decoration-1.0.0.xsd">
 
   <body>
 
@@ -30,10 +32,14 @@
     <menu name="About Doxia :: Book Components">
       <item name="Introduction" href="index.html"/>
       <item name="Usage" href="usage.html"/>
-      <item name="Book descriptor" href="book.html"/>
       <!--<item name="FAQ" href="faq.html"/>-->
     </menu>
 
+    <menu name="Schema Book 1.0">
+      <item name="Reference of Schema Book" href="book.html"/>
+      <item name="Using Schema Book" href="using-book-xsd.html"/>
+    </menu>
+
     <menu ref="reports"/>
 
   </body>

Added: maven/doxia/doxia/trunk/doxia-core/src/site/apt/using-document-xsd.apt
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/site/apt/using-document-xsd.apt?rev=738473&view=auto
==============================================================================
--- maven/doxia/doxia/trunk/doxia-core/src/site/apt/using-document-xsd.apt (added)
+++ maven/doxia/doxia/trunk/doxia-core/src/site/apt/using-document-xsd.apt Wed Jan 28 13:06:14 2009
@@ -0,0 +1,42 @@
+ -----
+ Using Schema Document 1.0
+ -----
+ Vincent Siveton
+ ------
+ 2009-01-28
+ ------
+
+~~ Licensed to the Apache Software Foundation (ASF) under one
+~~ or more contributor license agreements.  See the NOTICE file
+~~ distributed with this work for additional information
+~~ regarding copyright ownership.  The ASF licenses this file
+~~ to you under the Apache License, Version 2.0 (the
+~~ "License"); you may not use this file except in compliance
+~~ with the License.  You may obtain a copy of the License at
+~~
+~~   http://www.apache.org/licenses/LICENSE-2.0
+~~
+~~ Unless required by applicable law or agreed to in writing,
+~~ software distributed under the License is distributed on an
+~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+~~ KIND, either express or implied.  See the License for the
+~~ specific language governing permissions and limitations
+~~ under the License.
+
+~~ NOTE: For help with the syntax of this file, see:
+~~ http://maven.apache.org/doxia/references/apt-format.html
+
+Using Schema Document 1.0
+
+  The Decoration XSD is located {{{http://maven.apache.org/xsd/document-1.0.0.xsd}here}}.
+
+  Your favorite IDE probably supports XSD schema's for .xml files. You need to specify the following:
+
++-----+
+<document xmlns="http://maven.apache.org/DOCUMENT/1.0.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/DOCUMENT/1.0.0 http://maven.apache.org/xsd/document-1.0.0.xsd"
+  outputName="...">
+...
+</document>
++-----+

Propchange: maven/doxia/doxia/trunk/doxia-core/src/site/apt/using-document-xsd.apt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/doxia/doxia/trunk/doxia-core/src/site/apt/using-document-xsd.apt
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Modified: maven/doxia/doxia/trunk/doxia-core/src/site/site.xml
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/site/site.xml?rev=738473&r1=738472&r2=738473&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-core/src/site/site.xml (original)
+++ maven/doxia/doxia/trunk/doxia-core/src/site/site.xml Wed Jan 28 13:06:14 2009
@@ -21,12 +21,19 @@
  */
  -->
 
-<project>
+<project xmlns="http://maven.apache.org/DECORATION/1.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 ../../../../doxia-sitetools/doxia-decoration-model/target/generated-site/xsd/decoration-1.0.0.xsd">
 
   <body>
 
     <menu ref="parent"/>
 
+    <menu name="Schema Document 1.0">
+      <item name="Reference of Schema Document" href="document.html"/>
+      <item name="Using Schema Document" href="using-document-xsd.html"/>
+    </menu>
+
     <menu ref="reports"/>
 
   </body>