Mathieu David
159b300067
Merge branch 'master' into hide-rust-js
2015-12-28 16:40:56 +01:00
Mathieu David
0dd6a17187
Fix some small things in javascript
2015-12-28 16:39:14 +01:00
asolove
0ab8a73ba2
Add anchors around all headers in the content.
...
- Just uses the header's text as its anchor name. Spaces work. Scrolling to the anchor works even when the anchor is added after the dom loads.
- Adjust theme css to only style links, not <a> tags used as anchors.
2015-12-27 15:17:59 -07:00
asolove
1de00f9cd7
On page load, scroll sidebar to active section.
2015-12-26 20:45:50 -07:00
Mathieu David
c1c1074292
Fix back-button cache problem? #59
2015-09-24 22:33:05 +02:00
Mathieu David
6c240090ae
Fix #47 sidebar stays hidden even after page change
2015-09-24 16:47:33 +02:00
mdinger
3dc8ff5e62
Add a rust theme
2015-09-14 05:25:42 -04:00
mdinger
a52f5689a6
Add javascript for switching between 3 different themes
2015-09-14 05:09:46 -04:00
Mathieu David
37b68c41f7
Theme toggle button
2015-09-14 05:02:41 -04:00
Mathieu David
d03ae79765
Added a page containing the whole book for printing purposes, closes #41 + cleaning root path
2015-09-05 17:26:32 +02:00
Mathieu David
90719f721b
Added syntax highlighting with highlight.js Closes #31 + Added a new chapter to the docs #30 .
2015-08-05 18:28:59 +02:00
Mathieu David
842196b91c
Cleaned up the handlebars helpers, it's a lot more customizable because the user can put whatever template he wants inside and I just expose link and name of previous / next chapter. JavaScript part is removed. #26
2015-08-04 12:52:32 +02:00
Mathieu David
5b11907a56
Added navigation icons + javascript code to hide them when there is no previous or next. Closes #12
2015-08-01 14:18:25 +02:00
Mathieu David
0e27a473c5
Sidebar is now hidden on mobile devices and can be hidden/shown with the button
2015-07-29 13:34:48 +02:00
Mathieu David
be0bfa7170
Split of the creating of the JSon object into it's own function
2015-07-19 14:02:21 +02:00