From 626da4db5a824b83c27279abbe7f280d4ae0e58b Mon Sep 17 00:00:00 2001 From: ThePhD <phdofthehouse@gmail.com> Date: Fri, 25 Aug 2017 21:04:15 -0400 Subject: [PATCH] [ci skip] link to a previous example so people can see it --- docs/source/traits.rst | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/docs/source/traits.rst b/docs/source/traits.rst index b064223b..908df124 100644 --- a/docs/source/traits.rst +++ b/docs/source/traits.rst @@ -5,11 +5,14 @@ These are customization points within the library to help you make sol2 work for To learn more about various customizable traits, visit: -* :ref:`containers detection trait<container-detection>` - - This is how to work with containers when you have an compiler error when serializing a type that has ``begin`` and ``end`` functions but isn't exactly a container. +* :doc:`containers customization traits<containers>` + - This is how to work with containers in their entirety and what operations you're afforded on them + - when you have an compiler error when serializing a type that has ``begin`` and ``end`` functions but isn't exactly a container * :doc:`unique usertype (custom pointer) traits<api/unique_usertype_traits>` - - This is how to deal with unique usertypes, e.g. ``boost::shared_ptr``, reference-counted pointers, etc. - - Useful for custom pointers from all sorts of frameworks or handle types that employ very specific kinds of destruction semantics and access. -* :doc:`customization point tutorial<tutorial/customization>` - - This is how to customize a type to work with sol2. - - Can be used for specializations to push strings and other class types that are not natively ``std::string`` or ``const char*``. + - This is how to deal with unique usertypes, e.g. ``boost::shared_ptr``, reference-counted pointers, etc + - Useful for custom pointers from all sorts of frameworks or handle types that employ very specific kinds of destruction semantics and access +* :doc:`customization points<tutorial/customization>` + - This is how to customize a type to work with sol2 + - Can be used for specializations to push strings and other class types that are not natively ``std::string`` or ``const char*``, like `a wxString, for example`_ + +.. _a wxString, for example: https://github.com/ThePhD/sol2/issues/140#issuecomment-237934947