Commit Graph

114 Commits

Author SHA1 Message Date
Mathieu David
58d18d467c Fixed a bug where custom theme was appended to default theme + Changed syntax highlighting theme to something lighter, the dark theme did not fit the light style of the page 2015-08-05 19:14:03 +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
16318273f3 Merge the updated handlebars helpers in master. Closes #26 2015-08-04 12:58:20 +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
4ae77d771a Moved book.json from src to root. Now src can be set to whatever you want. Closes #27 2015-08-04 01:25:41 +02:00
Mathieu David
a77fe94c02 Started to clean the 'previous' and 'next' handlebars helpers #26 But got stuck, waiting for a response 2015-08-03 22:09:26 +02:00
Mathieu David
91b0a99d81 Fix bug in menu-bar title, again... Because I didn't solve it previously 2015-08-03 18:17:39 +02:00
Mathieu David
fd58a4d441 Fix bug where menu-bar title was on top of the menu-bar icons making them unclickable 2015-08-03 14:59:18 +02:00
Mathieu David
c64824a18c Added author and dest field in book.json, fixed bug when output directory did not exist. Closes #7 2015-08-03 14:23:32 +02:00
Mathieu David
9b4298c066 Initial implementation for reading the config file: book.json #7 2015-08-03 01:37:13 +02:00
Mathieu David
ef00851b8e Fixes #24 2015-08-01 17:21:05 +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
31f638eae3 Add active class to currently viewed chapter in the sidebar. Closes #20 2015-07-31 15:06:08 +02:00
Mathieu David
18c3ed4540 Added an example book also containing the docs 2015-07-30 11:59:08 +02:00