Commit Graph

962 Commits

Author SHA1 Message Date
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
Will Stevens
c6f7a1771e made sticky nav actually stick even on long menus 2015-03-09 14:16:15 -07:00
Eric Holscher
f105785b06 Merge pull request #170 from robyoung/allow-github-enterprise
Allow github_host to be overriden
2015-03-09 14:13:27 -07:00
Eric Holscher
db61495748 Fix layout 2015-03-09 14:11:48 -07:00
Eric Holscher
2e9272fe37 Fix typo in import 2015-03-09 14:11:41 -07:00
Eric Holscher
9fc5db2c6a Merge remote-tracking branch 'DanielOaks/html_logo'
Conflicts:
	demo_docs/source/conf.py
	sphinx_rtd_theme/layout.html
	sphinx_rtd_theme/static/css/theme.css
	sphinx_rtd_theme/theme.conf
2015-03-09 14:11:30 -07:00
Eric Holscher
99685e6abc Fix whitespace 2015-03-09 13:58:10 -07:00
Nicola Iarocci
af40ce390a Only show Sphinx theme notice if show_sphinx is enabled 2015-03-09 13:57:57 -07:00
Eric Holscher
65d27e93b6 Merge pull request #143 from savoirfairelinux/master
Add local google font
2015-03-09 13:56:27 -07:00
Eric Holscher
259b033903 Merge remote-tracking branch 'liuyang1204/master'
Conflicts:
	sphinx_rtd_theme/static/css/theme.css
2015-03-09 13:55:24 -07:00
Eric Holscher
0dfdeff331 Bump version properly 2015-03-09 13:12:27 -07:00
Eric Holscher
a500ee7ada Add map files 2015-03-09 13:10:56 -07:00
Eric Holscher
ccc962d0e3 Bump version 2015-03-09 13:10:41 -07:00
Eric Holscher
7888630601 Do a new minified release 2015-03-09 13:10:12 -07:00
Eric Holscher
8c83a8822c Add ability to define extra_css_files in the html_context 2015-03-09 12:51:33 -07:00
ThePhD
bd4492b85b This mega-commit introduces Visual Studio 2015 CTP 6 support.
sol::object had a few reference leaks in the way it retrieved values: it now does it properly without leaving the stack at +1 item
sol::stack was drastically cleaned up, with the following key change:
    * sol::stack::push now returns an integer of the number of things its pushed (usually 1, but can be more) (Thanks, @PrincessNyanara!)
    * sol::stack::call now calls functions flexibly, and getting is done more reliably
    * due to the innovation of stack::call and using absolute indices, we no longer have to use reverse_call style programming to deal with lua
    * sol::reference::get_type is now const-correct
    * sol::state and sol::table now have a cleaned up `get` implementation since it is no longer held back by the ugliness of VC++'s incapability to handle templates
    * the name `sol::userdata` now belongs to a type that actually encapsualtes a void* with a pusher/getter than gets a userdata void* value (TODO: give it a template to make it static_cast to that type on get?)
    * lightuserdata_t -> light_userdata, upvalue_t -> upvalue as type names (mostly details)
    * pushers for various types were updated to return integers
2015-03-01 21:14:42 -05:00
ThePhD
fa8416168e Merge remote-tracking branch 'root/master' into api-fix
Conflicts:
	sol/function_types.hpp
2015-02-28 18:21:39 -05:00
Rob Young
cfa42762b7 Allow github_host to be overriden
This is useful if you're running github enterprise on your own domain.
2015-02-25 17:04:09 +00:00
Thibault Cohen
66c4eb2d4a Merge remote-tracking branch 'origin/master'
Conflicts:
	sass/theme.sass
	sphinx_rtd_theme/layout.html
2015-02-07 13:07:46 -05:00
Rapptz
f6fb0fd7f0 Improve formatting of table example 2015-01-15 11:53:15 -05:00
mp4
c83d1941db added tutorial on reading in values from lua table to c++ 2015-01-11 00:28:30 -07:00
ThePhD
0cfcadb7eb Prevent null string return from causing undefined behavior. 2014-12-17 16:57:14 -05:00
ThePhD
8a4595dc80 Merge branch 'master' into api-fix 2014-12-17 16:24:53 -05:00