jenkins-bot merged this change.
[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.