sol2/docs/source/index.rst

88 lines
2.2 KiB
ReStructuredText
Raw Normal View History

2016-03-12 06:47:15 +08:00
.. 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
2016-04-26 03:58:13 +08:00
:target: https://github.com/ThePhD/sol2
:alt: sol2 repository
2016-11-06 11:17:31 +08:00
Sol |version|
=============
*a fast, simple C++ and Lua Binding*
2016-03-12 06:47:15 +08:00
2016-03-12 10:45:41 +08:00
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:
----------
2016-03-12 06:47:15 +08:00
.. toctree::
2016-08-25 00:22:51 +08:00
:maxdepth: 1
:name: mastertoc
2016-03-12 06:47:15 +08:00
tutorial/all-the-things
2016-04-24 05:16:56 +08:00
tutorial/tutorial-top
errors
compilation
features
functions
usertypes
containers
threading
traits
api/api-top
mentions
benchmarks
2016-08-17 03:19:51 +08:00
performance
safety
exceptions
rtti
codecvt
cmake
licenses
origin
2016-03-12 06:47:15 +08:00
2016-03-12 10:45:41 +08:00
2016-03-12 06:47:15 +08:00
"I need feature X, maybe you have it?"
--------------------------------------
Take a look at the :doc:`Features<features>` page: it links to much of the API. You can also just straight up browse the :doc:`api<api/api-top>` or ease in with the :doc:`tutorials<tutorial/tutorial-top>`. To know more about the implementation for usertypes, see :doc:`here<usertypes>` To know how function arguments are handled, see :ref:`this note<function-argument-handling>`. Don't see a feature you want? Send inquiries for support for a particular abstraction to the `issues`_ tracker.
2016-03-12 06:47:15 +08:00
2016-03-12 10:45:41 +08:00
the basics:
2016-03-12 06:47:15 +08:00
-----------
.. note::
The code below *and* more examples can be found in the `examples directory`_
2016-03-12 06:47:15 +08:00
2016-04-11 14:15:06 +08:00
.. literalinclude:: ../../examples/docs/simple_functions.cpp
:name: simple-functions-example
2016-04-11 14:15:06 +08:00
:linenos:
2016-03-12 06:47:15 +08:00
.. literalinclude:: ../../examples/docs/simple_structs.cpp
:name: simple-structs-example
:linenos:
2016-03-12 06:47:15 +08:00
helping out
-----------
You can support the library by submitting pull requests to fix anything (the code, typos, even contribute your own examples).
You can support me and my family by `donating a little something here`_.
Thank you for using sol2!
2016-03-12 06:47:15 +08:00
Indices and tables
==================
* :ref:`genindex`
* :ref:`search`
2016-03-12 10:45:41 +08:00
.. _Sol: https://github.com/ThePhD/sol2
.. _issues: https://github.com/ThePhD/sol2/issues
.. _examples directory: https://github.com/ThePhD/sol2/tree/develop/examples
2017-11-22 05:15:07 +08:00
.. _donating a little something here: https://www.paypal.me/LMeneide