Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1224710?usp=email )
Change subject: Revert "doc: temporary deactivate sphinx patches"
......................................................................
Revert "doc: temporary deactivate sphinx patches"
This reverts commit 71ed477a1a3cba969998a2de928def9c77e7c00b.
Change-Id: Idc4b28e5552e4de596359f981dab223b3361562e
---
M docs/conf.py
1 file changed, 3 insertions(+), 3 deletions(-)
Approvals:
Xqt: Verified; Looks good to me, approved
diff --git a/docs/conf.py b/docs/conf.py
index 17da2d4..ff6d4be 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 xlinkcode_resolve(domain, info) -> str | None:
+def linkcode_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 xsetup(app) -> None:
+def setup(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/+/1224710?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: Idc4b28e5552e4de596359f981dab223b3361562e
Gerrit-Change-Number: 1224710
Gerrit-PatchSet: 1
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]