From dc2493e7525bb7633f697ef10f72b72b46222249 Mon Sep 17 00:00:00 2001 From: Andy Belle-Isle Date: Fri, 30 Aug 2019 00:45:36 -0400 Subject: Forget what I said, I just need to change git attributes to mark for vendor --- lib/sol2/docs/source/index.rst | 139 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 139 insertions(+) create mode 100644 lib/sol2/docs/source/index.rst (limited to 'lib/sol2/docs/source/index.rst') diff --git a/lib/sol2/docs/source/index.rst b/lib/sol2/docs/source/index.rst new file mode 100644 index 0000000..593a647 --- /dev/null +++ b/lib/sol2/docs/source/index.rst @@ -0,0 +1,139 @@ +.. sol documentation master file, created by + sphinx-quickstart on Mon Feb 29 21:49:51 2016. + You can adapt this file completely to your liking, but it should at least + contain the root `toctree` directive. + +.. image:: media/sol.png + :target: https://github.com/ThePhD/sol2 + :alt: sol repository + :align: center + +sol |version| +============= +*a fast, simple C++ and Lua Binding* + + +When you need to hit the ground running with Lua and C++, `sol`_ is the go-to framework for high-performance binding with an easy to use API. + +get going: +---------- + +.. toctree:: + :maxdepth: 1 + :name: mastertoc + + tutorial/all-the-things + tutorial/tutorial-top + errors + compilation + features + functions + usertypes + containers + threading + traits + api/api-top + mentions + benchmarks + performance + safety + exceptions + rtti + codecvt + build + licenses + origin + + +connect +-------- + +Come to the Github Issues or the Discord! We've got a friendly community, and they can help you out or you can come just to talk about the things you are working on! + +|ds| |gh| + + +support +------- + +You can support the project and other related endeavors in various ways. + +|gs| |pa| |kf| |lp| |pp| + + +GitHub Sponsors is matching all sponsorships 100% and they also do not charge fees on either end of the transaction as well until sometime in June 2020. Still, you can support sol3 development by using any of the above. This is a time-consuming effort, so individuals who donate get to: + +- steer the direction and time spent on sol +- get a role on the Discord server +- get their name put up in the CONTRIBUTORS list +- put something of their choice on sol3's README or the documentation's front page + + +"I need feature X, maybe you have it?" +-------------------------------------- +Take a look at the :doc:`Features` page: it links to much of the API. You can also just straight up browse the :doc:`api` or ease in with the :doc:`tutorials`. To know more about the implementation for usertypes, see :doc:`here` To know how function arguments are handled, see :ref:`this note`. Don't see a feature you want? Send inquiries for support for a particular abstraction to the `issues`_ tracker. + + +the basics: +----------- + +.. note:: + The code below *and* more examples can be found in the `examples directory`_. + + +.. literalinclude:: ../../examples/source/docs/simple_functions.cpp + :name: simple-functions-example + :linenos: + +.. literalinclude:: ../../examples/source/docs/simple_structs.cpp + :name: simple-structs-example + :linenos: + + +Search +====== + +* :ref:`search` + +.. _Sol: https://github.com/ThePhD/sol2 +.. _issues: https://github.com/ThePhD/sol2/issues +.. _examples directory: https://github.com/ThePhD/sol2/tree/develop/examples + +.. |pa| image:: media/become_a_patron_button.png + :height: 50 + :target: https://www.patreon.com/thephd + :alt: sol3 Patreon + :align: middle + +.. |kf| image:: media/Ko-fi_Blue.png + :height: 50 + :target: https://ko-fi.com/thephd + :alt: sol3 ko-fi + :align: middle + +.. |lp| image:: media/liberapay_logo.png + :height: 50 + :target: https://liberapay.com/ThePhD/ + :alt: sol3 ko-fi + :align: middle + +.. |pp| image:: media/pp_cc_mark_111x69.jpg + :height: 50 + :target: https://www.paypal.me/LMeneide + :alt: sol3 PayPal + :align: middle + +.. |ds| image:: media/discord_logo_wordmark.png + :height: 75 + :target: https://discord.gg/buxkYNT + :alt: sol3 Discord + +.. |gh| image:: media/github_logo.png + :height: 75 + :target: https://github.com/ThePhD/sol2/issues + :alt: sol3 Github Issues Page + +.. |gs| image:: media/github_sponsors_logo.png + :height: 55 + :target: https://github.com/users/ThePhD/sponsorship + :alt: sol3 Sponsors Page -- cgit v1.2.3