Skip to content

Commit

Permalink
Added documentation skeleton for <legalnotice> and other documentatio…
Browse files Browse the repository at this point in the history
…n updates.
  • Loading branch information
arsi committed Jan 19, 2011
1 parent 57bccfb commit daaaab9
Show file tree
Hide file tree
Showing 7 changed files with 71 additions and 6 deletions.
2 changes: 1 addition & 1 deletion css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Browserside DocBook to XHTML XSLT/CSS Transformation
*
* Copyright 2010 Arsi Atomi, email arsi at porkkana dot org
* Copyright 2010,2011 Arsi Atomi, email arsi at porkkana dot org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down
4 changes: 3 additions & 1 deletion doc/book_documentation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>db2xhtml Library Documentation</title>
<bookinfo>
<legalnotice>
<para>Copyright 2010 Arsi Atomi</para>
<para>Copyright 2010,2011 Arsi Atomi</para>
<para>Permission is granted to copy, distribute and/or modify this document under the
terms of the GNU Free Documentation License, Version 1.3 or any later version
published by the Free Software Foundation; with no Invariant Sections, no
Expand Down Expand Up @@ -44,6 +44,7 @@
<section>
<title>How to do DocBook document?</title>
<para>You can use any generic text editors or you can use dedicated XML editors.</para>
<para>See <link linkend="element_book">book</link> for example.</para>
<para>This page has good list of validating DocBook editors : <ulink url="http://wiki.docbook.org/topic/DocBookAuthoringTools" /></para>
</section>
<section>
Expand All @@ -70,6 +71,7 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="section_example.xml" />
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="section_footnote.xml" />
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="section_itemizedlist" />
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="section_legalnotice" />
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="section_link" />
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="section_listitem" />
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="section_note.xml" />
Expand Down
5 changes: 3 additions & 2 deletions doc/book_introduction.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<bookinfo>
<legalnotice>
<para>db2xhtml Library, DocBook to XHTML XSLT+CSS Library for Client side rendering</para>
<para>Copyright (C) 2010 Arsi Atomi</para>
<para>Copyright (C) 2010,2011 Arsi Atomi</para>
<para>This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
Expand All @@ -31,7 +31,8 @@
<para>db2xhtml Library is a XSLT+CSS library set for rendering DocBook XML file(s) to XHTML at browser side.</para>
<para>Current target DocBook implementation is version 4.4.</para>
<para>Generated XHTML is version 1.0 Transitional.</para>
<para>Library has been tested with Mozilla Firefox 3.6.12 and Google Chrome 7.0.517.44.</para>
<para>Library has been tested with <application>Mozilla Firefox</application> 3.6.12 and <application>Google Chrome</application> 7.0.517.44.</para>
<para>Library does <emphasis>not</emphasis> work with <application>Internet Explorer</application> (version 8.0.7600.16385).</para>
<warning>
<para>Current DocBook implementation is far from complete.</para>
</warning>
Expand Down
6 changes: 6 additions & 0 deletions doc/section_legalnotice.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../xsl/main.xsl"?>
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
<section id="element_legalnotice">
<title>legalnotice</title>
</section>
1 change: 0 additions & 1 deletion doc/section_warning.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
</itemizedlist>
</warning>]]></programlisting>
</section>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="section_warning_parents.xml" />
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="section_warning_children.xml" />
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="section_warning_seealso.xml" />
</section>
57 changes: 57 additions & 0 deletions doc/section_warning_children.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../xsl/main.xsl"?>
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
<section id="element_warning_children">
<title>Children of warning</title>
<para>These elements can occur in <sgmltag>warning</sgmltag>:
<simplelist type='inline'>
<member><link linkend="element_address">address</link></member>
<member><link linkend="element_anchor">anchor</link></member>
<member><link linkend="element_beginpage">beginpage</link></member>
<member><link linkend="element_bibliolist">bibliolist</link></member>
<member><link linkend="element_blockquote">blockquote</link></member>
<member><link linkend="element_bridgehead">bridgehead</link></member>
<member><link linkend="element_calloutlist">calloutlist</link></member>
<member><link linkend="element_classsynopsis">classsynopsis</link></member>
<member><link linkend="element_cmdsynopsis">cmdsynopsis</link></member>
<member><link linkend="element_constructorsynopsis">constructorsynopsis</link></member>
<member><link linkend="element_destructorsynopsis">destructorsynopsis</link></member>
<member><link linkend="element_equation">equation</link></member>
<member><link linkend="element_example">example</link></member>
<member><link linkend="element_fieldsynopsis">fieldsynopsis</link></member>
<member><link linkend="element_figure">figure</link></member>
<member><link linkend="element_formalpara">formalpara</link></member>
<member><link linkend="element_funcsynopsis">funcsynopsis</link></member>
<member><link linkend="element_glosslist">glosslist</link></member>
<member><link linkend="element_graphic">graphic</link></member>
<member><link linkend="element_graphicco">graphicco</link></member>
<member><link linkend="element_indexterm">indexterm</link></member>
<member><link linkend="element_informalequation">informalequation</link></member>
<member><link linkend="element_informalexample">informalexample</link></member>
<member><link linkend="element_informalfigure">informalfigure</link></member>
<member><link linkend="element_informaltable">informaltable</link></member>
<member><link linkend="element_itemizedlist">itemizedlist</link></member>
<member><link linkend="element_literallayout">literallayout</link></member>
<member><link linkend="element_mediaobject">mediaobject</link></member>
<member><link linkend="element_mediaobjectco">mediaobjectco</link></member>
<member><link linkend="element_methodsynopsis">mediasynopsis</link></member>
<member><link linkend="element_orderedlist">orderedlist</link></member>
<member><link linkend="element_para">para</link></member>
<member><link linkend="element_procedure">procedure</link></member>
<member><link linkend="element_programlisting">programlisting</link></member>
<member><link linkend="element_programlistingco">programlistingco</link></member>
<member><link linkend="element_remark">remark</link></member>
<member><link linkend="element_screen">screen</link></member>
<member><link linkend="element_screenco">screenco</link></member>
<member><link linkend="element_screenshot">screenshot</link></member>
<member><link linkend="element_segmentedlist">segmentedlist</link></member>
<member><link linkend="element_sidebar">sidebar</link></member>
<member><link linkend="element_simpara">simpara</link></member>
<member><link linkend="element_simplelist">simplelist</link></member>
<member><link linkend="element_synopsis">synopsis</link></member>
<member><link linkend="element_table">table</link></member>
<member><link linkend="element_title">title</link></member>
<member><link linkend="element_variablelist">variablelist</link></member>
</simplelist>
</para>
</section>
2 changes: 1 addition & 1 deletion xsl/main.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* Browserside DocBook to XHTML XSLT/CSS Transformation
*
* Copyright 2010 Arsi Atomi, email arsi at porkkana dot org
* Copyright 2010,2011 Arsi Atomi, email arsi at porkkana dot org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down

0 comments on commit daaaab9

Please sign in to comment.