C++, add support for removing index text prefixes

Closes sphinx-doc/sphinx#1958.
This commit is contained in:
Jakob Lykke Andersen
2016-08-06 00:53:50 +02:00
parent 9ec75826af
commit 678630a59b
3 changed files with 16 additions and 1 deletions

View File

@@ -2006,6 +2006,13 @@ Options for the XML builder
Options for the C++ domain
--------------------------
.. confval:: cpp_index_common_prefix
A list of prefixes that will be ignored when sorting C++ objects in the global index.
For example ``['awesome_lib::']``.
.. versionadded:: 1.5
.. confval:: cpp_id_attributes
A list of strings that the parser additionally should accept as attributes.