Skip to content

Commit 1803263

Browse files
authored
Issue 35093: Document the IDLE document viewer in the IDLE doc. (#10195)
Add a paragraph in "Help and preferences", "Help sources" subsection.
1 parent 372d705 commit 1803263

3 files changed

Lines changed: 42 additions & 20 deletions

File tree

Doc/library/idle.rst

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ About IDLE
295295
Display version, copyright, license, credits, and more.
296296

297297
IDLE Help
298-
Display a help file for IDLE detailing the menu options, basic editing and
298+
Display this IDLE document, detailing the menu options, basic editing and
299299
navigation, and other tips.
300300

301301
Python Docs
@@ -306,7 +306,8 @@ Turtle Demo
306306
Run the turtledemo module with example Python code and turtle drawings.
307307

308308
Additional help sources may be added here with the Configure IDLE dialog under
309-
the General tab.
309+
the General tab. See the "Help sources" subsection below for more
310+
on Help menu choices.
310311

311312
.. index::
312313
single: Cut
@@ -693,15 +694,25 @@ with the default subprocess if at all possible.
693694
Help and preferences
694695
--------------------
695696

696-
Additional help sources
697-
^^^^^^^^^^^^^^^^^^^^^^^
697+
Help sources
698+
^^^^^^^^^^^^
698699

699-
IDLE includes a help menu entry called "Python Docs" that will open the
700-
extensive sources of help, including tutorials, available at docs.python.org.
701-
Selected URLs can be added or removed from the help menu at any time using the
702-
Configure IDLE dialog. See the IDLE help option in the help menu of IDLE for
703-
more information.
700+
Help menu entry "IDLE Help" displays a formatted html version of the
701+
IDLE chapter of the Library Reference. The result, in a read-only
702+
tkinter text window, is close to what one sees in a web browser.
703+
Navigate through the text with a mousewheel,
704+
the scrollbar, or up and down arrow keys held down.
705+
Or click the TOC (Table of Contents) button and select a section
706+
header in the opened box.
707+
708+
Help menu entry "Python Docs" opens the extensive sources of help,
709+
including tutorials, available at docs.python.org/x.y, where 'x.y'
710+
is the currently running Python version. If your system
711+
has an off-line copy of the docs (this may be an installation option),
712+
that will be opened instead.
704713

714+
Selected URLs can be added or removed from the help menu at any time using the
715+
General tab of the Configure IDLE dialog .
705716

706717
Setting preferences
707718
^^^^^^^^^^^^^^^^^^^
@@ -711,7 +722,6 @@ changed via Configure IDLE on the Option menu. Keys can be user defined;
711722
IDLE ships with four built-in key sets. In addition, a user can create a
712723
custom key set in the Configure IDLE dialog under the keys tab.
713724

714-
715725
Extensions
716726
^^^^^^^^^^
717727

Lib/idlelib/help.html

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ <h3>Help menu (Shell and Editor)<a class="headerlink" href="#help-menu-shell-and
332332
<dt>About IDLE</dt>
333333
<dd>Display version, copyright, license, credits, and more.</dd>
334334
<dt>IDLE Help</dt>
335-
<dd>Display a help file for IDLE detailing the menu options, basic editing and
335+
<dd>Display this IDLE document, detailing the menu options, basic editing and
336336
navigation, and other tips.</dd>
337337
<dt>Python Docs</dt>
338338
<dd>Access local Python documentation, if installed, or start a web browser
@@ -341,7 +341,8 @@ <h3>Help menu (Shell and Editor)<a class="headerlink" href="#help-menu-shell-and
341341
<dd>Run the turtledemo module with example Python code and turtle drawings.</dd>
342342
</dl>
343343
<p>Additional help sources may be added here with the Configure IDLE dialog under
344-
the General tab.</p>
344+
the General tab. See the “Help sources” subsection below for more
345+
on Help menu choices.</p>
345346
</div>
346347
<div class="section" id="context-menus">
347348
<span id="index-4"></span><h3>Context Menus<a class="headerlink" href="#context-menus" title="Permalink to this headline"></a></h3>
@@ -666,13 +667,22 @@ <h3>Running without a subprocess<a class="headerlink" href="#running-without-a-s
666667
</div>
667668
<div class="section" id="help-and-preferences">
668669
<h2>Help and preferences<a class="headerlink" href="#help-and-preferences" title="Permalink to this headline"></a></h2>
669-
<div class="section" id="additional-help-sources">
670-
<h3>Additional help sources<a class="headerlink" href="#additional-help-sources" title="Permalink to this headline"></a></h3>
671-
<p>IDLE includes a help menu entry called “Python Docs” that will open the
672-
extensive sources of help, including tutorials, available at docs.python.org.
673-
Selected URLs can be added or removed from the help menu at any time using the
674-
Configure IDLE dialog. See the IDLE help option in the help menu of IDLE for
675-
more information.</p>
670+
<div class="section" id="help-sources">
671+
<h3>Help sources<a class="headerlink" href="#help-sources" title="Permalink to this headline"></a></h3>
672+
<p>Help menu entry “IDLE Help” displays a formatted html version of the
673+
IDLE chapter of the Library Reference. The result, in a read-only
674+
tkinter text window, is close to what one sees in a web browser.
675+
Navigate through the text with a mousewheel,
676+
the scrollbar, or up and down arrow keys held down.
677+
Or click the TOC (Table of Contents) button and select a section
678+
header in the opened box.</p>
679+
<p>Help menu entry “Python Docs” opens the extensive sources of help,
680+
including tutorials, available at docs.python.org/x.y, where ‘x.y’
681+
is the currently running Python version. If your system
682+
has an off-line copy of the docs (this may be an installation option),
683+
that will be opened instead.</p>
684+
<p>Selected URLs can be added or removed from the help menu at any time using the
685+
General tab of the Configure IDLE dialog .</p>
676686
</div>
677687
<div class="section" id="setting-preferences">
678688
<h3>Setting preferences<a class="headerlink" href="#setting-preferences" title="Permalink to this headline"></a></h3>
@@ -731,7 +741,7 @@ <h3><a href="../contents.html">Table of Contents</a></h3>
731741
</ul>
732742
</li>
733743
<li><a class="reference internal" href="#help-and-preferences">Help and preferences</a><ul>
734-
<li><a class="reference internal" href="#additional-help-sources">Additional help sources</a></li>
744+
<li><a class="reference internal" href="#help-sources">Help sources</a></li>
735745
<li><a class="reference internal" href="#setting-preferences">Setting preferences</a></li>
736746
<li><a class="reference internal" href="#extensions">Extensions</a></li>
737747
</ul>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Document the IDLE document viewer in the IDLE doc. Add a paragraph in "Help
2+
and preferences", "Help sources" subsection.

0 commit comments

Comments
 (0)