mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Make searchindex generation deterministic.
This commit is contained in:
parent
f5ae89af15
commit
9caa4b05f7
@ -275,9 +275,9 @@ class IndexBuilder(object):
|
||||
rv = {}
|
||||
otypes = self._objtypes
|
||||
onames = self._objnames
|
||||
for domainname, domain in iteritems(self.env.domains):
|
||||
for domainname, domain in sorted(iteritems(self.env.domains)):
|
||||
for fullname, dispname, type, docname, anchor, prio in \
|
||||
domain.get_objects():
|
||||
sorted(domain.get_objects()):
|
||||
# XXX use dispname?
|
||||
if docname not in fn2index:
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user