mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
This commit is contained in:
parent
7e9cd93267
commit
dee83b8f52
1
CHANGES
1
CHANGES
@ -37,6 +37,7 @@ Bugs fixed
|
||||
* #1700: Add ``:caption:`` option for :rst:dir:`toctree`.
|
||||
* #1742: ``:name:`` option is provided for :rst:dir:`toctree`, :rst:dir:`code-block` and
|
||||
:rst:dir:`literalinclude` dirctives.
|
||||
* #1756: Incorrect section titles in search that was introduced from 1.3b3.
|
||||
|
||||
|
||||
Release 1.3b3 (released Feb 24, 2015)
|
||||
|
@ -318,8 +318,7 @@ class IndexBuilder(object):
|
||||
|
||||
def freeze(self):
|
||||
"""Create a usable data structure for serializing."""
|
||||
filenames = sorted(self._titles.keys())
|
||||
titles = sorted(self._titles.values())
|
||||
filenames, titles = zip(*sorted(self._titles.items()))
|
||||
fn2index = dict((f, i) for (i, f) in enumerate(filenames))
|
||||
terms, title_terms = self.get_terms(fn2index)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user