Xqt submitted this change.
[sphinx] Solve duplicate index entries
Change-Id: Ic5ceefed2d3e67015993d08033bbea147eff4122
---
M docs/utilities/scripts.rst
M pywikibot/scripts/login.py
2 files changed, 25 insertions(+), 17 deletions(-)
diff --git a/docs/utilities/scripts.rst b/docs/utilities/scripts.rst
index 8c8ff0f..561db48 100644
--- a/docs/utilities/scripts.rst
+++ b/docs/utilities/scripts.rst
@@ -1,47 +1,55 @@
-Utility scripts
-===============
+Utility scripts description
+===========================
.. automodule:: pywikibot.scripts
:no-members:
+ :noindex:
-pwb wrapper script
-------------------
+pwb wrapper script description
+------------------------------
.. automodule:: pwb
:no-members:
+ :noindex:
-generate\_family\_file script
------------------------------
+generate\_family\_file script description
+-----------------------------------------
.. automodule:: pywikibot.scripts.generate_family_file
:no-members:
+ :noindex:
-generate\_user\_files script
-----------------------------
+generate\_user\_files script description
+----------------------------------------
.. automodule:: pywikibot.scripts.generate_user_files
:no-members:
+ :noindex:
-login script
-------------
+login script description
+------------------------
.. automodule:: pywikibot.scripts.login
:no-members:
+ :noindex:
-preload_sites script
---------------------
+preload_sites script description
+--------------------------------
.. automodule:: pywikibot.scripts.preload_sites
:no-members:
+ :noindex:
-shell script
-------------
+shell script description
+------------------------
.. automodule:: pywikibot.scripts.shell
:no-members:
+ :noindex:
-version script
---------------
+version script description
+--------------------------
.. automodule:: pywikibot.scripts.version
:no-members:
+ :noindex:
diff --git a/pywikibot/scripts/login.py b/pywikibot/scripts/login.py
index 1e85086..79f53a6 100755
--- a/pywikibot/scripts/login.py
+++ b/pywikibot/scripts/login.py
@@ -40,7 +40,7 @@
All scripts in this library will be looking for this cookie file and will
use the login information if it is present.
-To log out, throw away the *.lwp file that is created in the data
+To log out, throw away the ``*.lwp`` file that is created in the data
subdirectory.
.. versionchanged:: 7.4
To view, visit change 834056. To unsubscribe, or for help writing mail filters, visit settings.