summaryrefslogtreecommitdiff
path: root/templates/docs/index.html
blob: 5491171c2791e0cd29226d55500732d183dfdafe (plain)
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
{%extends "base/page.html"%}
{%block title%}Documentation{%endblock%}
{%block contents%}

  <div class="row">
    <div class="col-md-9">
      <section>
        <h1>Documentation <i class="far fa-file-alt"></i></h1>
      </section>
      <p>
       <a class="btn btn-primary btn-double-width" href="/docs/current/">View the manual</a>
      </p>

      <h2>Manuals <i class="fas fa-book"></i></h2>
      <p>
       You can view the manual for an older version or download a PDF of a manual from the below table.
      </p>
      <table class="table table-striped">
       <thead>
	<tr>
	 <th class="w-25">Online Version</th>
	 <th>PDF Version</th>
	</tr>
       </thead>
       <tbody>
	{%for v in versions%}
	<tr>
	 <td>
	  <a href="/docs/{{v.numtree}}/index.html">{{v.treestring}}</a>
    {% if v.current %}
      / <a href="/docs/current/index.html">Current</a>
    {% endif %}
	 </td>
	 <td>
	  {%if v.a4pdf or v.uspdf%}
	  {%if v.a4pdf%}<a href="/files/documentation/pdf/{{v.numtree}}/postgresql-{{v.numtree}}-A4.pdf">A4 PDF</a> <span class="txtMediumGrey">({{v.a4pdf|filesizeformat}})</span>{%endif%}
	  {%if v.a4pdf and v.uspdf%}&bull;{%endif%}
	  {%if v.uspdf%}<a href="/files/documentation/pdf/{{v.numtree}}/postgresql-{{v.numtree}}-US.pdf">US PDF</a> <span class="txtMediumGrey">({{v.uspdf|filesizeformat}})</span>{%endif%}
	  {%else%}PDF version not available
	  {%endif%}
	</tr>
	{%endfor%}
	<tr>
	 <td><a href="/docs/devel/index.html">Development snapshot</a></td>
	 <td>PDF version not available</td>
	</tr>
       </tbody>
      </table>

      <p>
       Looking for documentation for an older, unsupported, version? Check the
       <a href="/docs/manuals/archive/">archive</a> of older manuals.
      </p>
    </div>
    <div class="col-md-3">
      <section>
        <h2>Translated Manuals</h2>
      </section>
      <ul>
       <li><a href="http://www.postgres.cn/docs" target="_blank" rel="noopener">Chinese</a></li>
       <li><a href="https://docs.postgresql.fr" target="_blank" rel="noopener">French</a></li>
       <li><a href="https://www.postgresql.jp/document/" target="_blank" rel="noopener">Japanese</a></li>
       <li><a href="https://postgrespro.ru/docs/postgresql" target="_blank" rel="noopener">Russian</a></li>
      </ul>
    </div>
  </div>

{%endblock%}