Commit graph

195 commits

Author SHA1 Message Date
Robert Lord
979aaa91d5 Fixes #440, version 1.3.2 2016-03-01 20:43:54 -06:00
Robert Lord
db48d22661 Fix broken word break styles 2016-01-31 12:41:11 -06:00
Robert Lord
b5c6495662 Fix travis bugs 2016-01-27 16:30:19 -06:00
Robert Lord
7f1d6da6dc Remove last inline script 2016-01-27 02:00:01 -06:00
Robert Lord
a4b9208af0 Move jquery to be local 2016-01-27 01:37:16 -06:00
Robert Lord
5c87f10383 Fix non-wrapping code in firefox 2016-01-27 00:53:24 -06:00
Robert Lord
ccd158df4f Add code block warning 2016-01-27 00:45:32 -06:00
Robert Lord
8cba352315 Add lang-specific class 2016-01-26 15:39:37 -06:00
Robert Lord
44cf741f01 Add new logo 2016-01-26 12:55:22 -06:00
Robert Lord
7f88aafcba Upgrade to middleman 4 2016-01-26 12:52:03 -06:00
Robert Lord
f4dea9008d Merge branch 'master' into dev 2016-01-26 12:07:22 -06:00
Zach Panzarino
837a7e7873 Change cat name
After recent events it is probably better to use a different name for the cat.
2015-12-18 22:51:49 -05:00
Gabriel Falkenberg
5d27eaf9cf Use HTTPS for github urls. 2015-08-08 17:23:29 +02:00
Ivan Matyunin
5cfcbc7f7b Improved the appearance of code blocks when printing. 2015-07-29 16:50:28 -04:00
Robert Lord
ad3b2769fe Update tocify to recache headers on image load, fixes #293 2015-07-06 18:54:45 -07:00
Robert Lord
fd5cba00f0 Fix small bug with new language tabs 2015-06-20 01:53:20 -04:00
Robert Lord
d14fd0f70e Update language tabs to not disturb existing query strings, fixes #57 2015-06-20 01:49:25 -04:00
Robert Lord
872550d0b7 Update h3 fonts to work better for chinese, fixes #214 2015-06-20 00:48:56 -04:00
Robert Lord
a15a6ba1b1 Merge pull request #189 from realityking/fonts
Improvements for the icon font
2015-06-20 00:17:27 -04:00
Robert Lord
be57777a3d Add chinese fonts, thanks to @JayMiao 2015-06-20 00:05:46 -04:00
Rouven Weßling
a38011b4a5 Remove some unused JS. 2015-06-02 23:02:41 +02:00
Rouven Weßling
402f931fc9 Fix minor SCSS issues introduced in ab816e432a. 2015-06-01 23:27:03 +02:00
Robert Lord
6d6c3e6070 Merge pull request #263 from realityking/js
Don't generate unnecessary JS files.
2015-05-31 19:54:38 -05:00
Rouven Weßling
b7e65975b0 Add WOFF2 version of the icon font 2015-06-01 00:38:54 +02:00
Rouven Weßling
d27f5c4b7d Remove unused icons from the font 2015-06-01 00:38:54 +02:00
Rouven Weßling
384ffac2fd Don't generate unnecessary JS files.
Also exclude jquery.highlight from the nosearch version, as it's not needed there.
2015-06-01 00:29:57 +02:00
Rouven Weßling
ab816e432a Use Autoprefixer for vendor prefixes 2015-06-01 00:11:21 +02:00
MK
06c1641ad1 Consistency fixes
as discussed on commit 84b7705fd1
2015-05-28 18:41:56 -04:00
Robert Lord
f989143692 Fix styling bug in example index 2015-04-30 16:01:45 -05:00
Rouven Weßling
5da237e7fe Don't use a selector to get the heading text for search results.
Prevents bugs with special CSS characters.

