Fix styling of generated cpp documentation

This commit is contained in:
Jesse Tan
2019-07-19 16:10:38 +02:00
parent bad21120c8
commit 68f38ddec2
2 changed files with 24 additions and 5 deletions

View File

@@ -1,15 +1,34 @@
*********************
:mod:`test_py_module`
*********************
***************************************
API documentation and generated content
***************************************
.. contents:: Table of Contents
:mod:`test_py_module`
=====================
.. automodule:: test_py_module.test
:members:
:private-members:
:special-members:
C++ API
=======
.. cpp:type:: MyType
Some type
.. cpp:function:: const MyType Foo(const MyType bar)
Some function type thing
.. cpp:class:: template<typename T, std::size_t N> std::array
Some cpp class
Generated Index
===============