Mathieu David
69b3e2b5cb
Merge pull request #332 from budziq/silence_404s
...
error spewing on iron 404 errors
2017-06-23 11:27:31 +02:00
Mathieu David
5e93decf6e
Merge pull request #328 from sunng87/feature/handlebars-upgrade
...
Update handlebars and some helpers
2017-06-23 11:16:52 +02:00
Michal Budzynski
79cdcb46de
extract serving code to a separate module
2017-06-23 08:59:42 +02:00
Michal Budzynski
f889eb3d12
first draft of silencing 404 errors
2017-06-23 08:54:14 +02:00
Mathieu David
3306c030e1
Merge branch 'master' of github.com:azerupi/mdBook
2017-06-23 01:10:38 +02:00
Mathieu David
239886a5cf
Merge branch 'budziq-minor_refactor'
2017-06-23 01:10:29 +02:00
Mathieu David
f3cb4265ca
Fix typo
2017-06-23 01:10:18 +02:00
Mathieu David
28afebdca2
Merge branch 'minor_refactor' of https://github.com/budziq/mdBook into budziq-minor_refactor
2017-06-23 01:09:26 +02:00
Mathieu David
ab31f4b027
Merge pull request #310 from jimmydo/ios-scroll-to-top
...
On iOS, allow scrolling to the top of the page by tapping the top of the screen
2017-06-23 01:01:19 +02:00
Mathieu David
4128a78171
Merge branch 'master' of github.com:azerupi/mdBook
2017-06-23 00:50:11 +02:00
Mathieu David
7f60db069f
Merge branch 'jimmydo-curly-quotes'
2017-06-23 00:49:46 +02:00
Mathieu David
26fc980ffb
Remove 'curly_quotes' key from the json config
2017-06-23 00:48:59 +02:00
Mathieu David
d252dc82d6
Merge branch 'curly-quotes' of https://github.com/jimmydo/mdBook into jimmydo-curly-quotes
2017-06-23 00:43:57 +02:00
Mathieu David
c186d72b40
Merge pull request #346 from projektir/playpen_no_html
...
Creating markdown code from playpen files instead of HTML #345
2017-06-21 16:46:05 +02:00
projektir
73160877b3
Creating markdown code from playpen files instead of HTML #345
2017-06-21 09:33:41 -04:00
Mathieu David
49336e0698
Merge branch 'master' of github.com:azerupi/mdBook
2017-06-18 19:21:08 +02:00
Mathieu David
f0c697afd5
Merge branch 'jmillikan-master'
2017-06-18 19:20:23 +02:00
Mathieu David
cff1ed5e08
remove #content
2017-06-18 19:19:48 +02:00
Mathieu David
73c845fbbe
Merge branch 'master' of git://github.com/jmillikan/mdBook into jmillikan-master
2017-06-18 19:14:32 +02:00
Jimmy Do
193f014a5b
Add an option to convert to curly quotes when rendering to HTML
2017-06-18 10:11:04 -07:00
Jimmy Do
bd9b0d29ea
On iOS, allow scrolling to the top of the page by tapping the top of the screen
...
* This is a built-in function of iOS Safari that didn't work because the
page content was inside absolutely-positioned, scrollable divs.
* The fix is to stop using absolute positioning on `.page-wrapper` and
`.page`, so that the content uses static positioning and flows
naturally down the page.
* Consequently, `.sidebar` and `.nav-chapter` now have to use `position:
fixed` in order to be positioned relative to the viewport.
* This fix also enables Safari's built-in behavior of automatically
hiding the top and bottom toolbars when scrolling down the page.
2017-06-18 09:58:52 -07:00
Mathieu David
29708db467
Merge pull request #337 from budziq/focus_fix
...
Select right pane content on page load
2017-06-16 13:40:36 +02:00
Michal Budzynski
c1c06d6dc1
Auto focus on content to allow keyboard navigation
2017-06-15 23:15:41 +02:00
Michal Budzynski
e8908e32c9
Minor cleanup
...
- removing need to explicitly use `Path::new` all over the place
- removed warnings from doctests (normally invisible unless `cargo test -- --nocapture`)
- no doctests are norun/ignore now
- updated docs both in book-example and in docs not to refer to nonexisting API's
2017-06-14 21:55:42 +02:00
Mathieu David
9e9a08806d
Merge pull request #329 from budziq/ios_playpen_buttons
...
Fix for playpen buttons missing on mobile safari and chrome IOS
2017-06-13 18:43:34 +02:00
Michal Budzynski
ee9fa8c86f
Fix for playpen buttons missing on mobile safari and chrome IOS
2017-06-13 16:59:29 +02:00
Ning Sun
e890579141
(fix) some merge issue
2017-06-13 20:53:25 +08:00
Ning Sun
9aa39a6a12
(chore) update handlebars to 0.27.0
...
Signed-off-by: Ning Sun <sunng@about.me>
2017-06-13 20:43:36 +08:00
Ning Sun
6ee6da074e
(refactor) rework helpers based on new handlebars api
...
Signed-off-by: Ning Sun <sunng@about.me>
2017-06-13 20:43:17 +08:00
Ning Sun
2bb274d424
Merge branch 'master' of github.com:azerupi/mdBook
2017-06-13 20:40:46 +08:00
Mathieu David
19692c76df
Merge pull request #326 from budziq/fix_clipboard
...
copying to clipboard no longer copies the compilation results from "play"
2017-06-12 14:15:41 +02:00
Michal Budzynski
a6275ebcdb
copying to clipboard no longer copies the compilation results from "play"
2017-06-12 14:02:53 +02:00
Mathieu David
6a279e2775
Merge branch 'Cldfire-master'
2017-06-12 11:26:19 +02:00
Mathieu David
9ce6eebe43
Merge branch 'master' of git://github.com/Cldfire/mdBook into Cldfire-master
2017-06-12 11:19:31 +02:00
Mathieu David
0b6378eb13
Merge branch 'budziq-custom_js'
2017-06-12 11:10:46 +02:00
Mathieu David
350c86155b
Merge branch 'custom_js' of git://github.com/budziq/mdBook into budziq-custom_js
2017-06-12 11:09:07 +02:00
Mathieu David
ad9bda2d69
Merge pull request #324 from budziq/store_js
...
Move from localStorage to store.js (v2.0.3) - also hide sidebar on mobile
2017-06-12 11:03:03 +02:00
Michal Budzynski
08fd255a56
Move from localStorage to store.js (v2.0.3)
...
Fixes a lot of browser incompatibilities in localStorage/cookie handling
Including but not limited to:
- loss of styling and functionality on chromium private mode
- loss of styling and functionality on safari and safari private mode
- awaiting verification if problems in mobile safari are solved.
2017-06-12 01:53:25 +02:00
Michal Budzynski
f607978780
Hide sidebar on link selection when it occupies large space
...
in relation to the whole screen width (solves problems on phones)
2017-06-11 15:13:31 +02:00
Michal Budzynski
f96e7e5cba
Implemented support for additional JS
2017-06-11 15:08:09 +02:00
Mathieu David
6c279453d9
Merge pull request #321 from pravic/es5-fix
...
One more ES5 fix.
2017-06-09 22:10:03 +02:00
pravic
56163f69f8
One more ES5 fix.
2017-06-09 22:48:57 +03:00
Mathieu David
a9862a56b3
Merge pull request #320 from pravic/es5-fix
...
Fix ES5 compatibility.
2017-06-09 21:41:23 +02:00
pravic
eba90f5440
Fix ES5 compatibility.
2017-06-09 21:59:29 +03:00
Cldfire
44efc65c63
Add `Ayu` theme
...
Also adds the a new variable, `$inline-code-color`, to base.styl. The `Ayu` theme needed this to change the text color of inline code.
2017-06-06 16:35:44 -04:00
Steve Klabnik
8a05f0d499
Merge pull request #287 from azerupi/toml-config
...
Revamp config code
2017-06-05 10:56:44 -04:00
Mathieu David
f1121cf8c2
fix build failure
2017-06-04 20:47:34 +02:00
Mathieu David
1a8e54bb52
remove unused methods
2017-06-04 20:41:31 +02:00
Mathieu David
23efa9e146
Document the TOML configuration file
2017-06-04 20:41:31 +02:00
Mathieu David
bb4ceb481f
Allow an additional custom stylesheets, closes #178
2017-06-04 20:41:31 +02:00