jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/440160 )
Change subject: docs/conf.py: Set the `default_role` to 'code'
......................................................................
docs/conf.py: Set the `default_role` to 'code'
The "default default role" is :title-reference:[1] which is currently
redered to <cite> tags. Having a look at "git grep '`' --
'*.py'" results,
it seems to more appropriate to have all the current usage of '`'
interpreted as code rather than title.
[1]:
http://docutils.sourceforge.net/docs/ref/rst/roles.html
Change-Id: Ic1341dd4463379a760a7a735f519bcd0a3b67858
---
M docs/conf.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/docs/conf.py b/docs/conf.py
index 44e6b7b..e6e4909 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -88,7 +88,7 @@
exclude_patterns = ['_build']
# The reST default role (used for this markup: `text`) to use for all documents.
-# default_role = None
+default_role = 'code'
# If true, '()' will be appended to :func: etc. cross-reference text.
# add_function_parentheses = True
--
To view, visit
https://gerrit.wikimedia.org/r/440160
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic1341dd4463379a760a7a735f519bcd0a3b67858
Gerrit-Change-Number: 440160
Gerrit-PatchSet: 2
Gerrit-Owner: Dalba <dalba.wiki(a)gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: Zoranzoki21 <zorandori4444(a)gmail.com>
Gerrit-Reviewer: jenkins-bot