Alexandre Julliard : Remove no longer used documentation scripts.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Mar 18 03:33:26 CDT 2016


Module: tools
Branch: master
Commit: cf493350661fbd366a7e220779982668449c6fc3
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=cf493350661fbd366a7e220779982668449c6fc3

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Mar 17 14:12:27 2016 +0900

Remove no longer used documentation scripts.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 winedoc.css   |  10 ------
 winedocs.cron |  64 ---------------------------------
 winehtml.dsl  |  27 --------------
 wineprint.dsl | 111 ----------------------------------------------------------
 4 files changed, 212 deletions(-)

diff --git a/winedoc.css b/winedoc.css
deleted file mode 100644
index f93abba..0000000
--- a/winedoc.css
+++ /dev/null
@@ -1,10 +0,0 @@
-body { background-color: #FFFFFF; color: #000000; }
-
-a:link { color: #a50d0d; }
-a:visited  { color: #505050; }
-a:active  { color: #a50d0d; }
-
-.screen { background-color: #E0D0D0; padding: 0.5ex; }
-.question { border-top: dashed thin; font-weight: bolder; }
-
-.userinput { font-weight: bold; }
diff --git a/winedocs.cron b/winedocs.cron
deleted file mode 100755
index 472a087..0000000
--- a/winedocs.cron
+++ /dev/null
@@ -1,64 +0,0 @@
-#!/bin/sh
-#
-# This script updates the documentation on the website if necessary.
-# It should be run periodically from cron.
-#
-
-set -e
-umask 002
-
-cd /home/winehq/opt/wine-docs
-git fetch >/dev/null 2>&1
-
-# check if anything has changed
-if [ "$(git rev-parse HEAD)" = "$(git rev-parse origin/master)" ]
-then
-  exit 0  # nothing to do
-fi
-
-rm -f lastbuild.log
-exec >lastbuild.log 2>&1
-
-git reset --hard origin/master
-
-echo "==== BUILDING SGML DOCUMENTATION ===="
-
-books="wineusr-guide winedev-guide winelib-guide"
-langs="en"
-site_base_dir="/home/winehq/opt/website"
-tools_dir="/home/winehq/opt/git-tools"
-git_dir="/home/winehq/opt/source/git"
-guides_base_dir="$site_base_dir/docs"
-winehq_base_dir="$site_base_dir/templates"
-
-for lang in $langs
-do
-  [ -d $guides_base_dir/$lang ] || mkdir $guides_base_dir/$lang
-  [ -d $winehq_base_dir/$lang/docs ] || mkdir $winehq_base_dir/$lang/docs
-  rm -f $guides_base_dir/$lang/winedoc.css && cp $tools_dir/winedoc.css $guides_base_dir/$lang
-
-  cd $lang
-  for book in $books
-  do
-    echo "* $book"
-
-    # build guides as single files
-    docbook2html -u -d $tools_dir/winehtml.dsl $book.sgml
-    docbook2pdf -d $tools_dir/wineprint.dsl $book.sgml
-    docbook2ps -d $tools_dir/wineprint.dsl $book.sgml
-    mv -f $book.html $book.pdf $book.ps $guides_base_dir/$lang
-
-    # build the online html version
-    docbook2html -d $tools_dir/winehtml.dsl -o $book.web $book.sgml
-    [ -d $winehq_base_dir/$lang/docs/$book ] || mkdir $winehq_base_dir/$lang/docs/$book
-    for f in $book.web/*.htm
-    do
-      outfile=`basename $f .htm`.template
-      $tools_dir/html2template -i $f -o $outfile && mv -f $outfile $winehq_base_dir/$lang/docs/$book/$outfile
-    done
-    rm -rf $book.web
-  done
-  cd ..
-done
-
-# end
diff --git a/winehtml.dsl b/winehtml.dsl
deleted file mode 100644
index 5270a99..0000000
--- a/winehtml.dsl
+++ /dev/null
@@ -1,27 +0,0 @@
-<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
-<!ENTITY walsh-style PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA DSSSL>
-<!ENTITY cygnus-style SYSTEM "/usr/lib/sgml/stylesheet/dsssl/docbook/cygnus/cygnus-both.dsl" CDATA DSSSL>
-]>
-
-<style-sheet>
-<style-specification id="html" use="docbook">
-<style-specification-body>
-
-; Use the section id as the filename rather than
-; cryptic filenames like x1547.html
-(define %use-id-as-filename% #t)
-
-; Repeat the section number in each section to make it easier
-; when browsing the doc
-(define %section-autolabel% #t)
-
-; Use CSS to make the look of the documentation customizable
-(define %stylesheet% "winedoc.css")
-(define %stylesheet-type% "text/css")
-
-</style-specification-body>
-</style-specification>
-
-<external-specification id="docbook" document="walsh-style">
-
-</style-sheet>
diff --git a/wineprint.dsl b/wineprint.dsl
deleted file mode 100644
index 7f53b2f..0000000
--- a/wineprint.dsl
+++ /dev/null
@@ -1,111 +0,0 @@
-<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [ 
-<!ENTITY print-ss PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA DSSSL>
-]>
-
-<style-sheet>
-
-<style-specification id="print" use="print-stylesheet">
-<style-specification-body>
-
-;; I was hoping that this would take out the many blank pages in the
-;; PDF file, but it doesn't, it just slides the page numbers over.  
-(define %two-side% #f)
-
-(define %generate-book-titlepage% #t)
-
-;;Titlepage Not Separate
-(define (chunk-skip-first-element-list)
-  (list (normalize "sect1")
-	(normalize "section")))
-
-;;Titlepage Separate?
-;(define (chunk-skip-first-element-list) 
-;  '())
-
-(define (list-element-list)
-  ;; fixes bug in Table of Contents generation
-  '())
-
-(define (toc-depth nd)
-  2)
-
-;; This seems to have no affect
-(define %generate-book-titlepage-on-separate-page% #f)
-
-(define %body-start-indent%
-  ;; Default indent of body text
-  2pi)
-
-(define %para-indent-firstpara%
-  ;; First line start-indent for the first paragraph
-  0pt)
-
-(define %para-indent%
-  ;; First line start-indent for paragraphs (other than the first)
-  0pt)
-
-(define %block-start-indent%
-  ;; Extra start-indent for block-elements
-  2pt)
-
-;;Define distance between paragraphs
-(define %para-sep% 
- (/ %bf-size% 2.0))
-
-;;Define distance between block elements (figures, tables, etc.).
-(define %block-sep% 
- (* %para-sep% 1.0))
-;; (* %para-sep% 2.0))
-
-(define %hyphenation%
-  ;; Allow automatic hyphenation?
-  #t)
-
-(define %left-margin% 5pi)
-(define %right-margin% 5pi)
-(define %top-margin% 5pi)
-(define %bottom-margin% 5pi)
-
-(define %footer-margin% 2pi)
-(define %header-margin% 2pi)
-
-(define %line-spacing-factor% 1.3)
-  ;; Factor used to calculate leading
-  ;; The leading is calculated by multiplying the current font size by the 
-  ;; '%line-spacing-factor%'. For example, if the font size is 10pt and
-  ;; the '%line-spacing-factor%' is 1.1, then the text will be
-  ;; printed "10-on-11".
-
-(define %head-before-factor% 
-  ;; Factor used to calculate space above a title
-  ;; The space before a title is calculated by multiplying the font size
-  ;; used in the title by the '%head-before-factor%'.
-;;  0.75)
-  0.5)
-
-(define %head-after-factor% 
-  ;; Factor used to calculate space below a title
-  ;; The space after a title is calculated by multiplying the font size used
-  ;; in the title by the '%head-after-factor%'.
-  0.5)
-
-(define %input-whitespace-treatment% 'collapse)
-
-(define ($generate-book-lot-list$)
-  ;; Which Lists of Titles should be produced for Books?
-  (list ))
-
-(define tex-backend 
-  ;; Are we using the TeX backend?
-  ;; This parameter exists so that '-V tex-backend' can be used on the
-  ;; command line to explicitly select the TeX backend.
-  #t)
-
-</style-specification-body>
-</style-specification>
-
-<external-specification id="print-stylesheet" document="print-ss">
-
-</style-sheet>
-
-




More information about the wine-cvs mailing list