Fix missing :ref: for idle in doc build.
diff --git a/Doc/library/idle.rst b/Doc/library/idle.rst
index bc4a791..c842b26 100644
--- a/Doc/library/idle.rst
+++ b/Doc/library/idle.rst
@@ -1,13 +1,13 @@
 .. _idle:
 
+IDLE
+====
+
 .. index::
    single: IDLE
    single: Python Editor
    single: Integrated Development Environment
 
-IDLE
-====
-
 .. moduleauthor:: Guido van Rossum <guido@Python.org>
 
 IDLE is the Python IDE built with the :mod:`tkinter` GUI toolkit.