diff docs/conf.py @ 4969:12ad2ec5e8a4 mercurial-4.9

test-compat: merge mercurial-5.0 into mercurial-4.9
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 28 Nov 2019 10:50:55 +0100
parents ce163aaeba37
children 034873ca0f88
line wrap: on
line diff
--- a/docs/conf.py	Sat Oct 05 13:50:05 2019 -0400
+++ b/docs/conf.py	Thu Nov 28 10:50:55 2019 +0100
@@ -150,9 +150,9 @@
                 os.pardir, 'hgext3rd', 'evolve'))
         hgext.loadall(u)
         u.pushbuffer()
-        commands.help_(u, self.content[0])
+        commands.help_(u, self.content[0].encode('utf-8'))
         return [
-            nodes.literal_block(text=u.popbuffer())]
+            nodes.literal_block(text=u.popbuffer().decode('utf-8'))]
 
 
 def setup(app):