Skip to content

Commit 91512a9

Browse files
committed
More doc fine-tuning.
1 parent 080eb55 commit 91512a9

9 files changed

Lines changed: 18 additions & 12 deletions

File tree

doc/numpy/_static/style.css

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
.highlight
1616
{
17-
border: 1px solid #aaaaaa;
17+
border: 1px solid #dcdcdc;
1818
background-color: inherit;
1919
padding: 0 1em;
2020
margin: 0 5em;
@@ -27,3 +27,12 @@
2727
}
2828

2929
.admonition-title { font-weight: bold;}
30+
#table-of-contents
31+
{
32+
border: 1px solid #dcdcdc;
33+
padding: 1em;
34+
margin: 0 2em;
35+
}
36+
#table-of-contents .caption,
37+
#table-of-contents .topic-title { font-weight: bold;}
38+

doc/numpy/index.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
Welcome to the documentation of the Boost.Python NumPy extension!
77
=================================================================
88

9-
Contents:
10-
119
.. toctree::
10+
:caption: Table of Contents
1211
:maxdepth: 2
1312

1413
Tutorial <tutorial/index>

doc/numpy/reference/binary_ufunc.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
binary_ufunc
22
============
33

4-
.. contents ::
4+
.. contents :: Table of Contents
55
66
A ``binary_ufunc`` is a struct used as an intermediate step to broadcast two arguments so that a C++ function can be converted to a ufunc like function
77

doc/numpy/reference/dtype.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
dtype
22
=====
33

4-
.. contents ::
4+
.. contents :: Table of Contents
55
66
A `dtype`_ is an object describing the type of the elements of an ndarray
77

doc/numpy/reference/index.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
Boost.Python NumPy extension Reference
22
======================================
33

4-
Contents:
5-
64
.. toctree::
5+
:caption: Table of Contents
76
:maxdepth: 2
87

98
dtype

doc/numpy/reference/multi_iter.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
multi_iter
22
==========
33

4-
.. contents ::
4+
.. contents :: Table of Contents
55
66
A ``multi_iter`` is a Python object, intended to be used as an iterator It should generally only be used in loops.
77

doc/numpy/reference/ndarray.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ndarray
22
=======
33

4-
.. contents ::
4+
.. contents :: Table of Contents
55
66
A `ndarray`_ is an N-dimensional array which contains items of the same type and size, where N is the number of dimensions and is specified in the form of a ``shape`` tuple. Optionally, the numpy ``dtype`` for the objects contained may also be specified.
77

doc/numpy/reference/unary_ufunc.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
unary_ufunc
22
===========
33

4-
.. contents ::
4+
.. contents :: Table of Contents
55
66
A ``unary_ufunc`` is a struct used as an intermediate step to broadcast a single argument so that a C++ function can be converted to a ufunc like function
77

doc/numpy/tutorial/index.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
Boost.Python NumPy extension Tutorial
22
=====================================
33

4-
Contents:
5-
64
.. toctree::
5+
:caption: Table of Contents
76
:maxdepth: 2
87

98
simple

0 commit comments

Comments
 (0)