Просмотр исходного кода

* HTML documentation now has sane filenames.

Morten Brix Pedersen 22 лет назад
Родитель
Сommit
9dd94aca6d
3 измененных файлов с 15 добавлено и 7 удалено
  1. 1 0
      docs/Changelog
  2. 3 4
      docs/Makefile
  3. 11 3
      docs/pisg-doc.xml

+ 1 - 0
docs/Changelog

@@ -1,6 +1,7 @@
 pisg (x.xx)
    * Added new option, ShowFoulDecimals which configures the number of
    decimals used in statistics in foul numbers. (thanks, Thorbjörn Svensson)
+   * HTML documentation now has sane filenames.
 
 pisg (0.57) - Sat Aug, 28th 2004
    Changes by Christoph Berg:

+ 3 - 4
docs/Makefile

@@ -1,9 +1,8 @@
-DOCBOOK_UTILS=/usr/share/docbook-utils
-
 all:
-	jade -i html -t sgml -V nochunks -d $(DOCBOOK_UTILS)/docbook-utils.dsl\#html pisg-doc.sgml | w3m -dump -T text/html > pisg-tmp.txt
+	docbook2txt pisg-doc.xml
+	mv pisg-doc.txt pisg-tmp.txt
 	cat pisg-tmp.txt | ./modifytxt.pl > pisg-doc.txt
-	docbook2html pisg-doc.sgml -o html
+	docbook2html pisg-doc.xml -V "%use-id-as-filename%" -o html
 
 clean:
 	rm -rf html

+ 11 - 3
docs/pisg-doc.sgml → docs/pisg-doc.xml

@@ -1,5 +1,7 @@
 <!-- This is the raw docbook source of the pisg documentation -->
-<!DOCTYPE Book PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
+<?xml version='1.0'?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
 
 <book id="pisg-documentation">
   <bookinfo>
@@ -75,6 +77,8 @@
        </para>
       </listitem>
     </itemizedlist>
+    </para>
+    </sect1>
   </chapter>
   <chapter id="setting-up-pisg">
    <title>Setting up pisg for the first time</title>
@@ -203,7 +207,7 @@
      </programlisting>
 
      Any global option will override anything defined within channel
-     elements (see <xref linkend="setting-up-a-channel">)
+     elements (see <xref linkend="setting-up-a-channel" />)
      </para>
 
      <para>
@@ -224,6 +228,7 @@
      German) and set the timeoffset to +1.
 
      All options available are mentioned in the reference documentation.
+    </para>
    </sect1>
    <sect1 id="ignoring-links">
     <title>Ignoring links</title>
@@ -2061,7 +2066,7 @@
     </refsect1>
     <refsect1>
     <title>Default</title>
-    <para> ass fuck bitch shit scheisse scheiße kacke arsch ficker ficken schlampe </para>
+    <para> ass fuck bitch shit scheisse kacke arsch ficker ficken schlampe </para>
     </refsect1>
     </refentry>
 
@@ -2658,6 +2663,7 @@
     </refsect1>
     </refentry>
 
+  </chapter>
   <chapter id="reference-pictures">
    <title>Picture options</title>
 
@@ -2688,6 +2694,7 @@
     <title>Default</title>
     <para> Current directory </para>
     </refsect1>
+    </refentry>
 
     <!-- *** USERPICS *** -->
     <refentry id="UserPics">
@@ -3200,6 +3207,7 @@
     <title>Default</title>
     <para> Logfile </para>
     </refsect1>
+    </refentry>
 </chapter>
 
 </book>