Debian Codegraph @

Doc/tools/templates/indexcontent.html

raw
1 {% extends "layout.html" %}
2 {%- block htmltitle -%}
3 <title>{{ shorttitle }}</title>
4 {%- endblock -%}
5 {%- block extrahead -%}
6 {{ super() }}
7 <meta property="og:title" content="Python {{ version }} documentation">
8 <meta property="og:type" content="website">
9 <meta property="og:url" content="https://docs.python.org/3/">
10 <meta property="og:site_name" content="Python documentation">
11 <meta property="og:description" content="The official Python documentation.">
12 <meta property="og:image" content="https://docs.python.org/3/_static/og-image.png">
13 <meta name="description" content="The official Python documentation.">
14 <meta property="og:image:width" content="200">
15 <meta property="og:image:height" content="200">
16 <meta name="theme-color" content="#3776ab">
17 {%- endblock -%}
18 {% block body %}
19 <h1>{{ docstitle|e }}</h1>
20 <p>
21 {% trans %}Welcome! This is the official documentation for Python {{ release }}.{% endtrans %}
22 </p>
23 <p><strong>{% trans %}Documentation sections:{% endtrans %}</strong></p>
24 <table class="contentstable" align="center"><tr>
25 <td width="50%">
26 <p class="biglink"><a class="biglink" href="{{ pathto("whatsnew/" + version) }}">{% trans %}What's new in Python {{ version }}?{% endtrans %}</a><br>
27 <span class="linkdescr"> {% trans whatsnew_index=pathto("whatsnew/index") %}Or <a href="{{ whatsnew_index }}">all "What's new" documents since Python 2.0</a>{% endtrans %}</span></p>
28 <p class="biglink"><a class="biglink" href="{{ pathto("tutorial/index") }}">{% trans %}Tutorial{% endtrans %}</a><br>
29 <span class="linkdescr">{% trans %}Start here: a tour of Python's syntax and features{% endtrans %}</span></p>
30 <p class="biglink"><a class="biglink" href="{{ pathto("library/index") }}">{% trans %}Library reference{% endtrans %}</a><br>
31 <span class="linkdescr">{% trans %}Standard library and builtins{% endtrans %}</span></p>
32 <p class="biglink"><a class="biglink" href="{{ pathto("reference/index") }}">{% trans %}Language reference{% endtrans %}</a><br>
33 <span class="linkdescr">{% trans %}Syntax and language elements{% endtrans %}</span></p>
34 <p class="biglink"><a class="biglink" href="{{ pathto("using/index") }}">{% trans %}Python setup and usage{% endtrans %}</a><br>
35 <span class="linkdescr">{% trans %}How to install, configure, and use Python{% endtrans %}</span></p>
36 <p class="biglink"><a class="biglink" href="{{ pathto("howto/index") }}">{% trans %}Python HOWTOs{% endtrans %}</a><br>
37 <span class="linkdescr">{% trans %}In-depth topic manuals{% endtrans %}</span></p>
38 </td><td width="50%">
39 <p class="biglink"><a class="biglink" href="{{ pathto("installing/index") }}">{% trans %}Installing Python modules{% endtrans %}</a><br>
40 <span class="linkdescr">{% trans %}Third-party modules and PyPI.org{% endtrans %}</span></p>
41 <p class="biglink"><a class="biglink" href="{{ pathto("distributing/index") }}">{% trans %}Distributing Python modules{% endtrans %}</a><br>
42 <span class="linkdescr">{% trans %}Publishing modules for use by other people{% endtrans %}</span></p>
43 <p class="biglink"><a class="biglink" href="{{ pathto("extending/index") }}">{% trans %}Extending and embedding{% endtrans %}</a><br>
44 <span class="linkdescr">{% trans %}For C/C++ programmers{% endtrans %}</span></p>
45 <p class="biglink"><a class="biglink" href="{{ pathto("c-api/index") }}">{% trans %}Python's C API{% endtrans %}</a><br>
46 <span class="linkdescr">{% trans %}C API reference{% endtrans %}</span></p>
47 <p class="biglink"><a class="biglink" href="{{ pathto("faq/index") }}">{% trans %}FAQs{% endtrans %}</a><br>
48 <span class="linkdescr">{% trans %}Frequently asked questions (with answers!){% endtrans %}</span></p>
49 <p class="biglink"><a class="biglink" href="{{ pathto("deprecations/index") }}">{% trans %}Deprecations{% endtrans %}</a><br>
50 <span class="linkdescr">{% trans %}Deprecated functionality{% endtrans %}</span></p>
51 </td></tr>
52 </table>
53
54 <p><strong>{% trans %}Indices, glossary, and search:{% endtrans %}</strong></p>
55 <table class="contentstable" align="center"><tr>
56 <td width="50%">
57 <p class="biglink"><a class="biglink" href="{{ pathto("py-modindex") }}">{% trans %}Global module index{% endtrans %}</a><br>
58 <span class="linkdescr">{% trans %}All modules and libraries{% endtrans %}</span></p>
59 <p class="biglink"><a class="biglink" href="{{ pathto("genindex") }}">{% trans %}General index{% endtrans %}</a><br>
60 <span class="linkdescr">{% trans %}All functions, classes, and terms{% endtrans %}</span></p>
61 <p class="biglink"><a class="biglink" href="{{ pathto("glossary") }}">{% trans %}Glossary{% endtrans %}</a><br>
62 <span class="linkdescr">{% trans %}Terms explained{% endtrans %}</span></p>
63 </td><td width="50%">
64 <p class="biglink"><a class="biglink" href="{{ pathto("search") }}">{% trans %}Search page{% endtrans %}</a><br>
65 <span class="linkdescr">{% trans %}Search this documentation{% endtrans %}</span></p>
66 <p class="biglink"><a class="biglink" href="{{ pathto("contents") }}">{% trans %}Complete table of contents{% endtrans %}</a><br>
67 <span class="linkdescr">{% trans %}Lists all sections and subsections{% endtrans %}</span></p>
68 </td></tr>
69 </table>
70
71 <p><strong>{% trans %}Project information:{% endtrans %}</strong></p>
72 <table class="contentstable" align="center"><tr>
73 <td width="50%">
74 <p class="biglink"><a class="biglink" href="{{ pathto("bugs") }}">{% trans %}Reporting issues{% endtrans %}</a></p>
75 <p class="biglink"><a class="biglink" href="https://devguide.python.org/documentation/help-documenting/">{% trans %}Contributing to docs{% endtrans %}</a></p>
76 <p class="biglink"><a class="biglink" href="{{ pathto("download") }}">{% trans %}Download the documentation{% endtrans %}</a></p>
77 </td><td width="50%">
78 <p class="biglink"><a class="biglink" href="{{ pathto("license") }}">{% trans %}History and license of Python{% endtrans %}</a></p>
79 <p class="biglink"><a class="biglink" href="{{ pathto("copyright") }}">{% trans %}Copyright{% endtrans %}</a></p>
80 <p class="biglink"><a class="biglink" href="{{ pathto("about") }}">{% trans %}About the documentation{% endtrans %}</a></p>
81 </td></tr>
82 </table>
83 {% endblock %}