Skip to content

Commit 83613c0

Browse files
committed
correct reST syntax helps
1 parent 735f7c3 commit 83613c0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/compiling.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ project. A working example can be found at [test_installed_target]_ .
9898
set_target_properties(example PROPERTIES PREFIX "${PYTHON_MODULE_PREFIX}"
9999
SUFFIX "${PYTHON_MODULE_EXTENSION}")
100100
101-
..warning:
101+
.. warning::
102102

103103
Since pybind11 is a metatemplate library, it is crucial that certain
104104
compiler flags are provided to ensure high quality code generation. In
@@ -109,8 +109,8 @@ project. A working example can be found at [test_installed_target]_ .
109109

110110
These include Link Time Optimization (``-flto`` on GCC/Clang/ICPC, ``/GL``
111111
and ``/LTCG`` on Visual Studio). Default-hidden symbols on GCC/Clang/ICPC
112-
("-fvisibility=hidden") and .OBJ files with many sections on Visual Studio
113-
("/bigobj"). The :ref:`FAQ <faq:symhidden>` contains an
112+
(``-fvisibility=hidden``) and .OBJ files with many sections on Visual Studio
113+
(``/bigobj``). The :ref:`FAQ <faq:symhidden>` contains an
114114
explanation on why these are needed.
115115

116116
.. [test_installed_target] https://github.com/pybind/pybind11/blob/master/tests/test_installed_target/CMakeLists.txt

0 commit comments

Comments
 (0)