Eric Holscher
e8b2b72110
Merge pull request #226 from IKavanagh/master
...
Separated some sass variables
2015-07-30 11:31:30 -07:00
Ian Kavanagh
3de4352b2f
Separated some sass variables
2015-07-25 19:01:18 +01:00
ThePhD
dbeb8b5fcb
tests for the new decaying functionality
...
need to test with clang++/g++ to see if it still works
2015-07-22 02:54:43 -04:00
Eric Holscher
d0ab15b6a8
Merge pull request #223 from snide/fix-figure-caption
...
Fix figure caption styling, fixes #197
2015-07-21 21:52:32 -07:00
Anthony Johnson
436c90aea4
Fix figure caption styling, fixes #197
2015-07-21 19:12:21 -07:00
ThePhD
d4fe51725c
Update catch
2015-07-21 20:55:46 -04:00
Rapptz
38d03eef6e
Update copyright year.
2015-07-21 19:51:17 -04:00
Rapptz
eae5c6f259
Add single.py script to create single headers.
2015-07-21 19:49:06 -04:00
ThePhD
0460b33d6c
properly use decltype
and throw out the get_return
"type trait". It wasn't very useful anyhow.
2015-07-21 19:34:48 -04:00
Rapptz
a5e24b4fa2
Fix userdata -> usertype in examples.
2015-07-21 19:26:35 -04:00
ThePhD
946d01d228
Always reuse functions, avoid duplicate code...
2015-07-20 20:28:10 -04:00
Eric Holscher
f1208215d7
Merge pull request #220 from snide/fix-safari-overscroll
...
Fix Safari over-scroll bug, fixes #218
2015-07-20 11:22:33 -07:00
Eric Holscher
aeeecc905c
Merge pull request #208 from snide/add-commit
...
Add commit to the footer is it exists
2015-07-20 11:20:30 -07:00
Eric Holscher
4fc47538d1
Update gen'd files
2015-07-20 11:19:13 -07:00
Anthony Johnson
cfb399e458
Clean up display of revision and build
...
This will require a patch on RTD side, to pass in `build_id` and `build_url`
in the template context.
2015-07-20 11:18:49 -07:00
Eric Holscher
8779eb380b
Add commit to the footer is it exists
2015-07-20 11:18:37 -07:00
Eric Holscher
aacc59f07a
Merge remote-tracking branch 'agjohnson/fix-code-color'
...
Conflicts:
sphinx_rtd_theme/static/css/theme.css
sphinx_rtd_theme/static/css/theme.css.map
2015-07-20 11:16:02 -07:00
Eric Holscher
f772a1ff34
Merge remote-tracking branch 'agjohnson/fix-citation-code'
...
Conflicts:
sphinx_rtd_theme/static/css/theme.css
sphinx_rtd_theme/static/css/theme.css.map
2015-07-20 11:14:51 -07:00
Eric Holscher
27c0270ebe
Merge pull request #216 from agjohnson/fix-toctree
...
Fix issue with toctree :titlesonly: and nav menu
2015-07-20 11:13:19 -07:00
Eric Holscher
74b146ed62
Merge pull request #212 from snide/add-version
...
Include version in the page
2015-07-20 11:13:02 -07:00
ThePhD
219d10b0b4
Thanks to LUA_MULTRET, we can have normal function call syntax with sol::function
that doesn't require the user to pass the arguments in directly with .call<Return1, Return2, Return3>( ... )
...
function result is meant to be transient, and therefore should not be regularly storeable by the user... but there is no way to make a "and you can't have anything but a temporary to this" type, as far as I can tell.
2015-07-19 10:26:11 -04:00
Anthony Johnson
5e7d604290
Add configurable version display to nav header
...
This adds a subtle version display to the nav header. It will pull this
information from conf.py `version` if it exists, or if on RTD, `current_version`
from the conf additional context. If neither exists, or the `display_version`
option is false, the block will not display.
2015-07-17 16:41:52 -07:00
Anthony Johnson
9f908fff9c
Fix Safari over-scroll bug, fixes #218
...
Protect against negative scroll values or scroll values past the end of the
document. Stop scrolling if this is the case.
2015-07-17 15:48:27 -07:00
Anthony Johnson
591c2283a8
Make code block color match Wyrm code block color
...
This fixes #203 . As of Sphinx 1.3, there are some code blocks that shouldn't
have this styling: namely breadcrumb code blocks and xref code blocks. This adds
additional rules for those as well.
2015-07-17 14:16:57 -07:00
Anthony Johnson
2cd2729188
Fix citation code color, fixes #204
2015-07-17 10:30:53 -07:00
Anthony Johnson
5392b7bdbd
Fix issue with toctree :titlesonly: and nav menu
...
This fixes #196 by filtering nav ul elements that have empty ul siblings
2015-07-17 00:18:02 -07:00
ThePhD
1b8bc7c1e9
cxxabi include should not be used on VC++
2015-07-11 05:28:06 -04:00
ThePhD
9a0dda1f3d
Fix VC++ warning
2015-07-09 18:18:34 -04:00
ThePhD
feefb4859f
Oh, tabs. Oh, you...
2015-07-07 01:41:36 -04:00
ThePhD
6a16a5a482
Some quick fixes and harmless polishes for the compat layer in state.hpp
2015-07-07 00:31:50 -04:00
Eric Holscher
6277c21110
Merge pull request #210 from snide/collapse-nav
...
Add theme option for collapsing the nav.
2015-06-29 12:33:08 -07:00
Eric Holscher
5e40211ac2
Fix default
2015-06-21 21:58:28 -04:00
Eric Holscher
ae6c09b352
Add theme option for collapsing the nav.
...
This defaults to on,
because many use cases don't have large navs and want to see them all.
However,
it can be a large speedup for large docsets
2015-06-21 21:57:01 -04:00
ThePhD
069a209a4e
Fixes for the g++/clang builds
2015-06-18 10:53:21 -04:00
ThePhD
ffcd1f557b
Some derps on the compatibility arguments
...
checkargs is now properly propogated through the "call" functions
tests now define SOL_CHECK_ARGUMENTS to make sure
the tests will always check arguments now as well (caught one minor implementation detail missing from that!)
2015-06-17 18:33:58 -04:00
ThePhD
8ff921a247
A messed up space.
2015-06-17 16:53:46 -04:00
Eric Holscher
9779e08157
Merge pull request #195 from bport/patch-2
...
Fix modernizr url
2015-06-01 16:09:19 -07:00
Eric Holscher
a369939bb3
Merge pull request #202 from xuhdev/structured-data
...
Add microdata: tag the main content of a page as an article
2015-06-01 16:09:04 -07:00
Hong Xu
af89f48341
Add microdata: tag the main content of a page as an article
2015-05-29 23:06:15 -07:00
ThePhD
e70a3c945e
Macro activates the library's default argument checking. Useful to verify during tests and the like.
2015-05-27 02:48:07 -04:00
ThePhD
74677a9125
RIP tabs.
2015-05-27 02:28:31 -04:00
ThePhD
712afc924f
Conversions from nil to nullptr and vice-versa now properly work
...
Fix for really bad derp in metamethod registration
2015-05-27 02:23:37 -04:00
ThePhD
b8d81cb927
partial implementation of lua_version...
...
It's a bit more reliable than before, but... not really that much better!
2015-05-24 23:31:18 -04:00
ThePhD
8b13e6df6f
Fix tab derps.
2015-05-24 21:38:39 -04:00
ThePhD
184f16d7fa
Updated copyright headers and added compatibility with lua 5.1.5 and luajit!
...
This means sol can now run on the fastest dynamic language implementation ever!
Wooo!~
2015-05-24 21:29:21 -04:00
Danny
cd46aac23c
Merge pull request #61 from ThePhD/develop
...
table.for_each for iteration
2015-05-16 21:13:34 -04:00
ThePhD
e816d07121
Standard-compliant function signature deduction (cannot use set_function<Args...> format as that creates an ambiguity)
...
state now has for_each (runs on global table like all other functions)
added for_each tests, per @Rapptz request
2015-05-15 22:26:18 -04:00
ThePhD
1792259685
Fix tabs.
2015-05-15 12:43:53 -04:00
ThePhD
542d2a813e
new table.for_each while iterators get sorted out
2015-05-15 12:41:45 -04:00
Benjamin Port
dc0a2a1e11
Fix modernizr url
...
If we are in a subdirectory it's not working anymore because the path of modernizr is all time _static/...
2015-05-05 14:52:06 +02:00