2015-11-22 23:44:01 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!DOCTYPE doc SYSTEM "manifest.dtd">
|
|
|
|
<doc>
|
|
|
|
<!-- System-wide variables -->
|
|
|
|
<variable-list>
|
|
|
|
<variable key="project">pgBackRest</variable>
|
2016-11-07 17:06:35 +02:00
|
|
|
<variable key="project-tagline">Reliable PostgreSQL Backup & Restore</variable>
|
2016-06-27 02:53:45 +02:00
|
|
|
<variable key="version" eval="y">use pgBackRest::Version; BACKREST_VERSION</variable>
|
2016-06-02 15:32:56 +02:00
|
|
|
<variable key="version-stable" eval="y">
|
|
|
|
use BackRestDoc::Custom::DocCustomRelease;
|
|
|
|
|
|
|
|
(new BackRestDoc::Custom::DocCustomRelease(
|
|
|
|
new BackRestDoc::Common::Doc("{[doc-path]}/xml/release.xml")))->currentStableVersion();
|
|
|
|
</variable>
|
2016-04-14 15:30:54 +02:00
|
|
|
<variable key="project-exe">pgbackrest</variable>
|
2015-11-22 23:44:01 +02:00
|
|
|
<variable key="project-url-root">/</variable>
|
|
|
|
<variable key="postgres">PostgreSQL</variable>
|
|
|
|
<variable key="dash">-</variable>
|
2016-05-16 23:01:48 +02:00
|
|
|
<variable key="project-logo">logo.png</variable>
|
|
|
|
<variable key="project-favicon">favicon.png</variable>
|
2015-11-22 23:44:01 +02:00
|
|
|
|
2016-06-28 02:37:25 +02:00
|
|
|
<!-- Release date - static allows for reproducible builds -->
|
|
|
|
<variable key="release-date-static">n</variable>
|
2016-07-26 23:40:42 +02:00
|
|
|
<variable key="release-date" eval="y">
|
2016-06-28 02:37:25 +02:00
|
|
|
use Time::Local;
|
|
|
|
use BackRestDoc::Custom::DocCustomRelease;
|
|
|
|
|
|
|
|
my ($second, $minute , $hour, $mday, $month, $year) = localtime();
|
2016-07-26 23:40:42 +02:00
|
|
|
$year += 1900;
|
2016-06-28 02:37:25 +02:00
|
|
|
|
|
|
|
if ('{[release-date-static]}' eq 'y')
|
|
|
|
{
|
|
|
|
my $strDate = (new BackRestDoc::Custom::DocCustomRelease(
|
|
|
|
new BackRestDoc::Common::Doc("{[doc-path]}/xml/release.xml")))->releaseLast()->paramGet('date');
|
|
|
|
|
|
|
|
if ($strDate eq 'XXXX-XX-XX')
|
|
|
|
{
|
|
|
|
confess &log(ERROR, 'not possible to use static release dates on a dev build');
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
($year, $month, $mday) = split(/[\s.\-]+/, $strDate);
|
|
|
|
$month -= 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-07-26 23:40:42 +02:00
|
|
|
my @stryMonth = ('January', 'February', 'March', 'April', 'May', 'June',
|
|
|
|
'July', 'August', 'September', 'October', 'November', 'December');
|
|
|
|
|
|
|
|
$stryMonth[$month] . ' ' . $mday . ', ' . $year;
|
2016-06-28 02:37:25 +02:00
|
|
|
</variable>
|
|
|
|
|
2015-11-22 23:44:01 +02:00
|
|
|
<!-- Logo locations -->
|
2016-05-26 20:17:50 +02:00
|
|
|
<variable key="logo">{[doc-path]}/output/latex/logo</variable>
|
2015-11-22 23:44:01 +02:00
|
|
|
|
|
|
|
<!-- HTML variables -->
|
|
|
|
<variable key="html-footer" eval='y'>
|
2016-07-26 23:40:42 +02:00
|
|
|
'Copyright &copy; 2015' . '-' . substr('{[release-date]}', length('{[release-date]}') - 4) .
|
2016-06-28 02:37:25 +02:00
|
|
|
', The PostgreSQL Global Development Group, <a href="{[github-url-license]}">MIT License</a>. Updated ' .
|
2016-07-26 23:40:42 +02:00
|
|
|
'{[release-date]}';
|
2016-06-28 02:37:25 +02:00
|
|
|
</variable>
|
2016-05-16 23:01:48 +02:00
|
|
|
<!-- <variable key="html-logo"><img src="{[project-logo]}"></variable> -->
|
2015-11-22 23:44:01 +02:00
|
|
|
|
|
|
|
<!-- PDF variables -->
|
|
|
|
<variable key="pdf-title">{[project]} User Guide</variable>
|
|
|
|
<variable key="pdf-subtitle">Open Source PostgreSQL Backup and Restore Utility</variable>
|
|
|
|
<variable key="pdf-file">CrunchyBackRest-UserGuide-{[version]}</variable>
|
|
|
|
</variable-list>
|
|
|
|
|
|
|
|
<source-list>
|
|
|
|
<source key="index"/>
|
|
|
|
<source key="user-guide"/>
|
|
|
|
<source key="reference" type="custom"/>
|
2016-05-26 15:20:55 +02:00
|
|
|
<source key="release" type="custom"/>
|
2017-11-27 23:02:49 +02:00
|
|
|
<source key="coding"/>
|
2016-01-09 15:21:53 +02:00
|
|
|
<source key="test"/>
|
2015-11-22 23:44:01 +02:00
|
|
|
</source-list>
|
|
|
|
|
|
|
|
<render-list>
|
|
|
|
<render type="html">
|
|
|
|
<render-source key="index" menu="Home"/>
|
|
|
|
<render-source key="user-guide" menu="User Guide"/>
|
|
|
|
<render-source key="configuration" source="reference" menu="Configuration"/>
|
|
|
|
<render-source key="command" source="reference" menu="Commands"/>
|
2016-05-26 15:20:55 +02:00
|
|
|
<render-source key="release" menu="Releases"/>
|
2015-11-22 23:44:01 +02:00
|
|
|
</render>
|
|
|
|
|
|
|
|
<render type="pdf" file="{[pdf-file]}">
|
|
|
|
<render-source key="user-guide"/>
|
|
|
|
</render>
|
2016-01-09 15:21:53 +02:00
|
|
|
|
|
|
|
<render type="markdown">
|
2016-04-16 17:55:23 +02:00
|
|
|
<render-source key="index" file="../../../README.md"/>
|
2017-11-27 23:02:49 +02:00
|
|
|
<render-source key="coding" file="../../../CODING.md"/>
|
2016-01-09 15:21:53 +02:00
|
|
|
<render-source key="test" file="../../../test/README.md"/>
|
|
|
|
</render>
|
2015-11-22 23:44:01 +02:00
|
|
|
</render-list>
|
|
|
|
</doc>
|