File: manifest.xml

package info (click to toggle)
pgbackrest 2.58.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,056 kB
  • sloc: ansic: 128,636; xml: 19,653; perl: 11,498; pascal: 3,279; sh: 91; sql: 32; makefile: 23
file content (110 lines) | stat: -rw-r--r-- 5,095 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE doc SYSTEM "manifest.dtd">
<doc>
    <!-- System-wide variables -->
    <variable-list>
        <variable key="project">pgBackRest</variable>
        <variable key="project-tagline">Reliable PostgreSQL Backup &amp; Restore</variable>
        <variable key="version" eval="y">use pgBackRestDoc::ProjectInfo; PROJECT_VERSION</variable>
        <variable key="version-stable" eval="y">
            use pgBackRestDoc::Custom::DocCustomRelease;

            (new pgBackRestDoc::Custom::DocCustomRelease(
                new pgBackRestDoc::Common::Doc("{[doc-path]}/xml/release.xml")))->currentStableVersion();
        </variable>
        <variable key="project-exe">pgbackrest</variable>
        <variable key="project-url-root">/</variable>
        <variable key="postgres">PostgreSQL</variable>
        <variable key="dash">-</variable>
        <variable key="project-logo">logo.png</variable>
        <variable key="project-favicon">favicon.png</variable>

        <!-- Is this a development or debug build of the docs? -->
        <variable key="dev">n</variable>
        <variable key="debug">n</variable>

        <!-- Add analytics to the HTML documentation? -->
        <variable key="analytics">n</variable>

        <!-- Release date - static allows for reproducible builds -->
        <variable key="release-date-static">n</variable>
        <variable key="release-date" eval="y">
            use Time::Local;
            use pgBackRestDoc::Custom::DocCustomRelease;

            my ($second, $minute , $hour, $mday, $month, $year) = localtime();
            $year += 1900;

            if ('{[release-date-static]}' eq 'y')
            {
                my $strDate = (new pgBackRestDoc::Custom::DocCustomRelease(
                    new pgBackRestDoc::Common::Doc("{[doc-path]}/xml/release.xml")))->releaseLast()->paramGet('date');

                if ($strDate eq 'XXXX-XX-XX')
                {
                    confess &amp;log(ERROR, 'not possible to use static release dates on a dev build');
                }
                else
                {
                    ($year, $month, $mday) = split(/[\s.\-]+/, $strDate);
                    $month -= 1;
                }
            }

            my @stryMonth = ('January', 'February', 'March', 'April', 'May', 'June',
                             'July', 'August', 'September', 'October', 'November', 'December');

            $stryMonth[$month] . ' ' . $mday . ', ' . $year;
        </variable>

        <!-- HTML variables -->
        <variable key="html-footer" eval='y'>
            'Copyright &amp;copy; 2015' . '-' . substr('{[release-date]}', length('{[release-date]}') - 4) .
            ', The PostgreSQL Global Development Group, &lt;a href="{[github-url-license]}">MIT License&lt;/a>. Updated ' .
            '{[release-date]}';
        </variable>
        <!-- <variable key="html-logo">&lt;img src=&quot;{[project-logo]}&quot;&gt;</variable> -->
    </variable-list>

    <source-list>
        <source key="index"/>
        <source key="user-guide-index"/>
        <source key="user-guide" file="output/xml/user-guide.xml"/>
        <source key="command" file="output/xml/command.xml"/>
        <source key="configuration" file="output/xml/configuration.xml"/>
        <source key="help" type="custom" file="../src/build/help/help.xml"/>
        <source key="release" type="custom"/>
        <source key="faq"/>
        <source key="metric"/>
        <source key="coding"/>
        <source key="contributing"/>
        <source key="documentation"/>
    </source-list>

    <render-list>
        <render type="html">
            <render-source key="index" menu="Home"/>
            <render-source key="user-guide-index" menu="User Guides"/>
            <render-source key="user-guide"/>
            <render-source key="release" menu="Releases"/>
            <render-source key="configuration" source="configuration" menu="Configuration"/>
            <render-source key="command" source="command" menu="Commands"/>
            <render-source key="faq" menu="FAQ"/>
            <render-source key="metric" menu="Metrics"/>
        </render>

        <render type="markdown">
            <render-source key="index" file="../../../README.md"/>
            <render-source key="coding" file="../../../CODING.md"/>

            <!--
                Building the contributing document has some special requirements because it runs Docker in Docker so the repo path
                must align on the host and all Docker containers. Run `pgbackrest/doc/doc.pl` from within the home directory of the
                user that will do the doc build, e.g. `home/vagrant`. If the repo is not located directly in the home directory,
                e.g. `/home/vagrant/pgbackrest`, then a symlink may be used, e.g. `ln -s /path/to/repo /home/vagrant/pgbackrest`.
            -->
            <render-source key="contributing" file="../../../CONTRIBUTING.md"/>
            <render-source key="documentation" file="../../README.md"/>
        </render>
    </render-list>
</doc>