Game Development Community

DocBook sources for 'General Torque Documentation' ??

by Anders Dahnielson · in Torque Game Engine · 04/26/2004 (10:03 am) · 1 replies

How can I get the DocBook sources, or at least a downloadable local copy, for the 'General Torque Documentation' as found here:

www.garagegames.com/docs/torque/general/

#1
04/26/2004 (12:40 pm)
I finally figured out how to wget the documentation so I can have my own local copy. I've summarised it into the following man page style directions. Create a new directory for the documentation, cd into it and run wget with the following options, but don't forget to substitute the path to your cookie file:

SYNOPSIS

  wget -e robots=off \
       --load-cookies path/to/cookies.txt \
       -R zip \
       -np -nH --cut-dirs=3 \
       -E -k -K \
       http://www.garagegames.com/docs/torque/general/


DESCRIPTION

  -e robots=off

     Ignore the 'robots.txt' that otherwise will stop us from mirroring the
     documentation.

  --load-cookies path/to/cookies.txt

    Path to your browsers 'cookies.txt' file, you need to tweak this. Note that 
    you have to log in using your browser before start mirroring.

  -R zip

    Do not mirror any zip-files. Nice if you're on a modem or slow connection.

  -nH -np --cut-dirs=3 

    Don't create any host directory and do not recurse into any parent directories.
    Cut the first three directories from path, saving the documentation in the 
    current directory.

  -E -k -K

    Force the use of *.html prefix on mirrored copies and convert links to 
    make them suitable for local viewing. But this will also save backups of
    converted files, so wget wont have to download files a second time that's
    allready up to date.

  -m 

     Mirror inf recursively with timestamping, equivalent to '-r -N -l inf -nr'

  http://www.garagegames.com/docs/torque/general/

     Well, the path to the documentation to mirror..