Skip to content

Commit abc57aa

Browse files
authored
Merge branch 'master' into agj/force-neat-19
2 parents 9b58009 + 78287f0 commit abc57aa

File tree

3 files changed

+25
-6
lines changed

3 files changed

+25
-6
lines changed

docs/demo/api.rst

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,34 @@
1-
2-
*********************
3-
:mod:`test_py_module`
4-
*********************
1+
***************************************
2+
API documentation and generated content
3+
***************************************
54

65
.. contents:: Table of Contents
76

7+
:mod:`test_py_module`
8+
=====================
9+
810
.. automodule:: test_py_module.test
911
:members:
1012
:private-members:
1113
:special-members:
1214

15+
16+
C++ API
17+
=======
18+
19+
.. cpp:type:: MyType
20+
21+
Some type
22+
23+
.. cpp:function:: const MyType Foo(const MyType bar)
24+
25+
Some function type thing
26+
27+
.. cpp:class:: template<typename T, std::size_t N> std::array
28+
29+
Some cpp class
30+
31+
1332
Generated Index
1433
===============
1534

sphinx_rtd_theme/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
{% if logo and theme_logo_only %}
117117
<a href="{{ pathto(master_doc) }}">
118118
{% else %}
119-
<a href="{{ pathto(master_doc) }}" class="icon icon-home"> {{ project }}
119+
<a href="{{ pathto(master_doc) }}" class="icon icon-home" alt="{{ _("Documentation Home") }}"> {{ project }}
120120
{% endif %}
121121

122122
{% if logo %}

src/sass/_theme_rst.sass

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@
328328
// that output similar, but not quite the same nesting so this is really the best we can do.
329329
dl:not(.docutils)
330330
// In Sphinx 2.0+ most DLs no longer contain .docutils, needs tighter scoping using next line
331-
&.class, &.data
331+
&.class, &.data, &.type, &.function
332332
margin-bottom: $base-line-height
333333
// This would be the equivilant of a .. class::
334334
dt

0 commit comments

Comments
 (0)