Closes #201.
2015-04-30 16:01:44 -05:00
Rouven Weßling
c8e7c646dc Optimize images
Saves 26,9% on logo png and a whopping 96,6% on navbar.png
2015-04-30 16:01:18 -05:00
Rouven Weßling
f2ebab9325 Rename SCSS files, so no unnecessary stylesheets are generated. 2015-04-30 16:01:18 -05:00
Rouven Weßling
1d13e198d0 Update normalize.css to version 3.0.2 2015-04-30 16:01:18 -05:00
Rouven Weßling
b550f04dae Update jQuery UI to version 1.11.3 2015-04-30 16:01:18 -05:00
Rouven Weßling
b1e0ff5d94 Update lunr.js to version 0.5.7 2015-04-30 16:01:17 -05:00
Rouven Weßling
3a236aa81e Update jQuery to version 2.1.3 2015-04-30 16:01:17 -05:00
Rouven Weßling
a60fd38cda Use strict mode for JavaScript 2015-04-30 16:01:17 -05:00
Rouven Weßling
6062141cce Update Rouge to Version 1.8 2015-04-30 16:01:17 -05:00
Norton Wang
321a994cdc Fix typo 2015-04-29 18:14:36 -04:00
Robert Lord
eb5235ff8c Remove outline from lang selector links, add focus style 2015-01-23 20:39:40 -06:00
Robert Lord
5ad521614d Readd parent() selection for code samples 2015-01-23 20:27:55 -06:00
Robert Lord
be28b785a1 Fix scrollIntoView undefined bug when there is no hash, fixes #114
Thanks to @kevin-buttercoin for this fix!
2014-12-04 15:42:01 -08:00
Robert Lord
902ddd7fdc Update gems again 2014-12-04 15:39:17 -08:00
Derek Myers
2828342821 Changed text shadows to use mixin 2014-11-12 14:14:20 -06:00
Robert Lord
482f0b9979 Update language tabs to recalc toc heights on change 2014-11-05 20:56:48 -06:00
Robert Lord
77cdc3fc66 Update gems and new markup styling issue 2014-11-02 13:42:41 -06:00
xmo-odoo
39dc7095f7 Fix Python examples 2014-10-14 12:00:40 +02:00
Kevin Adams
b1256f4800 changed to use jQuery text method 2014-10-09 14:59:06 -07:00
Kevin Adams
b40b3b47ed fixed XSS vuln in searchbox 2014-10-08 16:38:46 -07:00
Robert Lord
82a99d5537 Increase line height for new font, add quotes around fonts 2014-07-17 09:41:10 -07:00
Robert Lord
3c36233e6b Merge pull request #95 from samdozor/dev
Changing the code font-family to prefer Menlo/Consolas over Monaco
2014-07-17 09:37:42 -07:00
Sam Dozor
54e4408d8c Changing the code-font font-family to prefer Menlo and Consolas over Monaco, and adding more back-up fonts. 2014-07-16 16:53:38 -04:00
Robert Lord
60d1dbd37d Update search results to scroll, remove initial dummy text 2014-07-03 00:11:02 -07:00
Robert Lord
18cd104883 Add better search results in a sliding search results area 2014-07-02 23:43:25 -07:00
Robert Lord
51e537aca2 Simplify embossed tocify styles, in preperation for search 2014-07-02 23:38:17 -07:00
Robert Lord
1b1427c3ee Add placeholder to search box 2014-07-02 22:46:14 -07:00
Robert Lord
324da17ba3 Fix bugs with toc not highlighting, begin search overhaul 2014-07-02 22:34:58 -07:00
Robert Lord
e8a491c9ea Fix unrecognized .highlight. bug #84 2014-06-24 01:03:39 -07:00
Robert Lord
d1fdd685a6 Fix default language selection bug 2014-06-22 03:10:26 -07:00
Robert Lord
0f93ffcc2b More js cleanup for #80 2014-06-22 02:41:16 -07:00
Robert Lord
bdbd7a38a8 Update app javascript to pass jslint, fixes #80 2014-06-22 02:37:01 -07:00
Robert Lord
b147e6a2d7 Update toc javascript to hopefully be more performant 2014-06-22 02:33:55 -07:00
Robert Lord
f4f2a1abfa Re-rotate nav button image 2014-06-14 19:43:37 -07:00
Robert Lord
b5419b1e9c Add background to nav button 2014-06-14 19:41:08 -07:00
Robert Lord
3a91faa8e6 Fix bug with messed up margin on some code samples on phones 2014-06-14 19:19:48 -07:00
Robert Lord
65496915b8 Hide mobile lang selector and search on print 2014-06-12 16:02:41 -07:00
Robert Lord
3125ad8f72 Add extra margin to nav touch targets on mobile 2014-06-12 01:48:53 -07:00
Robert Lord
1e144aaa66 Update nav button to go to very edge of screen 2014-06-12 01:39:37 -07:00
Robert Lord
1478579c59 Add language tabs to navbar on phone 2014-06-12 01:32:25 -07:00
Robert Lord
d77f1e7b9f Increase size of nav button touch target area 2014-06-12 00:51:50 -07:00
Robert Lord
e559ad1097 Add first draft of single column design for phones 2014-06-12 00:32:50 -07:00
Robert Lord
c2c35cfa25 Add retracting sidebar for tablets 2014-06-12 00:01:52 -07:00
Robert Lord
ec9a688846 Fix bad h1 top border commit 2014-06-11 23:09:04 -07:00
Robert Lord
4d4f6efeb8 Fix #75, don't set page hash to undefined 2014-06-11 22:10:31 -07:00
Robert Lord
5a69760f54 Remove top border from first h1 of page 2014-06-11 22:04:08 -07:00
Robert Lord
0aff03f8da Fixes #77, update sites without search
Sites without search now do not include search.js or lunr.js,
making the javascript for those pages much faster to load.
2014-06-11 21:58:33 -07:00
Robert Lord
b363be873b Update language tabs to properly stay in section, and fix history navigation bug 2014-06-11 21:49:37 -07:00
Robert Lord
7dead4c392 Update selected tab to not darken on mousedown 2014-06-11 21:21:28 -07:00
Robert Lord
d71ae97f7a Remove excess whitespace, add extra equal sign to lang.js 2014-06-11 21:15:26 -07:00
bootstraponline
1e341563fb Fix language on load 2014-05-18 12:29:03 -04:00
Christopher Rogers
e0cee862d9 Fixes a variable leak and simplifies low score filtration
Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>
2014-05-07 19:39:16 -07:00
Robert Lord
e5cf1f2589 Merge pull request #56 from bootstraponline/scroll_to_closest_header
Scroll to closest header
2014-05-05 12:16:45 -04:00
Robert Lord
6bf197da74 Merge pull request #53 from bootstraponline/dont_crash_on_invalid_language
Don't crash on invalid language
2014-05-05 11:51:40 -04:00
bootstraponline
2f617a2160 Scroll to closest header 2014-04-27 21:50:33 -04:00
bootstraponline
f9c4195f23 Don't crash on invalid language 2014-04-27 16:32:11 -04:00
bootstraponline
2384d9af3f Reposition headers based on score
Enforce min score
2014-04-26 10:23:57 -04:00
Robert Lord
84b3e5e3d6 Add search frontmatter key to specify visibility of search 2014-04-21 12:18:44 -04:00
Robert Lord
0316c0c5e9 Add aside print styling, fixes #4 2014-04-21 12:10:36 -04:00
Robert Lord
259bf0f560 Remove from screen.scss that was causing errors 2014-04-21 12:05:07 -04:00
Robert Lord
6d73ffb052 Remove leftover console.logs from tocify edits 2014-04-21 11:56:00 -04:00
Robert Lord
75869a561f Prevent reload page on language change, fixes #36
- Uses onpopstate to handle users pressing back buttons
- Switches the query string and changes the language
  without reloading.
