[Groonga-mysql-commit] mroonga/mroonga at fd22e9a [master] doc: support Python3

Back to archive index

Kentaro Hayashi null+****@clear*****
Tue Apr 25 18:30:39 JST 2017


Kentaro Hayashi	2017-04-25 18:30:39 +0900 (Tue, 25 Apr 2017)

  New Revision: fd22e9a0fc176ec3ba1b4f658eb6af6fdcfe7dc4
  https://github.com/mroonga/mroonga/commit/fd22e9a0fc176ec3ba1b4f658eb6af6fdcfe7dc4

  Message:
    doc: support Python3

  Modified files:
    doc/source/conf.py

  Modified: doc/source/conf.py (+4 -4)
===================================================================
--- doc/source/conf.py    2017-04-25 16:37:24 +0900 (fff6573)
+++ doc/source/conf.py    2017-04-25 18:30:39 +0900 (56b3e87)
@@ -42,7 +42,7 @@ master_doc = 'index'
 
 # General information about the project.
 project = u'Mroonga'
-copyright = u'2009-' + unicode(datetime.today().year) + u', Mroonga Project'
+copyright = u'2009-' + str(datetime.today().year) + u', Mroonga Project'
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the
@@ -130,9 +130,9 @@ html_theme_path = ["../themes"]
 
 # The name for this set of Sphinx documents.  If None, it defaults to
 # "<project> v<release> documentation".
-html_title_format = unicode(_("%(project)s v%(release)s documentation"), "utf-8")
-html_title = html_title_format % {"project": project,
-                                  "release": unicode(release, "utf-8")}
+html_title_format = _("%(project)s v%(release)s documentation")
+html_title = html_title_format % {"project": str(project),
+                                  "release": str(release)}
 
 # A shorter title for the navigation bar.  Default is the same as html_title.
 #html_short_title = None
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index