Navigation Menu

Skip to content

Commit

Permalink
doc: support Python3
Browse files Browse the repository at this point in the history
  • Loading branch information
kenhys committed Apr 25, 2017
1 parent d021a5e commit fd22e9a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/source/conf.py
Expand Up @@ -42,7 +42,7 @@

# 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
Expand Down Expand Up @@ -130,9 +130,9 @@

# 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
Expand Down

0 comments on commit fd22e9a

Please sign in to comment.