Commit Graph

456 Commits

Author SHA1 Message Date
Eric Holscher
42d71c30c3 Merge pull request #307 from scop/optimize-images
Optimize images
2016-07-18 12:11:43 -07:00
Eric Holscher
690194e413 Merge pull request #308 from snide/breadcrumb-templating
Add template blocks around breadcrumbs
2016-07-12 12:40:16 -07:00
Anthony Johnson
851596f6e8 Add template blocks around breadcrumbs 2016-07-12 12:30:54 -07:00
Ville Skyttä
220b52ccfa Run *.png through zopflipng -m
Before: 252965 bytes
After:  226202 bytes
2016-07-07 15:56:53 +03:00
Ville Skyttä
502596d2c0 Run *.jpg through jpegoptim -s
Before: 9498 bytes
After:  6614 bytes
2016-07-07 15:53:24 +03:00
Anthony
e9481bfea5 Merge pull request #302 from snide/fix-meta
Fix how we check for meta and make sure it isn't None
2016-06-21 16:37:06 -07:00
Eric Holscher
005ab29550 Fix how we check for meta and make sure it isn't None 2016-06-21 10:39:23 -07:00
Anthony Johnson
9c5cee8529 Bump version number 2016-06-14 16:28:32 -07:00
Anthony Johnson
4af13ee0ac Add release notes 2016-06-14 16:21:27 -07:00
Eric Holscher
296e1089e6 Merge branch 'define-edit-link-in-meta' 2016-06-03 16:15:23 -07:00
Eric Holscher
288a4519cb Add a bit of docs 2016-06-03 16:15:08 -07:00
Anthony
811d671d2f Merge pull request #300 from snide/define-edit-link-in-meta
Allow users to override "Edit" links to GH/BB.
2016-06-03 16:12:58 -07:00
Eric Holscher
09abc5f15d Fix BB icon 2016-06-03 16:11:56 -07:00
Eric Holscher
789c5a0e73 Allow users to override "Edit" links to GH/BB.
This allows you to set a :github_url: or :bitbucket_url:
in your file metadata and have it override the Edit URL.
2016-06-03 16:09:49 -07:00
Jérôme Lafréchoux
543b4d8372 Add support for canonical URLs 2016-03-25 16:47:38 +01:00
Eric Holscher
eeff5645dc Fix block name. 2016-01-11 16:51:26 -08:00
Eric Holscher
fdf474fc8b Merge pull request #268 from leoshaw/master
Add a body_begin block at the start of <body>
2016-01-11 16:50:45 -08:00
Eric Holscher
c6455d278b Merge pull request #275 from mitya57/master
Drop dependency on Sphinx
2016-01-11 16:48:25 -08:00
Eric Holscher
47fff524a3 Merge pull request #255 from zhanghongyi/fix-bar
Make bar icon vertically centered in the nav menu in mobile view
2016-01-11 16:47:32 -08:00
Dmitry Shachnev
9e2b17147d Drop dependency on Sphinx
Fixes #189.
2016-01-10 16:40:56 +03:00
Leo Shaw
3a5fd41b31 Add a body_begin block at the start of <body>
This makes it easy to add a cookie banner or similar at the top of the
page, particularly when JS is disabled and you can't insert the banner
dynamically.
2015-11-27 11:49:15 +00:00
Hongyi Zhang
022d936dd9 add padding to make bar icon vertically centered in the nav menu
Signed-off-by: Hongyi Zhang <hongyi73.zhang@gmail.com>
2015-10-10 15:13:52 -07:00
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
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
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
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
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