mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
merge with 0.6
This commit is contained in:
commit
996339593e
10
CHANGES
10
CHANGES
@ -154,6 +154,16 @@ Features added
|
|||||||
Release 0.6.7 (in development)
|
Release 0.6.7 (in development)
|
||||||
==============================
|
==============================
|
||||||
|
|
||||||
|
* #440: Remove usage of a Python >= 2.5 API in the ``literalinclude``
|
||||||
|
directive.
|
||||||
|
|
||||||
|
* Fix a bug that prevented some references being generated in the
|
||||||
|
LaTeX builder.
|
||||||
|
|
||||||
|
* #428: Add some missing CSS styles for standard docutils classes.
|
||||||
|
|
||||||
|
* #432: Fix UnicodeErrors while building LaTeX in translated locale.
|
||||||
|
|
||||||
|
|
||||||
Release 0.6.6 (May 25, 2010)
|
Release 0.6.6 (May 25, 2010)
|
||||||
============================
|
============================
|
||||||
|
@ -120,7 +120,7 @@ class LiteralInclude(Directive):
|
|||||||
codec_info = codecs.lookup(encoding)
|
codec_info = codecs.lookup(encoding)
|
||||||
try:
|
try:
|
||||||
f = codecs.StreamReaderWriter(open(fn, 'U'),
|
f = codecs.StreamReaderWriter(open(fn, 'U'),
|
||||||
codec_info.streamreader, codec_info.streamwriter, 'strict')
|
codec_info[2], codec_info[3], 'strict')
|
||||||
lines = f.readlines()
|
lines = f.readlines()
|
||||||
f.close()
|
f.close()
|
||||||
except (IOError, OSError):
|
except (IOError, OSError):
|
||||||
|
Loading…
Reference in New Issue
Block a user