|
12 | 12 | # serve to show the default.
|
13 | 13 |
|
14 | 14 | import re
|
15 |
| -import six |
16 | 15 | import sys, os, os.path
|
17 | 16 |
|
18 | 17 | # If extensions (or modules to document with autodoc) are in another directory,
|
|
43 | 42 | out = os.path.join(static_root, '%s.html' % script)
|
44 | 43 | if os.path.exists(out):
|
45 | 44 | os.unlink(out)
|
46 |
| - with open(out, 'wb+') as f: |
47 |
| - f.write(six.u(html)) |
| 45 | + with open(out, 'w') as f: |
| 46 | + f.write(html) |
48 | 47 |
|
49 | 48 | # -- General configuration -----------------------------------------------------
|
50 | 49 |
|
|
68 | 67 | master_doc = 'index'
|
69 | 68 |
|
70 | 69 | # General information about the project.
|
71 |
| -project = u'django-session-security' |
72 |
| -copyright = u'2012-2015, James Pic and contributors' |
| 70 | +project = 'django-session-security' |
| 71 | +copyright = '2012-2015, James Pic and contributors' |
73 | 72 |
|
74 | 73 | # The version info for the project you're documenting, acts as replacement for
|
75 | 74 | # |version| and |release|, also used in various other places throughout the
|
|
211 | 210 | # Grouping the document tree into LaTeX files. List of tuples
|
212 | 211 | # (source start file, target name, title, author, documentclass [howto/manual]).
|
213 | 212 | latex_documents = [
|
214 |
| - ('index', 'django-session-security.tex', u'django-session-security Documentation', |
215 |
| - u'James Pic', 'manual'), |
| 213 | + ('index', 'django-session-security.tex', 'django-session-security Documentation', |
| 214 | + 'James Pic', 'manual'), |
216 | 215 | ]
|
217 | 216 |
|
218 | 217 | # The name of an image file (relative to this directory) to place at the top of
|
|
241 | 240 | # One entry per manual page. List of tuples
|
242 | 241 | # (source start file, name, description, authors, manual section).
|
243 | 242 | man_pages = [
|
244 |
| - ('index', 'django-session-security', u'django-session-security Documentation', |
245 |
| - [u'James Pic'], 1) |
| 243 | + ('index', 'django-session-security', 'django-session-security Documentation', |
| 244 | + ['James Pic'], 1) |
246 | 245 | ]
|
247 | 246 |
|
248 | 247 | # If true, show URL addresses after external links.
|
|
255 | 254 | # (source start file, target name, title, author,
|
256 | 255 | # dir menu entry, description, category)
|
257 | 256 | texinfo_documents = [
|
258 |
| - ('index', 'django-session-security', u'django-session-security Documentation', |
259 |
| - u'James Pic', 'django-session-security', 'One line description of project.', |
| 257 | + ('index', 'django-session-security', 'django-session-security Documentation', |
| 258 | + 'James Pic', 'django-session-security', 'One line description of project.', |
260 | 259 | 'Miscellaneous'),
|
261 | 260 | ]
|
262 | 261 |
|
|
0 commit comments