Set primary domain to cpp

This commit is contained in:
Victor Zverovich
2014-12-18 08:36:53 -08:00
parent fb12cfd196
commit 8d89e56d2c
3 changed files with 8 additions and 6 deletions

View File

@@ -106,6 +106,8 @@ pygments_style = 'sphinx'
highlight_language = 'c++'
primary_domain = 'cpp'
# A list of ignored prefixes for module index sorting.
#modindex_common_prefix = []

View File

@@ -93,7 +93,7 @@ Custom allocators
The C++ Format library supports custom dynamic memory allocators.
A custom allocator class can be specified as a template argument to
:cpp:class:`fmt::BasicMemoryWriter`::
:class:`fmt::BasicMemoryWriter`::
typedef fmt::BasicMemoryWriter<char, CustomAllocator> CustomMemoryWriter;