jenkins-bot merged this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
[doc] Remove duplicate pywikibot.site docs in cache module

scripts.maintenance.cache has got site's User, APISite, DataSite...
in its __all__. Sphinx autodoc also documents members of __all__,
which makes triplicates with pywikibot.site and pywikibot documentation.

This directive might also be suitable for several other modules
or maybe even for the whole framework. Let us know if you know
about any other module that needs this.

Bug: T247707
Change-Id: I780fc162a38eed604afd573e63393a295f3150f3
---
M docs/scripts/scripts.maintenance.rst
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/docs/scripts/scripts.maintenance.rst b/docs/scripts/scripts.maintenance.rst
index 3ff2082..24cb95e 100644
--- a/docs/scripts/scripts.maintenance.rst
+++ b/docs/scripts/scripts.maintenance.rst
@@ -10,6 +10,7 @@
--------------------------------

.. automodule:: scripts.maintenance.cache
+ :ignore-module-all:

scripts.maintenance.colors script
---------------------------------

To view, visit change 584192. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I780fc162a38eed604afd573e63393a295f3150f3
Gerrit-Change-Number: 584192
Gerrit-PatchSet: 2
Gerrit-Owner: Dvorapa <dvorapa@seznam.cz>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot (75)