Samy Pessé
|
8b6a80cffb
|
Fix error when chapters list is empty
Fix GitbookIO/gitbook.io#101 and GitbookIO/gitbook.io#102
|
2014-06-24 12:34:29 +02:00 |
|
Aaron O'Mullan
|
86f8a9d8fb
|
Remove useless (and bad) sort on progress
Fixes bad ordering of chapters on gitbook.io
|
2014-06-20 03:40:47 -07:00 |
|
Aaron O'Mullan
|
6c5c8e6eb7
|
Fix LANGS.md parsing
And cleanup Summary parsing
|
2014-06-17 16:18:08 -07:00 |
|
Aaron O'Mullan
|
c87edb155a
|
Better string slicing in parse.git.githubID()
|
2014-06-16 17:48:18 -07:00 |
|
Aaron O'Mullan
|
4c3dbca5ca
|
Normalize intro node in Summary parsing
|
2014-06-16 00:26:11 -07:00 |
|
Aaron O'Mullan
|
a258feea37
|
Remove special case in navigation
For intro node
|
2014-06-16 00:25:59 -07:00 |
|
Aaron O'Mullan
|
94bbbecedf
|
Support custom intro node, fixes #318
|
2014-06-15 23:30:43 -07:00 |
|
Samy Pessé
|
a0d5646034
|
Adapt navigation parsing to third and more levels in summary
|
2014-05-26 17:42:05 +02:00 |
|
Samy Pessé
|
f228f646eb
|
Remove useless method parseArticle
|
2014-05-26 17:23:19 +02:00 |
|
Samy Pessé
|
45891d80c7
|
Parse more than two level in summary
|
2014-05-26 17:21:23 +02:00 |
|
Samy Pessé
|
ad9b1fd6f7
|
Fix order of progress for level superior to x.9
Related to GitbookIO/gitbook.io#23
|
2014-05-21 23:31:57 +02:00 |
|
Aaron O'Mullan
|
21fd5924b8
|
Fix generate failing on README parsing
Failed if no title or description could be extracted
|
2014-05-20 23:29:06 -07:00 |
|
Samy Pessé
|
86f05c68c5
|
Improve parsing of readme (extraction of title and description as plain text and not markdown)
|
2014-05-20 23:45:35 +02:00 |
|
Matteo Ronchi
|
2e22fae52a
|
Force forward slashes on SUMMARY.md paths
this prevent windows user to generate invalid path on unix OS
Reference to issue #39 on gitbook-editor
|
2014-05-08 22:46:53 +02:00 |
|
Samy Pessé
|
5f1bfc0280
|
Fix #163: Move logic of git infos extraction to lib
|
2014-04-28 20:16:30 +02:00 |
|
Nattaphoom Ch
|
8f4b799d3c
|
Make quiz easier to click by surround it with label.
|
2014-04-24 01:19:13 +07:00 |
|
Samy Pessé
|
305f221077
|
Fix #136: replace links to .md by links to .html
Add more tests for links in page
|
2014-04-22 17:45:12 +02:00 |
|
Aaron O'Mullan
|
c9db068227
|
Refactor navigation generation to be functional
This makes it a lot less error prone and far more robust. As well as a
lot easier to understand
|
2014-04-18 11:49:55 -07:00 |
|
Samy Pessé
|
b5bb953e47
|
Fix image path calcul
|
2014-04-18 17:15:03 +02:00 |
|
Aaron O'Mullan
|
a36b9a6088
|
Normalize code language before highlighting
|
2014-04-17 01:09:26 -07:00 |
|
Aaron O'Mullan
|
52610d7d61
|
Disable automatic highlighting
Fallback to no highlighting rather that potentially funky highlighting
|
2014-04-16 13:15:35 -07:00 |
|
Aaron O'Mullan
|
9e4b393b7a
|
In parse/page remove global marked settings
Highlighter settings were global, moved them to the render function
(where they should have been)
|
2014-04-16 13:07:35 -07:00 |
|
Samy Pessé
|
a0ae34a3b7
|
Fix #100: fix section test isQuiz
|
2014-04-16 17:16:18 +02:00 |
|
Samy Pessé
|
c0ca055bf4
|
Add readme parsing for extracting title and description
|
2014-04-14 19:21:43 +02:00 |
|
Aaron O'Mullan
|
6173fb76ad
|
Refactor, document, improve section type detection
Especially for quiz types
|
2014-04-12 01:50:48 -07:00 |
|
James Phillpotts
|
b07681a16a
|
Quiz with GFM checkbox lists
|
2014-04-12 01:26:03 -07:00 |
|
James Phillpotts
|
f6595f5111
|
Tabular quiz
|
2014-04-12 01:25:07 -07:00 |
|
Aaron O'Mullan
|
892ec04f52
|
Merge pull request #78 from mrpotes/mocha-windows
Fix URL creation on windows
|
2014-04-10 11:44:33 -07:00 |
|
James Phillpotts
|
8f457a752e
|
Use OS-agnostic path generation for images too
|
2014-04-10 11:00:52 +01:00 |
|
James Phillpotts
|
435a4b8c99
|
Use API from node 0.8
|
2014-04-10 10:45:54 +01:00 |
|
Aaron O'Mullan
|
e54b808093
|
Improve section detection, fixes #68
|
2014-04-10 02:32:37 -07:00 |
|
James Phillpotts
|
fb7653bd14
|
Fix URL creation on windows
|
2014-04-10 10:31:32 +01:00 |
|
Aaron O'Mullan
|
392573a990
|
Add lexing support for content code in exercises
#52, #49, #46
|
2014-04-08 15:01:12 -07:00 |
|
Aaron O'Mullan
|
554d6a6170
|
Fix URL rewriting error on empty URLs
Fixes #54, fixes #59
|
2014-04-08 14:47:36 -07:00 |
|
Aaron O'Mullan
|
c166a9863e
|
Resolve image URLs, fixes #38
Using outidr & dir options
|
2014-04-06 16:05:12 -07:00 |
|
Aaron O'Mullan
|
eecb33baa8
|
Fix relative link detection in renderer
|
2014-04-06 15:46:20 -07:00 |
|
Aaron O'Mullan
|
696cbdc3b1
|
Generate section.id in lexer
This allows generating correct URLs for our search index
|
2014-04-06 14:53:33 -07:00 |
|
Aaron O'Mullan
|
9270d7949a
|
In page parser, lex only if not already lexed
|
2014-04-06 14:13:48 -07:00 |
|
Aaron O'Mullan
|
c98ba22b08
|
Move page lexer to separate module
Allow lexer to be used independently of page parser/renderer
|
2014-04-06 14:02:49 -07:00 |
|
Samy Pessé
|
53f714b7f3
|
Add base for generating languages index
|
2014-04-06 12:52:35 -07:00 |
|
Aaron O'Mullan
|
eeb715d5d6
|
Prevent renderer from mutating sections
|
2014-04-06 00:21:55 -07:00 |
|
Aaron O'Mullan
|
58bee15f37
|
Add basic code language normalization
|
2014-04-05 20:04:24 -07:00 |
|
Aaron O'Mullan
|
e414cbd6d1
|
Detect exercise language
And ensure that all code blocks use the same language
|
2014-04-05 13:53:31 -07:00 |
|
Samy Pessé
|
91359fab1e
|
_path is not used anymore
|
2014-04-04 09:47:34 -07:00 |
|
Samy Pessé
|
a52a4bed1a
|
Change normalization of parser to give link in .md
|
2014-04-04 09:47:06 -07:00 |
|
Samy Pessé
|
cb9a0b82ba
|
Fix some typos in lib
|
2014-04-04 00:00:12 -07:00 |
|
Aaron O'Mullan
|
ecb07468f6
|
Resolve relative links to GitHub repo, fixes #6
Useful for linking to blobs and other files …
|
2014-04-02 18:40:53 -07:00 |
|
Aaron O'Mullan
|
3adcd77ae4
|
Merge sections together, fixes #7
|
2014-04-02 16:40:51 -07:00 |
|
Samy Pessé
|
62a2e8f81c
|
Fix #8: Improve page title
|
2014-04-02 16:38:24 -07:00 |
|
Aaron O'Mullan
|
6bcc2d8cf2
|
Expose titles in navigation of current nodes
|
2014-04-02 16:33:31 -07:00 |
|