mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
HTML search results for C++. Fixes sphinx-doc/sphinx#1591.
The C++ domain did not return the actual id of elements, but the name. The fix is as Rapptz suggested.
This commit is contained in:
parent
d09bcfa717
commit
75c30ba2af
1
CHANGES
1
CHANGES
@ -25,6 +25,7 @@ Bugs fixed
|
|||||||
* #1687: linkcheck now treats 401 Unauthorized responses as "working".
|
* #1687: linkcheck now treats 401 Unauthorized responses as "working".
|
||||||
* #1690: toctrees with ``glob`` option now can also contain entries for single
|
* #1690: toctrees with ``glob`` option now can also contain entries for single
|
||||||
documents with explicit title.
|
documents with explicit title.
|
||||||
|
* #1591: html search results for C++ elements now has correct interpage links.
|
||||||
|
|
||||||
|
|
||||||
Release 1.3b2 (released Dec 5, 2014)
|
Release 1.3b2 (released Dec 5, 2014)
|
||||||
|
@ -2417,4 +2417,4 @@ class CPPDomain(Domain):
|
|||||||
|
|
||||||
def get_objects(self):
|
def get_objects(self):
|
||||||
for refname, (docname, ast) in iteritems(self.data['objects']):
|
for refname, (docname, ast) in iteritems(self.data['objects']):
|
||||||
yield (refname, refname, ast.objectType, docname, refname, 1)
|
yield (refname, refname, ast.objectType, docname, ast.newestId, 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user