Commit Graph

1088 Commits

Author SHA1 Message Date
Eric Holscher
012d42db6a Merge pull request #253 from zhanghongyi/fix-indentation
fix indentation level
2015-10-09 17:10:13 -07:00
Hongyi Zhang
360c761960 fix indentation level
Signed-off-by: Hongyi Zhang <hongyi73.zhang@gmail.com>
2015-10-02 12:28:43 -07:00
ThePhD
8e0cc99215 Seems like there's no more optimizations that can be made to sol/function...
Only other thing to optimize is `usertype`, maybe.
2015-09-29 18:19:07 -04:00
Eric Holscher
8c880a64fa Merge pull request #251 from snide/check-running
Add check for an already running nav
2015-09-23 13:50:55 -07:00
Anthony Johnson
d01cb61473 Add check for an already running nav
Fixes #250
2015-09-23 10:55:10 -07:00
Anthony Johnson
84b5075f5b Merge branch 'rc-0.1.9' 2015-09-15 14:20:40 -07:00
Anthony Johnson
1234f126d8 Version bump and changelog edits 2015-09-15 14:18:11 -07:00
Anthony Johnson
173cdfc140 Increase vertical padding on code elements slightly
Fixes #242
2015-09-15 13:50:00 -07:00
Anthony
0a1b9e885c Merge pull request #243 from snide/js-refactor
Make theme into a consumable bundle for RTD
2015-09-15 13:34:11 -07:00
Anthony Johnson
7cd2007b7b Add font-awesome explicitly 2015-09-10 16:21:10 -07:00
Anthony Johnson
a02faa6753 Fonts are not only a dev dependency 2015-09-10 15:51:10 -07:00
Anthony Johnson
300f9f01ec Source fonts from bower packages as well
This will be used on RTD to source the same font files from bower packages
2015-09-10 15:45:47 -07:00
Anthony
36b1648b71 Merge pull request #241 from leplatrem/patch-1
Add block to add extra content to footer
2015-09-10 12:39:02 -07:00
Mathieu Leplatre
b2b24228f3 Add block to add extra content to footer
For example, in order to add Disqus comments.
2015-09-10 11:05:11 +02:00
Anthony Johnson
f0863fa0eb Refactor js to exportable module 2015-09-09 00:17:10 -07:00
Anthony
a65c3b5ebe Merge pull request #239 from benmwebb/patch-1
Fix a handful of minor typos.
2015-09-08 22:03:40 -07:00
Anthony
2992ca2119 Merge pull request #215 from agjohnson/fix-nav-scrollbar
Resolve scrollbar visibility on navbar on long content
2015-09-08 20:42:23 -07:00
Anthony Johnson
60eb0af7fb Resolve scrollbar visibility on navbar on long content
This resolves #200, where a scrollbar was sometimes visible on the navbar. This
unfortunately wasn't addressable with just CSS, as outlined in #206. Because we
need the element to be scrollable, we can't set `overflow: hidden` on the nav
element.

This fixes this issue by:

 * Adding a `wy-side-scroll` element over the fixed position nav element and
   under the menu item elements
 * `wy-side-scroll` is set to 320px width, while the fixed position nav elements
   and menu item elements are 300px, clipping the scrollbar with `overflow-x:
   hidden` on the fixed position element
 * Javascript is set to scroll the new scroll element instead of the parent
   fixed position element

This was tested to be working in both cases on a variety of platforms: Linux FF,
Chrome, Windows IE, OSX Chrome and Safari, iPhone 5.1, and Android 4.2.
2015-09-08 20:35:34 -07:00
ThePhD
895030c69e Remove whorish return_forward. 2015-09-07 10:43:39 -04:00
Ben Webb
a257f6dac5 Fix a handful of minor typos. 2015-09-03 15:26:46 -07:00
Eric Holscher
66d865d9c4 Merge pull request #233 from snide/add-page-suffix-support
This fixes the "Edit on GH" links on recommonmark Sphinx docs
2015-08-18 16:44:48 -07:00
Eric Holscher
dcde79291a This fixes the "Edit on GH" links on recommonmark Sphinx docs 2015-08-12 17:53:10 -07:00
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