jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1224703?usp=email )
Change subject: doc: temporary deactivate sphinx patches
......................................................................
doc: temporary deactivate sphinx patches
Bug: T413563
Change-Id: Iabb633564c90a3daa6049fe8e96b618eb9ca1587
---
M docs/conf.py
1 file changed, 3 insertions(+), 3 deletions(-)
Approvals:
jenkins-bot: Verified
Xqt: Looks good to me, approved
diff --git a/docs/conf.py b/docs/conf.py
index ff6d4be..17da2d4 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -57,7 +57,7 @@
'sphinx.ext.autosectionlabel',
'sphinx.ext.autosummary',
'sphinx.ext.extlinks',
- 'sphinx.ext.linkcode',
+ # 'sphinx.ext.linkcode',
'sphinx.ext.napoleon',
'sphinx.ext.viewcode',
'sphinx_copybutton',
@@ -516,7 +516,7 @@
}
-def linkcode_resolve(domain, info) -> str | None:
+def xlinkcode_resolve(domain, info) -> str | None:
"""Provide external Phabricator links for @property objects only.
This function uses ``sphinx.ext.linkcode`` and is a workaround for
@@ -659,7 +659,7 @@
lines[:] = newlines
-def setup(app) -> None:
+def xsetup(app) -> None:
"""Implicit Sphinx extension hook."""
app.connect('autodoc-process-docstring', pywikibot_docstring_fixups)
app.connect('autodoc-process-docstring', pywikibot_script_docstring_fixups)
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1224703?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Iabb633564c90a3daa6049fe8e96b618eb9ca1587
Gerrit-Change-Number: 1224703
Gerrit-PatchSet: 3
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]