From 8fadade2251c54a3df8ab9de1f6566ba675bb87c Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Fri, 9 Dec 2016 15:26:03 +0100 Subject: [PATCH] add valarray to documentation, update docutils on travis --- .travis.yml | 2 +- docs/advanced/cast/overview.rst | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ff4662f7a..cd18e1f69 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,7 +39,7 @@ matrix: - os: linux language: docs env: DOCS STYLE LINT - install: pip install sphinx sphinx_rtd_theme flake8 pep8-naming + install: pip install --upgrade sphinx sphinx_rtd_theme flake8 pep8-naming docutils script: - make -C docs html SPHINX_OPTIONS=-W - tools/check-style.sh diff --git a/docs/advanced/cast/overview.rst b/docs/advanced/cast/overview.rst index 84085725c..ab37b90be 100644 --- a/docs/advanced/cast/overview.rst +++ b/docs/advanced/cast/overview.rst @@ -116,6 +116,8 @@ as arguments and return values, refer to the section on binding :ref:`classes`. +------------------------------------+---------------------------+-------------------------------+ | ``std::vector`` | STL dynamic array | :file:`pybind11/stl.h` | +------------------------------------+---------------------------+-------------------------------+ +| ``std::valarray`` | STL value array | :file:`pybind11/stl.h` | ++------------------------------------+---------------------------+-------------------------------+ | ``std::list`` | STL linked list | :file:`pybind11/stl.h` | +------------------------------------+---------------------------+-------------------------------+ | ``std::map`` | STL ordered map | :file:`pybind11/stl.h` |