ci: disallow some common capitalization mistakes (#2472)
* ci: only annotate linux for now
* style: block some common mistakes
diff --git a/docs/advanced/cast/eigen.rst b/docs/advanced/cast/eigen.rst
index 59ba08c..e01472d 100644
--- a/docs/advanced/cast/eigen.rst
+++ b/docs/advanced/cast/eigen.rst
@@ -274,7 +274,7 @@
Eigen and numpy have fundamentally different notions of a vector. In Eigen, a
vector is simply a matrix with the number of columns or rows set to 1 at
-compile time (for a column vector or row vector, respectively). Numpy, in
+compile time (for a column vector or row vector, respectively). NumPy, in
contrast, has comparable 2-dimensional 1xN and Nx1 arrays, but *also* has
1-dimensional arrays of size N.
diff --git a/docs/changelog.rst b/docs/changelog.rst
index 461002e..ca025f9 100644
--- a/docs/changelog.rst
+++ b/docs/changelog.rst
@@ -628,7 +628,7 @@
in reference cycles.
`#856 <https://github.com/pybind/pybind11/pull/856>`_.
-* Numpy and buffer protocol related improvements:
+* NumPy and buffer protocol related improvements:
1. Support for negative strides in Python buffer objects/numpy arrays. This
required changing integers from unsigned to signed for the related C++ APIs.
@@ -1359,7 +1359,7 @@
* Improved support for ``std::shared_ptr<>`` conversions
* Initial support for ``std::set<>`` conversions
* Fixed type resolution issue for types defined in a separate plugin module
-* Cmake build system improvements
+* CMake build system improvements
* Factored out generic functionality to non-templated code (smaller code size)
* Added a code size / compile time benchmark vs Boost.Python
* Added an appveyor CI script
diff --git a/docs/faq.rst b/docs/faq.rst
index b685629..5f7866f 100644
--- a/docs/faq.rst
+++ b/docs/faq.rst
@@ -285,7 +285,7 @@
Python detection in a system with several Python versions installed.
This difference may cause inconsistencies and errors if *both* mechanisms are used in the same project. Consider the following
-Cmake code executed in a system with Python 2.7 and 3.x installed:
+CMake code executed in a system with Python 2.7 and 3.x installed:
.. code-block:: cmake
diff --git a/docs/upgrade.rst b/docs/upgrade.rst
index 7c3f1c3..894c65f 100644
--- a/docs/upgrade.rst
+++ b/docs/upgrade.rst
@@ -32,7 +32,7 @@
``CMAKE_CXX_STANDARD=<number>`` instead, or any other valid CMake CXX or CUDA
standard selection method, like ``target_compile_features``.
-* If you do not request a standard, PyBind11 targets will compile with the
+* If you do not request a standard, pybind11 targets will compile with the
compiler default, but not less than C++11, instead of forcing C++14 always.
If you depend on the old behavior, please use ``set(CMAKE_CXX_STANDARD 14)``
instead.