[haiku-doc] Re: Updating the user guide on Haiku's SVN

  • From: Vincent Duvert <vincent.duvert@xxxxxxx>
  • To: haiku-doc@xxxxxxxxxxxxx
  • Date: Sun, 10 Jan 2010 19:09:05 +0100

Hello all, and sorry for the delay,

Le 22 déc. 2009 à 17:52, Niels Reedijk a écrit :

> Hi Vincent,
> I guess you have to work this out with Jorge. The alternative is that
> you let your translation site output a subdirectory with the html
> site, and you write a script that runs on for example your computer,
> or Humdingers, that fetches that dir (using wget) and that performs
> the svn commit.

Well, I eventually decided to do just that ;-)
The translate tool now creates a zip archive of the generated documentation.
To allow Humdinger to easily sync it with the SVN repository, I wrote this Perl 
which automatically updates a local copy of the docs repository.

To use it :
> cd /path/to/haiku/trunk
> svn mkdir docs/images [only needed the first time the script is started]
> perl /path/to/script.pl docs
> svn ci

Let's hope this will re-motivate the translators ;-)


Other related posts: