docs: Use README.rst in docs as home page (#2500)
diff --git a/docs/conf.py b/docs/conf.py
index b324276..d3f7361 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -31,7 +31,7 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
-extensions = ['breathe']
+extensions = ['breathe', 'sphinx.ext.imgconverter']
breathe_projects = {'pybind11': '.build/doxygenxml/'}
breathe_default_project = 'pybind11'
@@ -242,7 +242,10 @@
#'pointsize': '10pt',
# Additional stuff for the LaTeX preamble.
-'preamble': r'\DeclareUnicodeCharacter{00A0}{}',
+'preamble': r'''
+\DeclareUnicodeCharacter{00A0}{}
+\DeclareUnicodeCharacter{2194}{<->}
+''',
# Latex figure (float) alignment
#'figure_align': 'htbp',