- Thanks to @bootstraponline for some of the code in this commit.
2014-04-21 11:31:32 -04:00
bootstraponline
03b28598cc Fix flash as suggested by @lord 2014-04-19 22:01:56 -04:00
Robert Lord
0feb513407 Adjust search info appearance, fix Firefox bug 2014-04-19 21:36:00 -04:00
Robert Lord
7386fd2e21 Fix bug with section padding and long code blocks 2014-04-19 18:04:23 -04:00
Robert Lord
fc0c995cb6 Add h4,h5,h6 as suggested by @bootstraponline, fix section padding 2014-04-19 17:58:42 -04:00
Christopher Rogers
a4e1fb3c24 Adds js handler for setting search info box width equal to content width
Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>
2014-04-16 15:05:05 -07:00
Christopher Rogers
0ebbae94fe Cleans up some css
Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>
2014-04-16 14:11:43 -07:00
Christopher Rogers
440c799c4c Removes lunr stemmer from search index pipeline
Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>
2014-04-16 14:03:58 -07:00
Christopher Rogers
3c4e0d0bae Switches jQuery to load through Google CDN
Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>
2014-04-15 13:44:56 -05:00
Christopher Rogers
0a0e84b8e8 Standardizes search styles
Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>
2014-04-15 13:40:45 -05:00