Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c514a97

Browse files
authored
Update titles and subtitles on landing page template (#116914)
* Update titles and subtitles on landing page template * address review from gvanrossum * Edits from hugovk review * Change word order back. Down the road we should split license and history
1 parent 5e0a070 commit c514a97

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

Doc/tools/templates/indexcontent.html

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -7,60 +7,60 @@ <h1>{{ docstitle|e }}</h1>
77
<p>
88
{% trans %}Welcome! This is the official documentation for Python {{ release }}.{% endtrans %}
99
</p>
10-
<p><strong>{% trans %}Parts of the documentation:{% endtrans %}</strong></p>
10+
<p><strong>{% trans %}Documentation sections:{% endtrans %}</strong></p>
1111
<table class="contentstable" align="center"><tr>
1212
<td width="50%">
1313
<p class="biglink"><a class="biglink" href="{{ pathto("whatsnew/" + version) }}">{% trans %}What's new in Python {{ version }}?{% endtrans %}</a><br/>
14-
<span class="linkdescr"> {% trans whatsnew_index=pathto("whatsnew/index") %}or <a href="{{ whatsnew_index }}">all "What's new" documents</a> since 2.0{% endtrans %}</span></p>
14+
<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>
1515
<p class="biglink"><a class="biglink" href="{{ pathto("tutorial/index") }}">{% trans %}Tutorial{% endtrans %}</a><br/>
16-
<span class="linkdescr">{% trans %}start here{% endtrans %}</span></p>
17-
<p class="biglink"><a class="biglink" href="{{ pathto("library/index") }}">{% trans %}Library Reference{% endtrans %}</a><br/>
18-
<span class="linkdescr">{% trans %}keep this under your pillow{% endtrans %}</span></p>
19-
<p class="biglink"><a class="biglink" href="{{ pathto("reference/index") }}">{% trans %}Language Reference{% endtrans %}</a><br/>
20-
<span class="linkdescr">{% trans %}describes syntax and language elements{% endtrans %}</span></p>
21-
<p class="biglink"><a class="biglink" href="{{ pathto("using/index") }}">{% trans %}Python Setup and Usage{% endtrans %}</a><br/>
22-
<span class="linkdescr">{% trans %}how to use Python on different platforms{% endtrans %}</span></p>
16+
<span class="linkdescr">{% trans %}Start here: a tour of Python's syntax and features{% endtrans %}</span></p>
17+
<p class="biglink"><a class="biglink" href="{{ pathto("library/index") }}">{% trans %}Library reference{% endtrans %}</a><br/>
18+
<span class="linkdescr">{% trans %}Standard library and builtins{% endtrans %}</span></p>
19+
<p class="biglink"><a class="biglink" href="{{ pathto("reference/index") }}">{% trans %}Language reference{% endtrans %}</a><br/>
20+
<span class="linkdescr">{% trans %}Syntax and language elements{% endtrans %}</span></p>
21+
<p class="biglink"><a class="biglink" href="{{ pathto("using/index") }}">{% trans %}Python setup and usage{% endtrans %}</a><br/>
22+
<span class="linkdescr">{% trans %}How to install, configure, and use Python{% endtrans %}</span></p>
2323
<p class="biglink"><a class="biglink" href="{{ pathto("howto/index") }}">{% trans %}Python HOWTOs{% endtrans %}</a><br/>
24-
<span class="linkdescr">{% trans %}in-depth documents on specific topics{% endtrans %}</span></p>
24+
<span class="linkdescr">{% trans %}In-depth topic manuals{% endtrans %}</span></p>
2525
</td><td width="50%">
26-
<p class="biglink"><a class="biglink" href="{{ pathto("installing/index") }}">{% trans %}Installing Python Modules{% endtrans %}</a><br/>
27-
<span class="linkdescr">{% trans %}installing from the Python Package Index &amp; other sources{% endtrans %}</span></p>
28-
<p class="biglink"><a class="biglink" href="{{ pathto("distributing/index") }}">{% trans %}Distributing Python Modules{% endtrans %}</a><br/>
29-
<span class="linkdescr">{% trans %}publishing modules for installation by others{% endtrans %}</span></p>
30-
<p class="biglink"><a class="biglink" href="{{ pathto("extending/index") }}">{% trans %}Extending and Embedding{% endtrans %}</a><br/>
31-
<span class="linkdescr">{% trans %}tutorial for C/C++ programmers{% endtrans %}</span></p>
32-
<p class="biglink"><a class="biglink" href="{{ pathto("c-api/index") }}">{% trans %}Python/C API{% endtrans %}</a><br/>
33-
<span class="linkdescr">{% trans %}reference for C/C++ programmers{% endtrans %}</span></p>
26+
<p class="biglink"><a class="biglink" href="{{ pathto("installing/index") }}">{% trans %}Installing Python modules{% endtrans %}</a><br/>
27+
<span class="linkdescr">{% trans %}Third-party modules and PyPI.org{% endtrans %}</span></p>
28+
<p class="biglink"><a class="biglink" href="{{ pathto("distributing/index") }}">{% trans %}Distributing Python modules{% endtrans %}</a><br/>
29+
<span class="linkdescr">{% trans %}Publishing modules for use by other people{% endtrans %}</span></p>
30+
<p class="biglink"><a class="biglink" href="{{ pathto("extending/index") }}">{% trans %}Extending and embedding{% endtrans %}</a><br/>
31+
<span class="linkdescr">{% trans %}For C/C++ programmers{% endtrans %}</span></p>
32+
<p class="biglink"><a class="biglink" href="{{ pathto("c-api/index") }}">{% trans %}Python's C API{% endtrans %}</a><br/>
33+
<span class="linkdescr">{% trans %}C API reference{% endtrans %}</span></p>
3434
<p class="biglink"><a class="biglink" href="{{ pathto("faq/index") }}">{% trans %}FAQs{% endtrans %}</a><br/>
35-
<span class="linkdescr">{% trans %}frequently asked questions (with answers!){% endtrans %}</span></p>
35+
<span class="linkdescr">{% trans %}Frequently asked questions (with answers!){% endtrans %}</span></p>
3636
</td></tr>
3737
</table>
3838

39-
<p><strong>{% trans %}Indices and tables:{% endtrans %}</strong></p>
39+
<p><strong>{% trans %}Indices, glossary, and search:{% endtrans %}</strong></p>
4040
<table class="contentstable" align="center"><tr>
4141
<td width="50%">
42-
<p class="biglink"><a class="biglink" href="{{ pathto("py-modindex") }}">{% trans %}Global Module Index{% endtrans %}</a><br/>
43-
<span class="linkdescr">{% trans %}quick access to all modules{% endtrans %}</span></p>
44-
<p class="biglink"><a class="biglink" href="{{ pathto("genindex") }}">{% trans %}General Index{% endtrans %}</a><br/>
45-
<span class="linkdescr">{% trans %}all functions, classes, terms{% endtrans %}</span></p>
42+
<p class="biglink"><a class="biglink" href="{{ pathto("py-modindex") }}">{% trans %}Global module index{% endtrans %}</a><br/>
43+
<span class="linkdescr">{% trans %}All modules and libraries{% endtrans %}</span></p>
44+
<p class="biglink"><a class="biglink" href="{{ pathto("genindex") }}">{% trans %}General index{% endtrans %}</a><br/>
45+
<span class="linkdescr">{% trans %}All functions, classes, and terms{% endtrans %}</span></p>
4646
<p class="biglink"><a class="biglink" href="{{ pathto("glossary") }}">{% trans %}Glossary{% endtrans %}</a><br/>
47-
<span class="linkdescr">{% trans %}the most important terms explained{% endtrans %}</span></p>
47+
<span class="linkdescr">{% trans %}Terms explained{% endtrans %}</span></p>
4848
</td><td width="50%">
4949
<p class="biglink"><a class="biglink" href="{{ pathto("search") }}">{% trans %}Search page{% endtrans %}</a><br/>
50-
<span class="linkdescr">{% trans %}search this documentation{% endtrans %}</span></p>
51-
<p class="biglink"><a class="biglink" href="{{ pathto("contents") }}">{% trans %}Complete Table of Contents{% endtrans %}</a><br/>
52-
<span class="linkdescr">{% trans %}lists all sections and subsections{% endtrans %}</span></p>
50+
<span class="linkdescr">{% trans %}Search this documentation{% endtrans %}</span></p>
51+
<p class="biglink"><a class="biglink" href="{{ pathto("contents") }}">{% trans %}Complete table of contents{% endtrans %}</a><br/>
52+
<span class="linkdescr">{% trans %}Lists all sections and subsections{% endtrans %}</span></p>
5353
</td></tr>
5454
</table>
5555

56-
<p><strong>{% trans %}Meta information:{% endtrans %}</strong></p>
56+
<p><strong>{% trans %}Project information:{% endtrans %}</strong></p>
5757
<table class="contentstable" align="center"><tr>
5858
<td width="50%">
59-
<p class="biglink"><a class="biglink" href="{{ pathto("bugs") }}">{% trans %}Reporting bugs{% endtrans %}</a></p>
59+
<p class="biglink"><a class="biglink" href="{{ pathto("bugs") }}">{% trans %}Reporting issues{% endtrans %}</a></p>
6060
<p class="biglink"><a class="biglink" href="https://devguide.python.org/docquality/#helping-with-documentation">{% trans %}Contributing to Docs{% endtrans %}</a></p>
6161
<p class="biglink"><a class="biglink" href="{{ pathto("about") }}">{% trans %}About the documentation{% endtrans %}</a></p>
6262
</td><td width="50%">
63-
<p class="biglink"><a class="biglink" href="{{ pathto("license") }}">{% trans %}History and License of Python{% endtrans %}</a></p>
63+
<p class="biglink"><a class="biglink" href="{{ pathto("license") }}">{% trans %}History and license of Python{% endtrans %}</a></p>
6464
<p class="biglink"><a class="biglink" href="{{ pathto("copyright") }}">{% trans %}Copyright{% endtrans %}</a></p>
6565
<p class="biglink"><a class="biglink" href="{{ pathto("download") }}">{% trans %}Download the documentation{% endtrans %}</a></p>
6666
</td></tr>

0 commit comments

Comments
 (0)