Created
August 24, 2012 02:59
-
-
Save sitedyno/3445020 to your computer and use it in GitHub Desktop.
Python 3 compat for cakephp-docs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/config/all.py b/config/all.py | |
index 791207a..d55b44a 100644 | |
--- a/config/all.py | |
+++ b/config/all.py | |
@@ -28,8 +28,8 @@ source_suffix = '.rst' | |
master_doc = 'contents' | |
# General information about the project. | |
-project = u'Cookbook' | |
-copyright = u'2012, Cake Software Foundation, Inc' | |
+project = 'Cookbook' | |
+copyright = '2012, Cake Software Foundation, Inc' | |
# The version info for the project you're documenting, acts as replacement for | |
# |version| and |release|, also used in various other places throughout the | |
@@ -94,7 +94,7 @@ html_theme_path = ['../themes'] | |
# A shorter title for the navigation bar. Default is the same as html_title. | |
#html_short_title = None | |
-html_short_title = u'Cookbook 2.x' | |
+html_short_title = 'Cookbook 2.x' | |
# The name of an image file (relative to this directory) to place at the top | |
# of the sidebar. | |
@@ -168,8 +168,8 @@ htmlhelp_basename = 'CakePHPCookbookdoc' | |
# Grouping the document tree into LaTeX files. List of tuples | |
# (source start file, target name, title, author, documentclass [howto/manual]). | |
latex_documents = [ | |
- ('index', 'CakePHPCookbook.tex', u'CakePHP Cookbook Documentation', | |
- u'CakePHP', 'manual'), | |
+ ('index', 'CakePHPCookbook.tex', 'CakePHP Cookbook Documentation', | |
+ 'CakePHP', 'manual'), | |
] | |
# The name of an image file (relative to this directory) to place at the top of | |
@@ -201,18 +201,18 @@ latex_documents = [ | |
# One entry per manual page. List of tuples | |
# (source start file, name, description, authors, manual section). | |
man_pages = [ | |
- ('index', 'cakephpcookbook', u'CakePHP Cookbook Documentation', | |
- [u'CakePHP'], 1) | |
+ ('index', 'cakephpcookbook', 'CakePHP Cookbook Documentation', | |
+ ['CakePHP'], 1) | |
] | |
# -- Options for Epub output --------------------------------------------------- | |
# Bibliographic Dublin Core info. | |
-epub_title = u'CakePHP Cookbook' | |
-epub_author = u'Cake Software Foundation, Inc.' | |
-epub_publisher = u'Cake Software Foundation, Inc.' | |
-epub_copyright = u'2012, Cake Software Foundation, Inc.' | |
+epub_title = 'CakePHP Cookbook' | |
+epub_author = 'Cake Software Foundation, Inc.' | |
+epub_publisher = 'Cake Software Foundation, Inc.' | |
+epub_copyright = '2012, Cake Software Foundation, Inc.' | |
epub_theme = 'epub' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment