<li>Transactions and exceptions
<li>Build system
<li>Documentation system
+ <li>Companion libraries for charset conversion, loading of images, and XML parsing
<li>… and many more
</ul>
</div>
<div class="section" id="docs"><h2>Documentation</h2>
<p>
- You can browse <a href='doc/'>LibUCW documentation</a> online.
+ You can browse <a href='doc/ucw/'>LibUCW documentation</a> online.
</div>
<div class="section" id="download"><h2>Download</h2>
<p>
my $tdir = $r->{"TESTDIR"};
if (defined $tdir) {
print "Generating documentation\n";
- `cd $tdir && make install-libucw-docs INSTALL_DOC_DIR=../doc`;
+ `cd $tdir && make docs`;
die if $?;
print "Upload of documentation\n";
$r->Confirm;
- system qw(rsync -avz --delete maint/tmp/doc/ucw/ jw:/var/www/libucw/doc/);
+ `cd $tdir && maint/upload-doc`;
die if $@;
} else {
print "WARNING: With --notest, no documentation is published!\n";
#!/bin/bash
# Build and upload LibUCW documentation and web pages
-# (c) 2012 Martin Mares <mj@ucw.cz>
+# (c) 2012--2015 Martin Mares <mj@ucw.cz>
set -e
-make docs
-rsync -avz --delete obj/ucw/doc/ jw:/var/www/libucw/doc/ --exclude=*.deflist --exclude=*.txt
+rm -rf maint/tmp/doc
+mkdir -p maint/tmp/doc
+make install-libucw-docs install-libucw-xml-docs PREFIX=. INSTALL_DOC_DIR=maint/tmp/doc
+rsync -avz --delete maint/tmp/doc/ jw:/var/www/libucw/doc/
rsync -avz --no-times --no-perms --executability --omit-dir-times WWW/ jw:/var/www/libucw/ --exclude=doc --exclude='*.swp'