diff --git a/docs/source/index.rst b/docs/source/index.rst index 08eb4289..be410bda 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -21,8 +21,8 @@ get going: :maxdepth: 1 :name: mastertoc - tutorial/tutorial-top tutorial/all-the-things + tutorial/tutorial-top api/api-top features benchmarks diff --git a/docs/source/tutorial/all-the-things.rst b/docs/source/tutorial/all-the-things.rst index 85551dd1..e8634e80 100644 --- a/docs/source/tutorial/all-the-things.rst +++ b/docs/source/tutorial/all-the-things.rst @@ -1,5 +1,5 @@ -quick 'n' dirty - all the things -================================ +tutorial: quick 'n' dirty +========================= These are all the things. Use your browser's search to find something that might help. diff --git a/docs/source/tutorial/tutorial-top.rst b/docs/source/tutorial/tutorial-top.rst index f859e0fa..5b04e66a 100644 --- a/docs/source/tutorial/tutorial-top.rst +++ b/docs/source/tutorial/tutorial-top.rst @@ -1,4 +1,4 @@ -Tutorial +tutorial ======== Take some time to learn the framework with thse tutorials. But, if you need to get going FAST, try using the :doc:`quick 'n' dirty` approach and your browser's / editors search function. diff --git a/sol/state_view.hpp b/sol/state_view.hpp index a052f439..730727cc 100644 --- a/sol/state_view.hpp +++ b/sol/state_view.hpp @@ -164,7 +164,7 @@ public: } stack_proxy load_file(const std::string& filename) { - luaL_loadfilex(L, filename.c_str(), nullptr); + luaL_loadfile(L, filename.c_str()); return stack_proxy(L, -1); }