Commit Graph

1284 Commits

Author SHA1 Message Date
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
Eric Holscher
b5b633a841 Missed one 2015-05-04 15:34:23 -07:00
Eric Holscher
d2bac393e4 Cleverness? 2015-05-04 15:29:08 -07:00
Eric Holscher
042960f460 Add toc 2015-05-04 15:28:40 -07:00
Eric Holscher
798ccb1ebb Add basic changelog 2015-05-04 15:28:09 -07:00
Eric Holscher
2929ef2986 Merge remote-tracking branch 'agjohnson/nav-levels'
Conflicts:
	sphinx_rtd_theme/static/css/theme.css
	sphinx_rtd_theme/static/css/theme.css.map
2015-05-04 14:55:34 -07:00
Eric Holscher
e12d6352bd Merge pull request #194 from agjohnson/sphinx-caption-body
Show caption elements in content as an h2 heading
2015-05-04 14:54:28 -07:00
Anthony Johnson
13a6cc6657 Show caption elements in content as an h2 heading 2015-05-04 14:52:26 -07:00
Anthony Johnson
b66be12f8c Add 3 + 4th levels to nav and more intuitive scrolling
Adds l3 + l4 nav menus, with more intuitive scrolling to make wandering the
additional nav menu items much easier. Resolves #25. Resolves #76.

* Reuses some styles for l3 + l4 navs items
* Nav interaction was changed to be more intuitive:
  * Nav is always sticky, doesn't scroll past end of content
  * Nav scrolls up immediately on window scroll events
  * Nav scrolls independently
  * Adds TOC expand plus links to the left of nav elements with children, these
    are added and update dynamically
  * Links in nav don't automatically scroll nav
  * Scrolling content will start scrolling nav again
  * Adds URL fragment handling to link and show current anchor links
2015-05-04 14:27:12 -07:00
Eric Holscher
a61976af31 Merge pull request #191 from agjohnson/sphinx-1.3-compat
Sphinx 1.3 compat
2015-04-22 19:11:29 -07:00
Anthony Johnson
c4c681bc0e Fix lingering tt -> code sphinx 1.3 changes, refs #175
Addresses tt -> code changes in nav and references. Bumps requirements to sphinx
1.3, thought that might not be necessary.
2015-04-22 19:03:21 -07:00
Anthony Johnson
e1fd710530 Add failling test cases for sphinx 1.3 autodoc output 2015-04-22 18:57:41 -07:00
Eric Holscher
af82c93686 Merge pull request #190 from agjohnson/sphinx-caption
Add support for Sphinx 1.3 toctree captions
2015-04-22 18:49:17 -07:00
Anthony Johnson
4dfd2fe6ef Add support for Sphinx 1.3 toctree captions
Reuses styling for wy-nav-vertical headers, which seem to be unused, with some
color changes to the header elements. Also fixes caption headerlink styling.
2015-04-22 18:31:00 -07:00
Eric Holscher
8f6e95007d Add a caption to demo docs 2015-04-22 13:29:11 -07:00
Eric Holscher
b14cbfebf2 Add l3 support to theme CSS. 2015-04-08 16:36:11 -07:00
Eric Holscher
cb736941e0 Merge pull request #187 from mblakele/186-accesskey
#186 add accesskey attribute to next, previous links in page footer
2015-04-03 14:26:05 -07:00
Michael Blakeley
0730f590e2 #186 add accesskey attribute to next, previous links in page footer 2015-04-03 14:17:18 -07:00
Eric Holscher
3d93682a69 Merge pull request #183 from muzuiget/master
update bower.json
2015-04-03 08:15:28 -07:00
Eric Holscher
a65081dbde Merge pull request #185 from alexwlchan/master
Remove broken "Edit on GitHub/Bitbucket" link from search pages
2015-04-03 08:14:59 -07:00
Alex Chan
6360a2ed42 Remove broken "Edit on GitHub/Bitbucket" link from search pages
On a page of search results, the "Edit on GitHub/Bitbucket" link tries
to send the reader to a file "search.rst" or "search.txt" in the
repository. Since the search results only exist as a template, this is
a 404'd link.

This change to the template means that the "Edit on GitHub/Bitbucket"
link is not shown on search pages, getting rid of this broken link.
2015-04-03 11:08:57 +01:00
muzuiget
21aa90239c update bower.json 2015-04-02 11:20:25 +08:00
Eric Holscher
bd209165b9 Render artifacts 2015-03-30 10:49:46 -07:00
Eric Holscher
c38702d9e7 Add metatags 2015-03-30 10:49:38 -07:00
Eric Holscher
ca127a62e0 Fix #180 2015-03-30 10:48:45 -07:00
Eric Holscher
bb9903815d Merge pull request #181 from danez/sphinx-1.3-tt-to-code
Fix rtd theme for sphinx 1.3
2015-03-30 09:10:53 -07:00
Eric Holscher
c787f87660 Merge pull request #182 from xuhdev/external_source
Link to the external source of the page on arbitrary URL
2015-03-30 09:10:38 -07:00
Hong Xu
3d397672a0 Link to the external source of the page on arbitrary URL
Currently only source code hosted on GitHub or BitBucket are supported
to be linked. This PR adds the ability to link to an arbitrary source
code host URL. To use it, html_show_sourcelink must be True, and
source_url_prefix must be assigned to be the URL prefix.
2015-03-29 21:40:19 -07:00
Daniel Tschinder
64cfb22edf Fix rtd theme for sphinx 1.3 2015-03-27 01:25:48 +01:00
Eric Holscher
cb3c08a7fd Merge pull request #173 from kxxoling/bugfix/#172
Fix bug #172
2015-03-11 10:30:53 -07:00
kxxoling
7001cc99aa fix bug #172 2015-03-11 16:04:30 +08:00
Will Stevens
ab594bd224 fixed styling to match original 2015-03-09 14:16:28 -07:00
Will Stevens
2f3c5dfd14 added an example to the demo docs and configured it to use sticky nav for the demo to work 2015-03-09 14:16:28 -07:00