Samy Pessé
1659778a77
Bump version to 1.3.1
2014-11-03 16:58:37 +01:00
Samy Pessé
40c4035afb
Fix #491 : handle correctly url without path for links
2014-11-03 16:57:35 +01:00
Samy Pessé
0feb672d70
Bump version to 1.3.0
2014-11-01 15:36:10 +01:00
Samy Pessé
2a4ef5bbf4
Fix dependency in renderer
2014-11-01 15:21:16 +01:00
Samy Pessé
c4540332a7
Bundle gitbook parser as a client side library
2014-11-01 15:09:58 +01:00
Samy Pessé
2104404cb3
Remove dependency for path in parser
2014-11-01 15:09:41 +01:00
Samy Pessé
002d685ebb
Adapt include in page parsing to works on clientside
2014-11-01 15:00:13 +01:00
Samy Pessé
1e4632080b
Bump version to 1.2.0
2014-10-30 18:27:56 +01:00
Samy Pessé
5191106396
Update documentation in readme
2014-10-30 18:27:26 +01:00
Samy Pessé
6ab5cafaf3
Improve toc in ebook ( Fixes #338 , #322 )
2014-10-30 18:14:06 +01:00
Samy Pessé
d1c0cb9c71
Normalize template paths
2014-10-30 18:01:56 +01:00
Samy Pessé
38c750101c
Fix #487 : Use generated toc as base for ebook generation
2014-10-30 17:52:39 +01:00
Samy Pessé
ba0f379a89
Add plugin infinitescroll
2014-10-30 16:19:19 +01:00
Samy Pessé
1d9509b3b6
Merge pull request #485 from citizenmatt/Nested_list_spacing
...
Fix bottom border on nested ul
2014-10-30 14:15:54 +01:00
Samy Pessé
3c8de4a8ab
Add 'variables' to book.json doc
2014-10-29 17:20:30 +01:00
Samy Pessé
591d8fc9ee
Use book.json to store variables
2014-10-29 17:19:19 +01:00
Samy Pessé
d480e9cea4
Update highlight.js@8.3.0
2014-10-23 17:05:27 +02:00
Matt Ellis
32a71869da
Fix bottom border on nested ul
2014-10-23 09:19:02 +01:00
Samy Pessé
fdbfda64a6
Merge pull request #483 from dharmeshkakadia/patch-1
...
Corrected a small typo in Plugins description
2014-10-21 15:45:45 +02:00
Dharmesh Kakadia
a6f48be39e
Corrected a small typo in Plugins description
2014-10-21 00:47:37 +05:30
Aaron O'Mullan
ce50b893e9
Merge pull request #482 from GitbookIO/feature/includes
...
Add include support, with variables and the whole shebang
2014-10-15 21:29:23 +02:00
Aaron O'Mullan
225ff27dd1
Fix small incompatibility mistake
2014-10-15 21:28:53 +02:00
Aaron O'Mullan
52e8361846
Add include support, with variables and the whole shebang
...
Fixes #462
2014-10-15 21:20:10 +02:00
Samy Pessé
49e3bbc3d6
Bump version to 1.1.1
2014-10-13 16:03:47 +02:00
Aaron O'Mullan
c9ec911d0e
Merge pull request #472 from GitbookIO/fix/quizzes
...
Fix/quizzes
2014-10-13 15:55:32 +02:00
Aaron O'Mullan
84d7662fd8
Allow quiz titles in validation
2014-10-13 15:55:59 +02:00
Aaron O'Mullan
676b2287ee
Rewrite quiz logic to be more robust
...
Fixes #470
2014-10-13 15:50:12 +02:00
Samy Pessé
32a64be407
Fix #460 : search for glossary term on all nodes
2014-10-13 15:23:51 +02:00
Samy Pessé
138cddf3d6
Ste GitBook as publisher
2014-10-13 15:23:00 +02:00
Aaron O'Mullan
d730a3aac6
Split section classification to separate files
...
Maybe have a sections folder in the future and one per type
(quiz/exercise/normal) ?
2014-10-13 15:07:46 +02:00
Aaron O'Mullan
ffb0b12012
Add unit test for quiz false positivies
2014-10-13 14:17:08 +02:00
Samy Pessé
78e25f8252
Add link to gitbook.gitignore
2014-10-13 11:10:28 +02:00
Samy Pessé
09f42f57e1
Improve comments
2014-10-13 11:01:00 +02:00
Samy Pessé
950ad1d060
Remove reference to single page output
2014-10-13 10:59:32 +02:00
Samy Pessé
ed6b29c1a4
Adapt tests
2014-10-13 10:57:47 +02:00
Samy Pessé
36785120b1
Fix default for pdf templates
2014-10-13 10:56:14 +02:00
Samy Pessé
26fad5b888
Remove ref to github options
2014-10-13 10:53:51 +02:00
Samy Pessé
f049576575
Merge branch 'alexandreaquiles-pdf_header_and_footer'
2014-10-13 10:48:33 +02:00
Samy Pessé
a7ecbb87e4
Force type of header and footer templates
2014-10-13 10:48:02 +02:00
Samy Pessé
1da341741b
Merge pull request #471 from GitbookIO/feature/multipages
...
Use multiple HTML files for ebook generation
2014-10-13 10:41:23 +02:00
Samy Pessé
2dd6192576
Remove old codes
2014-10-12 22:25:39 +02:00
Samy Pessé
52c9347b9c
Improve style for exercises and quizzes in ebook
2014-10-12 22:07:37 +02:00
Samy Pessé
e2295591ed
Handle correctly quizzes
2014-10-12 11:42:32 +02:00
Samy Pessé
0c1cb724d7
Handle correctly exercises in ebook
2014-10-12 11:37:51 +02:00
Samy Pessé
7cee248426
Generate multiple page for ebook
2014-10-12 11:32:45 +02:00
Aaron O'Mullan
6ea5b2b539
Fix incorrect page breaks after h1 and h2 divs
...
Fixes #463 , fixes #337 , fixes #293
2014-10-08 20:08:22 +02:00
Alexandre Aquiles
a56b559d43
Adding options to set header and footer in PDF generation
2014-10-06 13:17:34 -03:00
Samy Pessé
df1a82e0e4
Add changelog for 1.1.0
2014-09-24 14:57:50 +02:00
Samy Pessé
f15a1efe71
Bump version to 1.1.0
2014-09-24 14:56:09 +02:00
Samy Pessé
b8379fc6fa
Update kramed@0.4.3
2014-09-24 14:53:42 +02:00
Samy Pessé
d69cc74647
Merge pull request #440 from GitbookIO/feature/ebookplugins
...
Apply plugins to ebook generation
2014-09-17 15:02:22 +02:00
Samy Pessé
f83874a9ca
Fix correct folder for assets
2014-09-17 14:16:04 +02:00
Samy Pessé
1968bb79c2
Use correct resources file for ebook
2014-09-17 13:17:30 +02:00
Samy Pessé
60c721db40
Enable css from plugins in page output
2014-09-17 13:10:36 +02:00
Samy Pessé
11b299653f
Remove githubId
...
Enable hook for ebook
2014-09-17 13:08:30 +02:00
Samy Pessé
c8c07fe8ce
Add base to use plugins in page format
2014-09-17 13:00:28 +02:00
Samy Pessé
be0a4f08e9
Merge pull request #435 from markcxz/master
...
fix radio input uncheck failed
2014-09-10 09:56:12 +02:00
markcxz
4da4e28d07
fix radio input uncheck failed
2014-09-10 10:27:27 +08:00
Samy Pessé
9dc19026c6
Add changelog for version 1.0.3
2014-09-05 17:15:04 +02:00
Samy Pessé
31ca9f7fcb
Bump version to 1.0.3
2014-09-05 17:12:03 +02:00
Samy Pessé
6925d39e8d
Fix GitbookIO/editor#136 : update highlight.js@8.2.0
2014-09-05 17:10:47 +02:00
Samy Pessé
a24cafd975
Update plugin-mathjax@0.0.6
2014-09-02 23:25:33 +02:00
Aaron O'Mullan
e3fdf8b404
Bump version to 1.0.2
2014-08-20 17:03:31 -07:00
Aaron O'Mullan
c861223378
Use gitbook-plugin-mathjax@0.0.5
2014-08-20 17:01:14 -07:00
Aaron O'Mullan
f5c6d8df71
Bump version to 1.0.1
2014-08-20 16:30:04 -07:00
Aaron O'Mullan
452c846e90
Update framed to 0.4.2
...
This uses the new kramdown convention for inline math
2014-08-20 16:27:50 -07:00
Samy Pessé
aedd875ab7
Fix url for sharing
2014-08-20 15:54:11 -07:00
Samy Pessé
d2ec2f8f02
Add plugins exercises and quizzes by default
2014-08-20 10:33:34 -07:00
Samy Pessé
5af0df93c3
Normalize titles in readme
2014-08-19 16:39:54 -07:00
Samy Pessé
5b4b5e1af7
Bump version to 1.0.0
2014-08-19 16:18:29 -07:00
Samy Pessé
21704c4ac2
Add documentation for glossary format
2014-08-19 16:16:59 -07:00
Aaron O'Mullan
71aff10092
Merge pull request #413 from GitbookIO/feature/glossary
...
Glossary terms highlight in page
2014-08-19 16:09:47 -07:00
Samy Pessé
4b390667e5
Replace whole word with glossary term
2014-08-19 16:10:02 -07:00
Samy Pessé
14dda3148d
Improve replace of words with glossary links
2014-08-19 16:05:57 -07:00
Samy Pessé
511dc9f805
Add action on glossary term in the page
2014-08-19 15:40:37 -07:00
Samy Pessé
d0a14dcbcc
Write correct glossary to disk
2014-08-19 10:36:27 -07:00
Samy Pessé
ec8dc2cdb0
Improve design for glossary page
2014-08-18 22:00:34 -07:00
Samy Pessé
6f1ef585be
Show index on glossary page
2014-08-18 21:53:07 -07:00
Samy Pessé
d84acd0b82
Dump glossary index to glossary_index.json
2014-08-18 21:32:10 -07:00
Samy Pessé
e1723ad3d5
Remove debug
2014-08-18 21:25:27 -07:00
Samy Pessé
f77404afe1
Merge pull request #411 from GitbookIO/glossary-search
...
Glossary search
2014-08-18 19:14:14 -07:00
Aaron O'Mullan
fbd7522748
Replace kramed-text-renderer references
...
with “kramed-text-renderer”
2014-08-18 18:36:38 -07:00
Aaron O'Mullan
90320fd26c
Add glossary indexing
2014-08-18 17:25:26 -07:00
Aaron O'Mullan
4f9b474fdd
Use kramed 0.4.1
2014-08-18 12:01:26 -07:00
Aaron O'Mullan
4c921bdc09
Use kramed-text-renderer (0.2.1)
2014-08-18 12:01:12 -07:00
Aaron O'Mullan
93e0864063
Fix dump typo in glossary's entryId func
2014-08-17 21:18:42 -07:00
Aaron O'Mullan
80e2f23714
Add "id" attribute to parsed glossary entries
2014-08-17 21:13:39 -07:00
Samy Pessé
00496dbd09
Add link to glossary if exists
2014-08-17 17:46:55 -07:00
Samy Pessé
54fb9a58d7
Add base less for glossary
2014-08-17 11:34:33 -07:00
Samy Pessé
6b0ad22b19
Base template for glossary
2014-08-17 11:26:20 -07:00
Samy Pessé
17f40540ae
Parse glossary during build
2014-08-17 11:16:36 -07:00
Samy Pessé
d337a500dc
Merge pull request #408 from GitbookIO/feature-glossary
...
Feature glossary
2014-08-15 12:12:20 -07:00
Aaron O'Mullan
cbe4e9edec
Simplify output of glossary parsing to more simple objects
2014-08-15 12:09:36 -07:00
Samy Pessé
402e88f866
Add best practices for .gitignore
2014-08-15 11:55:01 -07:00
Aaron O'Mullan
e0aed828e0
Add very basic glossary parsing test
2014-08-11 19:41:06 -07:00
Aaron O'Mullan
323facbdc8
Add glossary parser
2014-08-11 18:57:39 -07:00
Aaron O'Mullan
2a61c858e4
Add GLOSSARY.md fixture
2014-08-11 18:53:05 -07:00
Aaron O'Mullan
d216661f27
Merge pull request #403 from GitbookIO/version/1.0.0
...
Version 1.0.0
2014-08-11 09:42:18 -07:00
Samy Pessé
50dfee99b6
Fix code coloration in book markdown
2014-08-11 09:37:25 -07:00
Samy Pessé
9e8ed9ac68
Use new markdown content css
2014-08-11 08:42:47 -07:00
Samy Pessé
3a54554713
Normalize markdown rendering with ebook (pdf, epub, mobi)
2014-08-11 08:38:11 -07:00
Samy Pessé
fc113ce0c3
Fix style for table on night and sepia themes
2014-08-11 07:36:54 -07:00
Samy Pessé
f605f0b6c8
Fix color or title for sepia and night
2014-08-11 07:36:54 -07:00
Samy Pessé
08788edfd3
Change list of plugins to a table
2014-08-11 07:36:54 -07:00
Samy Pessé
4a0e19935f
Improve readme doc
2014-08-11 07:36:54 -07:00
Samy Pessé
a3454bb7a8
Update preview
2014-08-11 07:36:53 -07:00
Samy Pessé
7245fa8ad7
Add icon for iOS
2014-08-11 07:36:53 -07:00
Samy Pessé
d771ff341d
Improve spacing between titles
2014-08-11 07:36:53 -07:00
Samy Pessé
8171241666
Remove quizzes handling from core
2014-08-11 07:36:53 -07:00
Samy Pessé
1125e89b49
Fix error with markdown rendering
2014-08-11 07:36:53 -07:00
Samy Pessé
67fd5a060b
Add style for buttons
2014-08-11 07:36:52 -07:00
Samy Pessé
4f60eda3ee
Add style for alerts
...
Remove style for exercises
2014-08-11 07:36:52 -07:00
Samy Pessé
6c62d75eae
Remove exercises execution
2014-08-11 07:36:52 -07:00
Samy Pessé
bcfcf3d979
Fix sharing to instapaper
2014-08-11 07:36:52 -07:00
Samy Pessé
b4497029db
Improve normalization of variables for dropdown
2014-08-11 07:36:52 -07:00
Samy Pessé
23ac4b846d
Add sharing to instapaper
2014-08-11 07:36:51 -07:00
Samy Pessé
691d04e994
Improve dropdown to make it global
...
Add dropdown for sharing
2014-08-11 07:36:51 -07:00
Samy Pessé
a54959ee4f
Show title on hover of header
2014-08-11 07:36:51 -07:00
Samy Pessé
76ebca8c55
Fix url.js inclusion
2014-08-11 07:36:51 -07:00
Samy Pessé
786c4f147d
Use fontawesome from bower
2014-08-11 07:36:51 -07:00
Samy Pessé
7028fc7118
Remove useless comments from less
2014-08-11 07:36:50 -07:00
Samy Pessé
1c3210e789
Fix display of input in search
2014-08-11 07:36:50 -07:00
Samy Pessé
c28b804352
Remove bootstrap dependency
2014-08-11 07:36:50 -07:00
Samy Pessé
6d841c909b
Remove appCache handling from client js
2014-08-11 07:36:50 -07:00
Samy Pessé
e917fd28e0
Change term "Generated" to "Published"
2014-08-11 07:36:49 -07:00
Samy Pessé
ab88459a56
Change default font
2014-08-11 07:36:49 -07:00
Samy Pessé
fe95c361be
Fix options parsing
2014-08-11 07:36:49 -07:00
Samy Pessé
7e78546516
Change links system for sidebar
2014-08-11 07:36:49 -07:00
Samy Pessé
d07b9450b1
Fix defaults for configuration
2014-08-11 07:36:49 -07:00
Samy Pessé
c30b431b7b
Remove link home in header
2014-08-11 07:36:48 -07:00
Samy Pessé
0fe54fbd57
Fix navigation color for sepia and night
2014-08-11 07:36:48 -07:00
Samy Pessé
1bec19029f
Fix navigation on mobile
2014-08-11 07:36:48 -07:00
Samy Pessé
21ccf7757e
Improve padding on page content
2014-08-11 07:36:48 -07:00
Samy Pessé
ceb766a124
Adapt to latest github markdown style
2014-08-11 07:36:48 -07:00
Samy Pessé
046b789fa8
Fix navigation links position
2014-08-11 07:36:47 -07:00
Samy Pessé
cd50a1402f
Fix border on search input (sepia and night)
2014-08-11 07:36:47 -07:00
Samy Pessé
1b0ae5a827
Fix border on dropdown selector
2014-08-11 07:36:47 -07:00
Samy Pessé
01b6ca76e8
Limit transitions to positions
2014-08-11 07:36:47 -07:00
Samy Pessé
06b9c345c9
Improve design of search bar
2014-08-11 07:36:47 -07:00
Samy Pessé
152276c1d7
Improve display of sidebar on mobile
2014-08-11 07:36:46 -07:00
Samy Pessé
275eedf076
Change button color on header
2014-08-11 07:36:46 -07:00
Samy Pessé
5e959d65a2
Start new design for website
2014-08-11 07:36:46 -07:00
Samy Pessé
66c1b89da2
Use only default config
2014-08-11 07:36:46 -07:00
Samy Pessé
78c68c7b9e
Remove config for github urls
2014-08-11 07:36:46 -07:00
Samy Pessé
d914eae40a
Remove html5 cache manifest
2014-08-11 07:36:45 -07:00
Samy Pessé
74f95f4d0d
Merge pull request #404 from Viv-Rajkumar/master
...
Fix path operator in Windows for index.html with multi lang
2014-08-11 07:31:10 -07:00
Viv-Rajkumar
d803052461
Fix Langs path operator for Windows using 'links.js'
2014-08-11 12:09:07 +01:00
Aaron O'Mullan
633e52c4be
Bump version to 0.7.1
2014-08-08 15:37:03 -07:00
Aaron O'Mullan
1512bcf808
Update fs-extra to 0.10.0
...
Fixes potential race condition on copies
2014-08-08 15:31:49 -07:00
Samy Pessé
4e46d088ca
Add build for search results
2014-08-05 09:47:08 -07:00
Samy Pessé
388c7ffd32
Merge pull request #396 from codepiano/hold-search-keyword
...
keep the search result list after user click a link
2014-08-05 09:44:54 -07:00
codepiano
7ba8653935
keep the search result list after user click a link
...
Record search keyword to LocalStorage, when navigate to a new url,fetch
keyword from LocalStorage, init the search input element,then filter the
sidebar menu.
So User can iterator the result list without type the keyword every
time.
2014-08-05 15:14:10 +08:00
Samy Pessé
a4403aad1e
Add changes for 0.7.0
2014-08-01 14:01:20 -07:00
Samy Pessé
b629b78dba
Bump version to 0.7.0
2014-08-01 13:58:36 -07:00
Samy Pessé
f62c218735
Fix #278 : Add page break between chapters/articles
2014-08-01 13:55:19 -07:00
Aaron O'Mullan
725510028f
Use marked-text-renderer@0.1.0
2014-08-01 00:09:45 -07:00
Aaron O'Mullan
ad7927242d
Add comments to default introduction chapter code
...
Fixes #388
2014-07-31 08:43:57 -07:00
Aaron O'Mullan
5692bdd229
Merge pull request #386 from codepiano/china-social-network-sharing
...
add sharing to weibo.com.
2014-07-31 01:41:56 -07:00
codepiano
3402746719
add sharing to weibo.com.
...
google、facebook and twitter are block by GFW in China,Chinese can
not visit these websites.
add 'weibo' config in option links.sharing,the share link will not be
used by default,users should set the value of 'weibo' to true to turn
on sharing to weibo.com.
2014-07-31 16:31:31 +08:00
Aaron O'Mullan
30a8414b06
Switch to graceful-fs, fix #373
2014-07-30 20:45:33 -07:00
Aaron O'Mullan
9d46899ea7
Replace "marked" with "kramed"
2014-07-30 16:17:47 -07:00
Samy Pessé
58f14fd9ca
Fix font settings apply
2014-07-30 11:17:28 -07:00
Samy Pessé
b6af14b13e
Remove github count stars and watchers
2014-07-30 10:43:10 -07:00
Aaron O'Mullan
ba2134c480
Bump version to 0.6.3
2014-07-30 10:23:11 -07:00
Aaron O'Mullan
4705548860
Fix resource normalization in when loading plugins
...
Fixes #384
2014-07-30 10:17:07 -07:00
Samy Pessé
7d51ae3689
Add changelogs for 0.6.2
2014-07-30 00:26:44 -07:00
Aaron O'Mullan
b9360de3e3
Bump version to 0.6.2
2014-07-30 00:22:49 -07:00
Aaron O'Mullan
9f241457bb
Fix minor issues with new plugin additions
2014-07-29 23:45:54 -07:00
Aaron O'Mullan
60a7c28e66
Support generating a plugin's book info dynamically
2014-07-29 21:50:26 -07:00
Samy Pessé
5dff9b795e
Fix #345 : Improve navigation on dark theme
2014-07-29 21:33:47 -07:00
Aaron O'Mullan
0134677e0e
Improve path normalization when parsing SUMMARY.md
2014-07-29 20:49:11 -07:00
Aaron O'Mullan
39ef4fa199
Add invalid paths in SUMMARY.md fixture
...
To test for correct path normalization
2014-07-29 20:46:14 -07:00
Samy Pessé
b507a30301
Bump version to 0.6.1
2014-07-23 16:49:57 -07:00
Samy Pessé
539c2d0c57
Update plugin-mathjax@0.0.4
2014-07-23 16:28:38 -07:00
Samy Pessé
aa6f3530f9
Fix readme spacing
2014-07-22 23:28:13 -07:00
Samy Pessé
98057af219
Merge pull request #372 from justanotheranonymoususer/patch-1
...
Update summary.html (fixed an HTML typo)
2014-07-20 14:04:12 -07:00
justanotheranonymoususer
bb48c8233c
Update summary.html
2014-07-20 23:57:56 +03:00
Aaron O'Mullan
8f14db64df
Merge pull request #370 from nightwing/patch-1
...
Add keyboard shortcut for submitting exercise
2014-07-15 21:33:58 -07:00
Harutyun Amirjanyan
37d40dc66c
Add keyboard shortcut for submitting exercise
2014-07-16 08:07:22 +04:00
Samy Pessé
6c96680cca
Merge pull request #366 from shaform/ignore
...
Ignore config files by default in fs.list
2014-07-14 10:08:29 -07:00
Shaform
4e475857d5
Ignore config files by default in fs.list
2014-07-13 08:40:23 -07:00
Samy Pessé
f8ff0453dd
Merge pull request #359 from jcouyang/patch-1
...
add jsbin embedded plugin
2014-07-12 07:02:18 -07:00
Samy Pessé
3cc5c47535
Bump version to 0.6.0
2014-07-12 23:28:07 +02:00
Samy Pessé
a2046814b4
Change command "git:push" to "publish"
2014-07-12 23:25:40 +02:00
Samy Pessé
82f814fdbd
Fix #303 : generate header id the same as github
2014-07-12 23:23:03 +02:00
Jichao Ouyang
cd382dc8fc
add jsbin embedded support
2014-07-12 21:42:52 +08:00
Samy Pessé
3842e5bf4a
Merge pull request #358 from GitbookIO/featureplatform
...
Add base command git:push and git:remote
2014-07-11 17:42:16 -07:00
Samy Pessé
f05b138fd6
Add base command git:push and git:remote
2014-07-12 09:23:15 +02:00
Samy Pessé
1b87cec893
Merge pull request #266 from shaform/ref_links
...
Add reference links support
2014-07-11 17:20:43 -07:00
Samy Pessé
4a894b1e18
Merge pull request #268 from rlmv/master
...
Fix page.path for plugins
2014-07-11 17:19:26 -07:00
Samy Pessé
c7c98009e7
Merge pull request #347 from rlmv/custom_links
...
Add custom links to TOC
2014-07-11 17:15:37 -07:00
Samy Pessé
356322e0ed
Merge pull request #353 from citizenmatt/active_page
...
Highlight active page in summary
2014-07-11 17:14:36 -07:00
Samy Pessé
7a47049367
Merge pull request #354 from citizenmatt/summary_hooks
...
Plugin hooks for summary data
2014-07-11 17:13:40 -07:00
Samy Pessé
a9f473260c
Merge pull request #356 from GitbookIO/feature/includes
...
Support importing code snippets
2014-07-10 17:59:34 -07:00
Aaron O'Mullan
d16577e8bf
Add tests for includes
2014-07-10 17:49:50 +02:00
Aaron O'Mullan
15b4053d6b
Support code includes for exercises
2014-07-10 17:30:12 +02:00
Aaron O'Mullan
925a9b1388
Support importing code snippets
...
Allowing to keep code in separate files, which can be cleaner in a
quite a few scenarios
2014-07-11 01:22:07 +02:00
Matt Ellis
fc942fdeca
Hooks for summary data
2014-07-09 17:17:40 +01:00
Matt Ellis
75a6ecbf52
Highlight active page in summary
2014-07-09 16:06:55 +01:00
Aaron O'Mullan
520045441b
Merge pull request #352 from citizenmatt/links_with_fragments
...
Convert links with fragments from md to html
2014-07-08 21:45:01 +02:00
Matt Ellis
00c3e966d3
Convert links with fragments from md to html
2014-07-08 16:25:39 +01:00
Samy Pessé
8b6ebe86b8
Merge pull request #348 from rlmv/anchors_readme
...
Add anchor plugin to README
2014-07-06 17:12:57 +02:00
Bo Marchman
d5bd3453e1
add heading anchors plugin to readme
2014-07-02 23:49:07 -04:00
Bo Marchman
ddacbbe73b
update readme with custom links
2014-07-02 23:40:57 -04:00
Bo Marchman
f7d52f0eff
Add custom link capability
...
Users can add custom links at the top of the table of contents by
adding a links.custom object to book.json. Issue #304
2014-07-02 23:38:14 -04:00
Robert Marchman
39c50640ea
pass 'rawPath' page path to plugins
2014-06-24 12:33:19 -04:00
Samy Pessé
16128c7e60
Bump version to 0.5.6
2014-06-24 12:35:13 +02:00
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
790dfd601e
Add csharp language highlight mapping
...
Fixes #327
2014-06-18 11:26:50 -07:00
Aaron O'Mullan
3426428142
Bump version to 0.5.5
2014-06-18 00:25:23 -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
3aefcaea73
Bump version to 0.5.4
2014-06-17 10:56:45 -07:00
Aaron O'Mullan
04c025774d
Improve robustness of link utility functions
...
Fixes #321 , fixes #323
2014-06-17 10:56:13 -07:00
Aaron O'Mullan
80aac7f581
Support --verbose flag, fixes #325
2014-06-17 10:46:56 -07:00
Samy Pessé
266f7ca73d
Add infos about debugging
2014-06-17 18:45:44 +02:00
Shaform
6bbefad24e
Merge remote-tracking branch 'upstream/master' into ref_links
2014-06-17 22:08:46 +08:00
Aaron O'Mullan
d6eb8e4c60
Support URLs in "github" config
...
Fixes GitbookIO/gitbook.io#90
2014-06-16 18:52:36 -07:00
Aaron O'Mullan
c87edb155a
Better string slicing in parse.git.githubID()
2014-06-16 17:48:18 -07:00
Samy Pessé
ef0468ad5d
Fix #310 : improve display of long title in header
2014-06-16 14:03:28 +02:00
Samy Pessé
f03153eb0c
Remove page break between articles in ebook
...
Add title for exercise solutions sections
2014-06-16 13:55:07 +02:00
Samy Pessé
3d8b6e550a
Merge pull request #319 from GitbookIO/enchancement/custom_intro
...
Enchancement/custom intro
2014-06-16 13:02:38 +02: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
3a3332d0b9
Adapt summary tests to new summary parsing
...
We now insert default README.md (introduction) node in parsing the
SUMMARY.md logic
2014-06-16 00:25:33 -07:00
Aaron O'Mullan
4259283f32
Refactor Summary rendering
...
Introduction is no longer an edge case
2014-06-16 00:09:48 -07:00
Aaron O'Mullan
243d977cd6
Add test for level regarding #318
2014-06-15 23:36:40 -07:00
Aaron O'Mullan
94bbbecedf
Support custom intro node, fixes #318
2014-06-15 23:30:43 -07:00
Aaron O'Mullan
f49eab42a9
Fix test for #318
2014-06-15 23:29:24 -07:00
Aaron O'Mullan
ce6b2bc47d
Add extra navigation tests for #318
2014-06-15 23:19:28 -07:00
Aaron O'Mullan
3245d7e430
Drop Travis tests for Node 0.8
2014-06-15 22:49:15 -07:00
Aaron O'Mullan
6ee17c32ae
Bump version to 0.5.3
2014-06-15 22:39:18 -07:00
Aaron O'Mullan
bf7ffe6d4c
Skip extra files and folders in copy phase of generation
2014-06-15 22:37:15 -07:00
Aaron O'Mullan
ec7bc6b347
Add link to gitbook.io in readme
2014-06-15 22:36:51 -07:00
Aaron O'Mullan
b425db0979
Allow external links in summary, fixes #300
2014-06-08 12:31:52 -07:00
Samy Pessé
30c6d1c9de
Remove useless log
2014-06-08 02:21:05 +02:00
Samy Pessé
cee1d90fc6
Bump version to 0.5.2
2014-06-08 01:09:51 +02:00
Samy Pessé
522342667c
Fix font size for mono font on pdf output
2014-06-08 00:27:18 +02:00
Samy Pessé
d1c1277bb9
Fix cover picture for multilangs book convertion to ebook
2014-06-08 00:11:50 +02:00
Aaron O'Mullan
9a66f56c79
Bump version to 0.5.1
2014-06-07 11:42:37 -07:00
Samy Pessé
087ca28ca2
Fix style for main languages index page
2014-06-07 16:30:11 +02:00
Samy Pessé
3d5281ff3a
Fix GitbookIO/gitbook.io#69 : copy cover files at multi-langs root
2014-06-07 16:27:40 +02:00
Samy Pessé
f62cf340c5
Fix title and description for pages in website
2014-06-07 16:04:03 +02:00
Samy Pessé
7e12bd3588
Don't use cdn for ace
2014-06-07 16:02:02 +02:00
Samy Pessé
4dbdb95ebe
Show quiz inside ebook
2014-06-06 22:20:02 +02:00
Samy Pessé
2c5ddbcd8f
Use base style for ebook instead of bootstrap
2014-06-06 21:47:59 +02:00
Samy Pessé
be4fd74f90
Improve navigation links design
2014-06-06 20:06:03 +02:00
Samy Pessé
57491e3a8b
Improve meta tags for books
2014-06-06 20:00:38 +02:00
Samy Pessé
f7a442d297
Improve font sizes and spacing on content
2014-06-06 19:33:41 +02:00
Samy Pessé
cfebdc6f6b
Fix #296 : fix static links on windows
2014-06-06 18:37:35 +02:00
Samy Pessé
65319e8fd6
Bump version to 0.5.0
2014-06-03 22:30:42 +02:00
Samy Pessé
55db44a3b4
Fix #289 : center images on ebook
2014-06-03 22:20:51 +02:00
Samy Pessé
13b6045300
Font Merriweather 600 doesn't exists
2014-06-03 20:45:55 +02:00
Samy Pessé
b7ff879c31
Remove fonts Anonymous Pro and EB Garamond
2014-06-03 20:43:47 +02:00
Samy Pessé
57ade87fe1
Fix #275 : fix emphasized font path
2014-06-03 20:30:04 +02:00
Samy Pessé
907e9ea5a7
Improve font on title
...
Set sans-serif as default
2014-06-03 20:14:44 +02:00
Samy Pessé
215488dc45
Improve design (more flat)
2014-06-03 18:43:13 +02:00
Samy Pessé
a195b3eac2
Improve less files organisation
2014-06-03 18:11:03 +02:00
Samy Pessé
77c6f0e967
Merge pull request #291 from bebraw/book.js
...
Allow book.js to be used in addition to book.json
2014-06-03 17:20:26 +02:00
Juho Vepsalainen
f0e18afec1
In case there's no config file, do not fail
2014-06-03 17:59:26 +03:00
Juho Vepsalainen
b6d11d88b7
Allow book.js to be used in addition to book.json
...
Now it's possible to comment configuration properly and do some dynamic
things if needed.
Closes #287 .
2014-06-03 17:42:30 +03:00
Samy Pessé
c803270af8
Add option pdf.pageNumber
...
Fix GitbookIO/editor#38
2014-06-03 16:24:35 +02:00
Samy Pessé
5d51263a58
Remove mixpanel as a default addon
2014-06-03 15:29:15 +02:00
Samy Pessé
7e30720b2c
Merge pull request #292 from bebraw/typofix
...
Fix build success message typo
2014-06-03 15:07:29 +02:00
Juho Vepsalainen
771c5e8b68
Fix build success message typo
2014-06-03 15:58:22 +03:00
Samy Pessé
8f53afab6b
Fix #286 : fix doc about formats
2014-06-02 20:12:56 +02:00
Samy Pessé
0ad0403d41
Merge pull request #283 from GitbookIO/feature/pdfoptions
...
Add more options for PDF
2014-06-02 18:22:07 +02:00
Samy Pessé
2515c1dd73
Remove useless command "gitbook ebook"
2014-06-02 18:17:02 +02:00
Samy Pessé
7dfcd102dd
Fix calcul of output format for ebook
2014-06-02 18:16:44 +02:00
Samy Pessé
a91245d575
Add options paperSize and margin for pdf
2014-06-02 17:57:47 +02:00
Samy Pessé
5f207f5e14
Add options pdf.toc and pdf.fontSize
2014-06-02 17:49:05 +02:00
Samy Pessé
718692de3b
Langs index page now use direct link to html file
2014-06-02 14:49:40 +02:00
Samy Pessé
9856a51255
Fix #282 : stop generation of langs index for page format
2014-06-02 14:13:52 +02:00
Samy Pessé
58eaaf5514
Fix error when plugin don't extend book
2014-06-02 12:51:22 +02:00
Samy Pessé
c0ae0138f8
Improve documentation about book.json
2014-06-02 11:41:16 +02:00
Samy Pessé
b1b9dc5b0a
Fix error during generation
2014-06-02 11:37:25 +02:00
Samy Pessé
f85c5a6498
Add error message when generator is invalid
...
Fixes #276 , #277
2014-06-02 11:32:09 +02:00
Aaron O'Mullan
32eafefc45
Bump version to 0.4.8
2014-05-29 16:36:56 -07:00
Aaron O'Mullan
336999a34e
Set default pdf font size to 12
2014-05-29 15:57:56 -07:00
Samy Pessé
1bf5f3b984
Force paper format to A4 fro pdf
2014-05-30 00:33:35 +02:00
Samy Pessé
c76d070237
Merge pull request #274 from emmanuel-keller/patch-1
...
Adding a new plugin (Piwik Open Analytics plugin)
2014-05-30 00:11:38 +02:00
Emmanuel Keller
8c7da1351f
Adding a new plugin.
...
I Just published a first version of the Piwik Open Analytics plugin, on both GIT and NPM.
2014-05-29 23:31:38 +02:00
Samy Pessé
34588c6092
Add margin on pdf output
2014-05-29 18:53:08 +02:00
Samy Pessé
9f00bf8060
Add toc at the end of pdf
2014-05-29 18:33:05 +02:00
Samy Pessé
f4a17b182f
Improve ebook generation (toc, ...)
2014-05-29 18:28:09 +02:00
Samy Pessé
5c3b345fa6
Generate valid first level table of content for ebook
2014-05-29 17:28:18 +02:00
Samy Pessé
46321fffd9
Use ebook-convert for pdf generation
2014-05-29 17:07:03 +02:00
Shaform
1f4cf33dd0
Improve code syntax for links assignment
2014-05-28 06:57:50 +08:00
Shaform
7274aa6940
fix links error
2014-05-27 22:24:23 +08:00
Shaform
125e804cd5
Add reference links support
...
This commit resolves #184
2014-05-27 17:24:47 +08:00
Aaron O'Mullan
89ba17de84
Bump version to 0.4.7
2014-05-26 12:14:32 -07:00
Aaron O'Mullan
115fba837c
Merge pull request #265 from GitbookIO/feature/levels
...
More than two section level in summary
2014-05-26 11:27:27 -07:00
Samy Pessé
4df51546b2
Remove command log in ebook convert
2014-05-26 18:02:32 +02:00
Samy Pessé
f68aaf7ff9
Fix cover option for ebook
2014-05-26 18:02:09 +02:00
Samy Pessé
e3d1746ba3
Fix use of cover.jpg in ebook
2014-05-26 17:58:08 +02:00
Samy Pessé
a0d5646034
Adapt navigation parsing to third and more levels in summary
2014-05-26 17:42:05 +02:00
Samy Pessé
2f8af5f136
Improve design of summary for deep articles
2014-05-26 17:33:10 +02:00
Samy Pessé
8b7abbd6f4
Render articles of level > 2 in summary
2014-05-26 17:31:35 +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é
ac900aa37f
Merge pull request #263 from jpoesen/patch-1
...
Minor typo, grammar and style corrections.
2014-05-26 10:44:25 +02:00
Joeri Poesen
422cbed796
Minor typo, grammar and style corrections.
2014-05-26 08:13:35 +02:00
Samy Pessé
38cbbe46aa
Fix cache manifest generation
2014-05-25 20:47:57 +02:00
Aaron O'Mullan
c1b57a387b
Bump version to 0.4.6
2014-05-23 16:35:44 -07:00
Samy Pessé
aaa9ae8bb7
Fix loading button display on navigation
2014-05-24 01:32:39 +02:00
Samy Pessé
6340a64cff
Fix #235 : search after navigation to another page
2014-05-23 22:28:36 +02:00
Samy Pessé
96bcfa4e20
Fix #218 : keep state of font settings
2014-05-23 22:20:36 +02:00
Samy Pessé
af0f56b26b
Change position of menu action in header
2014-05-23 21:49:11 +02:00
Samy Pessé
aed5befa48
Fix display of divider in lateral menu
2014-05-23 21:48:04 +02:00
Samy Pessé
8e37da672d
Minor css improvements
2014-05-23 21:43:47 +02:00
Samy Pessé
c0f68c45e2
Fix #249 : fix links.toAbsolute on windows
2014-05-23 21:10:58 +02:00
Samy Pessé
47fdd73791
Fix cache manifest in the html tag
...
Serve command disable cache
2014-05-23 17:45:46 +02:00
Samy Pessé
7c0b88cf2e
Plugins can extend html
2014-05-23 17:00:37 +02:00
Samy Pessé
bf21633b6c
Support multi-languages book in json format
2014-05-23 16:35:34 +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
Samy Pessé
d245895085
Add link to documentation
2014-05-21 20:22:28 +02:00
Samy Pessé
c7439d12f7
Add livereload as default plugins only for serve
2014-05-21 17:34:36 +02:00
Samy Pessé
8d6923ce2c
Merge pull request #234 from davidagraf/livereload
...
Livereload
2014-05-21 17:17:08 +02:00
David Graf
b21fb24a82
gitbook-plugin-livereload dependency to npm
2014-05-21 16:35:55 +02:00
David Graf
e7be132194
Merge branch 'master' into livereload
2014-05-21 16:24:07 +02:00
Samy Pessé
0e1717f4bb
Improve grammar (thanks to @theoutlander )
2014-05-21 10:46:26 +02:00
Aaron O'Mullan
276dbe29c7
Bump version to 0.4.5
2014-05-20 23:29:39 -07: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
Aaron O'Mullan
443def6cfd
Bump version to 0.4.4
2014-05-20 22:59:26 -07:00
Samy Pessé
75464574d7
For multi-langs, run build one by one
2014-05-21 00:09:40 +02: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
Samy Pessé
8dd407eaa8
Fix merge of output for multi-languages books
2014-05-20 23:31:22 +02:00
Samy Pessé
ea7ad10e8a
Add support for multi-languages books in JSON format
2014-05-20 23:21:12 +02:00
Samy Pessé
62ec695dc8
Extract title and description from readme before switching to multi-languages handling
2014-05-20 23:07:41 +02:00
Samy Pessé
ca37ac73a9
Add more infos about gitbook.io
2014-05-20 14:40:22 +02:00
Samy Pessé
96edd50c8f
Add norm for small cover
2014-05-20 01:23:49 +02:00
Samy Pessé
3993c1e35a
Change advised ratio for cover
2014-05-19 21:47:41 +02:00
Aaron O'Mullan
5298558925
Bump version to 0.4.3
2014-05-18 02:25:53 -07:00
Samy Pessé
c6ba147917
Print stack only when env DEBUG is set
2014-05-17 20:35:41 +02:00
Samy Pessé
7efecea3d6
Exit process with -1 when error occurs
2014-05-17 20:35:13 +02:00
Aaron O'Mullan
a73fed3ebd
Merge pull request #240 from ajschumacher/patch-1
...
typo: "blockin" to "block in"
2014-05-16 09:06:15 -07:00
Aaron Schumacher
50ef7bcd23
typo: "blockin" to "block in"
2014-05-16 12:02:06 -04:00
Aaron O'Mullan
82e422cb89
Fix issue of disabling issues and contribute
...
Improve robustness of template display conditions
2014-05-15 21:35:09 -07:00
Aaron O'Mullan
dab46c779d
Allow github support to be disabled in book.json
...
Fixes #238
2014-05-15 21:24:28 -07:00
David Graf
7c65adc9b2
disable cache manifest import if cache is disabled
2014-05-15 12:07:51 +02:00
David Graf
9b96ef9bae
added livereload dependency
2014-05-15 11:41:59 +02:00
David Graf
e97d1941dc
Introducing livereload server
2014-05-15 08:09:02 +02:00
David Graf
0b0ac46e34
Introducing option to disable cache manifest generation
2014-05-15 08:07:24 +02:00
David Graf
622bbcb8ea
ignore vim swap files
2014-05-15 07:43:59 +02:00
Samy Pessé
58a5245d21
Merge pull request #233 from embreinhardt/master
...
Add LESS variable for sidebar full-width breakpoint
2014-05-14 20:10:02 +02:00
Erika Reinhardt
612f9a6dc7
Add LESS variable for sidebar full-width breakpoint
2014-05-14 11:01:57 -07:00
Samy Pessé
90d4dff263
Merge pull request #232 from embreinhardt/master
...
Make font-settings.html indentation consistent
2014-05-14 10:35:32 +02:00
Erika Reinhardt
0f38385c7d
Make font-settings.html indentation consistent
...
[Minor] Was mix of tabs and spaces, which messed with text edit display
2014-05-14 01:25:18 -07:00
Samy Pessé
2b50616251
Merge pull request #231 from embreinhardt/master
...
Add HTML classes to make plugins easier to write
2014-05-14 10:20:42 +02:00
Erika Reinhardt
5b7f37f0d4
Add HTML classes to make plugins easier to write
2014-05-14 01:14:21 -07:00
Aaron O'Mullan
6ca8e26741
Merge pull request #229 from weitzman/patch-1
...
Fix recent typo in README.MD
2014-05-12 14:04:52 -07:00
Moshe Weitzman
a3ada05598
Fix recent typo in README.MD
2014-05-12 16:18:50 -04:00
Samy Pessé
42eb11aaff
Add infos about cover
2014-05-11 16:47:30 +02:00
Samy Pessé
b581859afd
Merge pull request #223 from cef62/fix-windows-paths
...
Force forward slashes on SUMMARY.md path for articles
2014-05-08 22:54:40 +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
Aaron O'Mullan
603ac8b91d
Merge pull request #221 from frodsan/patch-1
...
Don't show divider even if githubId is present.
2014-05-08 09:58:06 -07:00
Francesco Rodríguez
5faa4841ca
Don't show divider even if githubId is present.
2014-05-08 13:40:15 -03:00
Samy Pessé
7416b826e0
Fix #218 : Add settings for client theme (font family, size, theme)
2014-05-08 13:16:30 +02:00
Aaron O'Mullan
82afc34755
Merge pull request #219 from BjoernSchotte/feature/doc-theme
...
added documentation for theme option
2014-05-07 23:08:53 -07:00
Björn Schotte
da39631a5a
added documentation for theme option
2014-05-08 07:57:33 +02:00
Aaron O'Mullan
fc8685a7c1
Merge pull request #216 from ianmcburnie/accessibility
...
Accessibility: added aria-labels to header
2014-05-06 12:34:43 -07:00
Ian McBurnie
5e0204a980
Accessibility: added aria-labels to header
...
Feel free to change any of the label text that I have chosen :-)
2014-05-06 11:27:54 -07:00
Samy Pessé
6bb0f33f39
Fix #211 : read config file before cleaning output folder
2014-05-06 12:08:27 +02:00
Aaron O'Mullan
ed4fd565b2
Merge pull request #213 from ianmcburnie/accessibility
...
Accessibility: aria-label added to navigation links
2014-05-05 22:37:21 -07:00
Ian McBurnie
79cff28abd
Accessibility: aria-label added to navigation links
...
Current behavior: Screenreader just reads ‘link’ when landing on the
previous and next navigation links, giving the user no indication of
what the link does or where it goes. New Behaviour: Screenreader reads
“Previous page: {page title}” and “Next page: {page title}”
respectively.
2014-05-05 22:29:22 -07:00
Samy Pessé
27329239f7
Fix #208 : correct name for edit/contribute link in doc
2014-05-05 17:55:19 +02:00
Samy Pessé
9de86fc0e4
Add tests for book generation
2014-05-05 15:25:15 +02:00
Samy Pessé
7fa7826372
Merge pull request #203 from GitbookIO/improve/generate
...
Improve generate's reliability, fixes #202
2014-05-04 22:37:42 +02:00
Aaron O'Mullan
96ecfd098b
Improve generate's reliability, fixes #202
...
This also improves speed on multi language books
2014-05-04 12:53:24 -07:00
Samy Pessé
f7fe976c7e
Fix #197 : use URI.js for calculation of relative url
...
Use bower for client dependencies
2014-05-04 15:15:18 +02:00
Samy Pessé
756629b91d
Add bower dependencies
2014-05-04 15:03:47 +02:00
Samy Pessé
e640d124d4
Add bower vendors to gitignore
2014-05-04 14:58:45 +02:00
Samy Pessé
7f41466297
Remove vendors directory
2014-05-04 14:58:01 +02:00
Samy Pessé
57dfc062d2
Create CHANGES.md
2014-05-04 13:09:27 +02:00
Aaron O'Mullan
799815d85a
Bump version to 0.4.2
2014-05-01 16:17:05 -07:00
Samy Pessé
2946246834
Fix #191 : remove log for changes in files
2014-05-01 18:55:45 +02:00
Samy Pessé
6d276d1e79
Add option to remove home link
2014-05-01 18:53:49 +02:00
Samy Pessé
6a3a369b3e
Add options to remove sharing links
2014-05-01 18:37:30 +02:00
Samy Pessé
5d8afa2135
Merge pull request #196 from mrpotes/new-plugins
...
New plugins
2014-05-01 18:33:30 +02:00
Samy Pessé
ab3e6aa8ce
Fix font-size for titles in markdown content
2014-05-01 18:29:42 +02:00
James Phillpotts
822092736e
New plugins
2014-05-01 17:00:38 +01:00
Samy Pessé
7497acd2e3
Center navigation button on mobile on start page
2014-05-01 17:37:38 +02:00
Samy Pessé
ae137885b8
Fix book content padding on mobile
2014-05-01 17:27:03 +02:00
Samy Pessé
b964cc7009
Fix #162 : hide watch/star buttons on mobile
2014-05-01 17:16:09 +02:00
Samy Pessé
c2ea126c5f
Fix #182 : Replace all book body when page changes
2014-05-01 14:05:14 +02:00
Samy Pessé
b668dba479
Update gaze version to 0.5.1
2014-05-01 13:26:50 +02:00
Samy Pessé
2cae5a0310
Secure .book position
2014-05-01 13:26:19 +02:00
Samy Pessé
b6a0f3ff67
Fix #164 : use position absolute instead of fixed
2014-04-30 17:01:25 +02:00
Samy Pessé
fa00b52fb5
Fix #127 : add configuration for changing links in sidebar
2014-04-30 16:46:24 +02:00
Samy Pessé
2999d90907
Merge pull request #188 from snipe/feature/json-doc
...
Added quotes for JSON example, per #127
2014-04-30 12:48:28 +02:00
snipe
b6696bcad2
Added quotes for JSON example, per #127
2014-04-30 06:46:28 -04:00
Samy Pessé
728c87c525
Merge pull request #187 from snipe/feature/typo-fixes
...
Fixed typos
2014-04-30 12:05:12 +02:00
snipe
ace394ee2d
Fixed typos
2014-04-30 05:28:18 -04:00
Samy Pessé
076ee98f64
Fix #186 : Plugins that don't have assets should be skipped
2014-04-30 11:15:01 +02:00
Samy Pessé
2e472654ca
Fix error when calling hooks in site generation
2014-04-30 10:54:45 +02:00
Aaron O'Mullan
d46bd14678
0.4.1
2014-04-29 10:23:54 -07:00
Samy Pessé
b3e5b3d106
Fix #183 : normalize hooks and transformation of page (content, progress, ..°
2014-04-29 17:45:54 +02:00
Samy Pessé
b830ef5dca
Merge pull request #179 from erixtekila/master
...
Update README.md
2014-04-29 08:23:33 +02:00
Eric Priou
45326c4ad2
Update README.md
2014-04-29 03:45:03 +02:00
Aaron O'Mullan
603b61e8c8
Bump version to 0.4.0
2014-04-28 13:26:40 -07:00
Samy Pessé
efb066c8e3
Update doc about how to configure gitbook
2014-04-28 20:45:10 +02:00
Samy Pessé
c30db427b1
Remove some options from command line (moved to book.json)
2014-04-28 20:33:25 +02:00
Samy Pessé
23056fc85d
Use a global configuration file for a book (default to book.json)
2014-04-28 20:29:36 +02:00
Samy Pessé
5f1bfc0280
Fix #163 : Move logic of git infos extraction to lib
2014-04-28 20:16:30 +02:00
Samy Pessé
b715901f92
Add hooks "page:before" and "page:after"
2014-04-28 19:56:40 +02:00
Samy Pessé
38fea06cf9
Use hook to allow plugins to edit page content during generation ( Fixes #176 )
2014-04-28 17:21:06 +02:00
Aaron O'Mullan
4481b5f556
Bump version to 0.3.2
2014-04-27 13:46:20 -07:00
Samy Pessé
0e0d051f7c
Merge pull request #173 from erixtekila/master
...
Update README.md
2014-04-27 22:26:56 +02:00
Eric Priou
a1b649a279
Update README.md
2014-04-27 22:24:37 +02:00
Eric Priou
e6bc0a0fb7
Update README.md
...
3rd party plugins done in the weekend
2014-04-27 22:18:09 +02:00
Samy Pessé
93e4016c09
Add link to disqus plugin
2014-04-27 21:55:50 +02:00
Samy Pessé
20c741a248
Fix stupid typo thanks to @erixtekila
2014-04-27 21:21:48 +02:00
Samy Pessé
54f530c7c3
Merge pull request #171 from GitbookIO/feature/offlineCache
...
Improve pages loading
2014-04-27 18:05:13 +02:00
Samy Pessé
9fdc5da22d
Update page when new version of application cache
2014-04-27 17:57:34 +02:00
Samy Pessé
99ce48b146
Add base loading indicator for navigation
...
#161
2014-04-27 17:36:12 +02:00
Samy Pessé
6a33ad9ef7
Add base cache manifest
2014-04-27 17:14:57 +02:00
Samy Pessé
ca94055adf
Adapt tests for plugins
2014-04-27 15:45:16 +02:00
Samy Pessé
36a67e4c91
Fix #169 : fix resolve of external plugins
2014-04-27 15:41:02 +02:00
Samy Pessé
69431e1bbb
Fix #165 : replace separator from ":" to ","
2014-04-27 09:14:39 +02:00
Samy Pessé
a3fc4ee2b0
Fix display of code element in sepia/night
2014-04-25 18:14:41 +02:00
Samy Pessé
e505fd6d54
Improve summary divider for theme sepia and night
2014-04-25 18:12:39 +02:00
Samy Pessé
93a3785e4c
Improve highlight theme for sepia and night themes
2014-04-25 18:05:09 +02:00
Samy Pessé
a02de84812
Change highlight theme to tomorrow
2014-04-25 17:56:48 +02:00
Samy Pessé
c0521f0ec7
Improve display of pre in markdown content
2014-04-25 17:48:31 +02:00
Samy Pessé
83d8c16853
Add file watcher in "gitbook serve" command ( Fix #47 , #89 , #140 )
2014-04-25 16:23:13 +02:00
Samy Pessé
47e9506397
Fix #153 and Improve pushState navigation
2014-04-25 15:12:19 +02:00
Samy Pessé
b8a3d0e254
Merge pull request #144 from attomos/master
...
Make quiz easier to click by surround it with label.
2014-04-25 14:29:04 +02:00
Samy Pessé
001d7ec44e
Merge pull request #155 from pborreli/patch-1
...
Fixed typo
2014-04-24 22:44:36 +02:00
Pascal Borreli
5cb0ec447a
Fixed typo
2014-04-24 21:43:32 +01:00
Aaron O'Mullan
67e7d77302
Bump version to 0.3.1
2014-04-24 10:45:55 -07:00
Aaron O'Mullan
8cbd8b2b48
Reorder plugin names
...
Improves #149 and improves GitBookIO/editor#12
2014-04-24 01:38:42 -07:00
Aaron O'Mullan
7c404dbf96
Fix plugin tests
2014-04-24 01:34:35 -07:00
Aaron O'Mullan
c4a67b6f2f
Require plugin names to contain gitbook-*
...
Fixes #149 , fixes GitBookIO/editor#12
2014-04-24 01:28:04 -07:00
Samy Pessé
3b70347625
Fix #146 : complete license
2014-04-24 09:00:15 +02:00
Aaron O'Mullan
bb0a7935e9
Merge pull request #141 from frodsan/niceties
...
Niceties
2014-04-23 11:34:08 -07:00
Nattaphoom Ch
8f4b799d3c
Make quiz easier to click by surround it with label.
2014-04-24 01:19:13 +07:00
Francesco Rodriguez
931e0c66c9
Update color themes for highlight.js link.
2014-04-23 12:30:05 -03:00
Francesco Rodriguez
0212084862
Fix typo.
2014-04-23 12:28:44 -03:00
Samy Pessé
9abbabbce3
Merge pull request #138 from Hermanya/patch-1
...
Add @Hermanya as a contributor
2014-04-22 23:47:13 +02:00
Hermanya
ac610487e8
Add @Hermanya as a contributor
2014-04-22 17:45:41 -04:00
Aaron O'Mullan
a9a0f89892
Bump version to 0.3.0
2014-04-22 14:05:52 -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
Samy Pessé
53514f2602
Improve sepia theme sidebar
2014-04-22 14:27:48 +02:00
Samy Pessé
00327778cb
Improve font-settings dropdown design
2014-04-22 14:12:53 +02:00
Samy Pessé
37fadec787
Merge branch 'master' of https://github.com/Hermanya/gitbook into Hermanya-master
2014-04-22 14:02:19 +02:00
Samy Pessé
ada11d0b59
Add section in readme about plugins
2014-04-22 12:51:10 +02:00
Aaron O'Mullan
4c90fdb7b2
Merge pull request #123 from GitbookIO/feature/plugins
...
Fix #65 : Plugins Architecture
2014-04-21 14:26:09 -07:00
Samy Pessé
98c133df3c
Change plugins separator to ","
2014-04-21 23:23:53 +02:00
Samy Pessé
f86c27b090
Add option --pluginsConfig
2014-04-21 22:58:51 +02:00
Samy Pessé
b5b8ed72a5
Update default addons
2014-04-21 22:39:23 +02:00
Samy Pessé
5beff86548
Change js interface for plugins and add configuration
2014-04-21 22:20:41 +02:00
Samy Pessé
dd395edae1
Use mathjax plugin version 0.0.2
2014-04-21 16:30:02 +02:00
Aaron O'Mullan
d1c1d7b75b
Bump version to 0.2.4
2014-04-20 16:41:09 -07:00
Samy Pessé
4a380e9279
Fix #36 : add mathjax plugin as default
2014-04-20 15:20:21 +02:00
Samy Pessé
878c105def
Use complete assets folder for plugins
2014-04-20 02:04:15 +02:00
Samy Pessé
74d628676b
Add option to change templates from plugin
2014-04-20 00:10:46 +02:00
Samy Pessé
6fdd98ec3a
Trigger event on document when ready
2014-04-19 20:39:58 +02:00
Samy Pessé
2ed1be3533
Add global js interface for plugins and remove mixpanel
2014-04-19 20:10:03 +02:00
Samy Pessé
0ac04e1584
Add call for hooks "init" and "finish"
2014-04-19 19:50:32 +02:00
Herman Starikov
2a38d33d8a
Font settings, closes #102
2014-04-19 13:46:14 -04:00
Samy Pessé
fb14caf5b3
Add resources to site build
2014-04-19 19:31:02 +02:00
Samy Pessé
cf51772f54
Add command line option "plugins"
2014-04-19 18:00:24 +02:00
Samy Pessé
cc8516df83
Load plugins during generation
2014-04-19 17:57:40 +02:00
Samy Pessé
c6a624bc6b
Add method to load a list of plugins from generator options
2014-04-19 17:54:15 +02:00
Samy Pessé
8be8b825ee
Add base loading of default addons
...
Add mixpanel as default addon
2014-04-19 17:28:44 +02:00
Samy Pessé
56eb4a2897
Add base plugin object and test validation of plugin
2014-04-19 15:41:29 +02:00
Samy Pessé
7a461eaa61
Remove theme readme
...
Add semver dependency
2014-04-19 14:40:46 +02:00
Samy Pessé
fd64c05809
Fix #118 : fix single page generation when file from summary doesn't exists
2014-04-18 23:42:02 +02:00
Aaron O'Mullan
6bce93d893
Bump version to 0.2.3
2014-04-18 11:53:18 -07: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é
8a6d36ac4d
Improve stability of mixpanel tracking
2014-04-18 20:42:18 +02:00
Samy Pessé
64622c5945
Load css before content
2014-04-18 20:19:45 +02:00
Samy Pessé
837813edb0
Add warning about theme
2014-04-18 20:16:21 +02:00
Aaron O'Mullan
0d9d62f1a9
Merge pull request #117 from GitbookIO/fix/99
...
Fix #99
2014-04-18 10:17:20 -07:00
Samy Pessé
f7e9abf984
Fix quiz interractivity
2014-04-18 19:10:13 +02:00
Samy Pessé
dd0579b60d
Update tests for relative images
2014-04-18 17:23:33 +02:00
Samy Pessé
b5bb953e47
Fix image path calcul
2014-04-18 17:15:03 +02:00
Samy Pessé
ef4a8ea1b6
Fix #116 : update url before updating html content
2014-04-18 15:49:53 +02:00
Samy Pessé
49cde96ee7
Add contributors to package.json and change homepage
2014-04-18 15:00:40 +02:00
Samy Pessé
627be20e48
Add editor and twitter links in the readme
2014-04-18 14:48:03 +02:00
Samy Pessé
e45bb84b02
Fix navigation on chrome for iOS: disable pushState
2014-04-18 13:09:16 +02:00
Aaron O'Mullan
4e8876c725
Update README.md
2014-04-17 16:39:06 -07:00
Aaron O'Mullan
6d5be15ec9
Bump version to 0.2.2
2014-04-17 15:31:57 -07:00
Samy Pessé
1a8db646f2
Improve styling for pdf and ebook
2014-04-17 12:15:28 +02:00
Samy Pessé
d3aba2c906
Fix state update after navigation
2014-04-17 11:48:04 +02:00
Samy Pessé
457a83282f
Improve style for pdf and ebook
2014-04-17 11:27:21 +02:00
Samy Pessé
48e94c937d
Remove useless caracter from page format
2014-04-17 11:17:40 +02:00
Samy Pessé
6e613e9f71
Fix #107 : Render all the page in single page format
2014-04-17 11:16:18 +02:00
Aaron O'Mullan
b698d43d7d
Bump version to 0.2.1
2014-04-17 01:10:11 -07:00
Aaron O'Mullan
a36b9a6088
Normalize code language before highlighting
2014-04-17 01:09:26 -07:00
Samy Pessé
20acd89c8a
Merge pull request #104 from GitbookIO/fix/auto_highlighting
...
Disable automatic highlighting
2014-04-17 09:24:56 +02:00
Aaron O'Mullan
7bed9a257d
Merge pull request #105 from ptagell/master
...
Removed duplicate line of readme
2014-04-16 14:38:49 -07:00
Paul Tagell
19c83aa5a8
Removed duplicate line of readme
2014-04-17 07:35:28 +10: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é
413dc5d004
Add more test for quiz (related to #100 )
2014-04-16 17:15:45 +02:00
Aaron O'Mullan
c9eb27bfe7
Do not pass SUMMARY.md to generator, fixes #93
...
We want to parse SUMMARY.md but not generate a file from it, thus it
should be removed from the list of files to be processed by the
generator
2014-04-16 00:18:35 -07:00
Aaron O'Mullan
b78505c290
Ignore .gitignore file by default in fs.list
...
Partial fix of #93
2014-04-16 00:11:54 -07:00
Samy Pessé
95f9ae83d0
Fix #97 : keep scroll position during page changement
2014-04-15 17:42:46 +02:00
Samy Pessé
9304289315
Fix progress display when page change
2014-04-14 23:00:40 +02:00
Samy Pessé
1b726ca293
Update preview
2014-04-14 22:35:10 +02:00
Samy Pessé
656ca18929
Improve languages list design
2014-04-14 21:29:26 +02:00
Aaron O'Mullan
b8cacaee00
Bump to version 0.2.0
2014-04-14 11:48:29 -07:00
Samy Pessé
f349012f0f
Add analytics on page changement
2014-04-14 20:33:45 +02:00
Samy Pessé
ddd49509ce
Improve design of header buttons
2014-04-14 20:21:57 +02:00
Samy Pessé
28257e1ce7
Fix search with pusState navigation
2014-04-14 20:15:04 +02:00
Samy Pessé
24d8e15ee2
Fix scrolling on new design
2014-04-14 20:08:55 +02:00
Samy Pessé
d6d9223ea1
Revert "Fix ebook and pdf generator"
...
This reverts commit f43e630528 .
2014-04-14 20:00:15 +02:00
Samy Pessé
05f1eed9ce
Fix #91 : Extract defaults title and description from README.md
2014-04-14 19:48:12 +02:00
Samy Pessé
c0ca055bf4
Add readme parsing for extracting title and description
2014-04-14 19:21:43 +02:00
Samy Pessé
f43e630528
Fix ebook and pdf generator
2014-04-14 19:05:23 +02:00
Samy Pessé
e4fa8aaca7
Fix generate.file method
2014-04-14 18:56:20 +02:00
Samy Pessé
1b147d3e30
Merge branch 'master' of https://github.com/tcorral/gitbook into tcorral-master
...
Conflicts:
theme/javascript/app.js
2014-04-14 16:44:11 +02:00
Samy Pessé
5848f5db51
Merge pull request #88 from GitbookIO/feature/clarity
...
Feature/clarity
2014-04-14 16:36:12 +02:00
Samy Pessé
9f1ba8483b
Merge head styles so that ace stays stable
2014-04-14 16:34:19 +02:00
Samy Pessé
6da48764e8
Fix header interractive actions: buttons and github
2014-04-14 16:29:02 +02:00
Samy Pessé
8c4cfed609
Add complete refresh of head and body on page navigation
2014-04-14 16:16:34 +02:00
Samy Pessé
1ff7e88cea
Focs and reset scroll on page body
2014-04-14 15:43:11 +02:00
Samy Pessé
c3ba975d6c
Improve quiz sections design
2014-04-14 15:37:13 +02:00
Samy Pessé
8c02e949fc
Fix exercises binding when page changed
...
Add base binding for quiz
2014-04-14 12:43:45 +02:00
Samy Pessé
56e1803b34
Fix title update with pushState navigation
2014-04-14 12:32:22 +02:00
Samy Pessé
c511037f46
New languages page
2014-04-14 01:04:58 +02:00
Samy Pessé
730fe982f5
Add @Nijikokun as a contributor
2014-04-14 00:49:25 +02:00
Samy Pessé
ca71a1c9e6
Fix regression on github as an option
2014-04-14 00:49:09 +02:00
Samy Pessé
01bc283638
Add fonts locally
2014-04-14 00:40:02 +02:00
Samy Pessé
4ca719b108
Fix fonts path
2014-04-14 00:23:38 +02:00
Samy Pessé
889183ccc9
Improve search input design
2014-04-14 00:17:16 +02:00
Samy Pessé
4a6ae8d4e0
Switch to 4spaces indentations for less files
2014-04-14 00:15:35 +02:00
Samy Pessé
b77debae24
Made progress bar static
2014-04-14 00:11:51 +02:00
Samy Pessé
9ffa462111
Add base from clarity theme from @Nijikokun
2014-04-14 00:06:58 +02:00
Samy Pessé
1bbef54015
Remove logs from core module
2014-04-13 23:55:13 +02:00
Samy Pessé
3c7cae6262
Move more build logic to the core generation module
2014-04-13 23:53:34 +02:00
tcorral
646a4513e3
Allow scroll in computers that put the navigation over scroll control. When the document is ready it will check the difference between the body-inner and the page-wrapper width to move the layer only this width allowing the user to scroll.
2014-04-13 04:24:07 +02:00
tcorral
d9e34fc671
Allow scroll in computers that put the navigation over scroll control. When the document is ready it will check the difference between the body-inner and the page-wrapper width to move the layer only this width allowing the user to scroll.
2014-04-13 03:09:50 +02:00
tcorral
2242963258
Allow scroll in computers that put the navigation over scroll control. When the document is ready it will check the difference between the body-inner and the page-wrapper width to move the layer only this width allowing the user to scroll.
2014-04-13 03:07:44 +02:00
Aaron O'Mullan
555c0d63ee
Add gitbook init command, fixes #67
2014-04-12 12:27:13 -07:00
Aaron O'Mullan
fb05609e09
Refactor binary's buildCommand
...
Be more “commander-like”
2014-04-12 11:58:55 -07:00
Aaron O'Mullan
78cb9a56ba
Merge pull request #85 from GitbookIO/pr/63
...
Pr/63
2014-04-12 01:51:06 -07:00
Aaron O'Mullan
6173fb76ad
Refactor, document, improve section type detection
...
Especially for quiz types
2014-04-12 01:50:48 -07:00
Aaron O'Mullan
ca25511d7a
Fixup page lexing in test/page
2014-04-12 01:34:36 -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
Samy Pessé
ab27725b99
Update AUTHORS.md
2014-04-11 23:31:39 +02:00
Samy Pessé
32b1be3dee
Create AUTHORS.md
2014-04-11 23:30:40 +02:00
Samy Pessé
d715b5b154
Merge pull request #84 from Tim-Zhang/master
...
Fix title problem when repo url doesn't have .git suffix
2014-04-11 23:15:30 +02:00
TimZhang
177ca32b9b
Fix title problem when repo url doesn't have .git suffix
2014-04-11 18:04:01 +08: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
Samy Pessé
02d8272c74
Merge pull request #77 from GitbookIO/improve/sections_lexing
...
Improve/sections lexing
2014-04-10 11:34:56 +02: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
04774df372
Add better tests for ambiguous section detection
2014-04-10 02:27:42 -07:00
Aaron O'Mullan
619ded93ad
Improve language normalization
...
Check for null before converting to lower case
2014-04-10 02:21:54 -07:00
Samy Pessé
2e85380cd8
Merge pull request #62 from oliverh855/master
...
Changes the default font from Helvetica to Open Sans
2014-04-09 11:13:56 +02:00
Oliver Hoffmann
241ad7cb0e
Removes unused font-family appLight
2014-04-09 11:09:31 +02:00
Oliver Hoffmann
0171c32996
Removes helvetica font from repository
2014-04-09 11:08:39 +02:00
Oliver Hoffmann
d275bd516a
Changes the default font from Helvetica to Open Sans. See #14
2014-04-09 10:55:52 +02:00
Samy Pessé
99594791e0
Merge Optional github
2014-04-09 08:23:11 +02:00
Samy Pessé
1b432288f0
Merge branch 'optional-github' of https://github.com/mrpotes/gitbook into mrpotes-optional-github
2014-04-09 08:17:37 +02:00
Aaron O'Mullan
2cc23b7e34
Bump version to 0.1.3
2014-04-08 17:03:13 -07:00
Aaron O'Mullan
61b6848a95
Uglify output JS theme/assets/app.js
2014-04-08 17:01:43 -07:00
Aaron O'Mullan
9265b0185a
Add context code support to exercises (optional)
...
Partial #52 , fixes #49 , fixes #46
2014-04-08 16:58:04 -07: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
James Phillpotts
fa2f82d52f
Tidy up use of github, and make error more descriptive
2014-04-08 10:00:10 +01:00
Samy Pessé
2182baa2e9
Merge pull request #51 from calmdev/fix/gh-enterprise
...
Fixes --githubHost option for use with Github Enterprise.
2014-04-07 10:42:55 -07:00
Levi Lewis
7fe189907e
Fixes --githubHost option for use with Github Enterprise.
2014-04-07 13:11:44 -04:00
James Phillpotts
58a90886da
Whoops, missed a couple of extra uses of githubId
2014-04-07 10:51:41 +01:00
James Phillpotts
80794997a4
Make use of github optional
2014-04-07 10:38:06 +01:00
Samy Pessé
9d541a0a4d
Bump version to 0.1.2
2014-04-07 01:22:58 -07:00
Samy Pessé
8f3df085d8
Center images in markdown body
2014-04-07 01:11:08 -07:00
Samy Pessé
b7e04b5475
Don't use caching for search index
2014-04-07 01:08:11 -07:00
Samy Pessé
ee8bf6dc4c
Fix display of table in page body
2014-04-07 01:06:44 -07:00
Samy Pessé
9670f564d9
Improve new navigation on mobile
2014-04-07 01:03:35 -07:00
Samy Pessé
b541df2b93
Add new lateral navigations
2014-04-07 00:44:30 -07:00
Samy Pessé
cf3a641350
Fix progress link to README
2014-04-07 00:02:00 -07:00
Samy Pessé
ec719891a1
Remove need for README.md for multi-languages
2014-04-06 23:53:39 -07:00
Samy Pessé
1bfa8c186c
Fix overflow on languages page
2014-04-06 23:51:16 -07:00
Samy Pessé
5887f1de28
Merge pull request #42 from GitbookIO/feature/ebook
...
Fix #10 : Add generation to ebook
2014-04-06 22:28:17 -07:00
Samy Pessé
a9a66bc240
Add format ebook to README.md
2014-04-06 22:09:52 -07:00
Samy Pessé
742229a989
Add command "ebook" to generate an ebook
2014-04-06 22:03:44 -07:00
Samy Pessé
9fe80b878e
Add option cover for ebook generation
2014-04-06 21:46:11 -07:00
Samy Pessé
4b64c87011
Add base ebook generator using ebook-convert
2014-04-06 19:10:22 -07:00
Samy Pessé
4c36c592c1
Merge pull request #40 from GitbookIO/feature/searchclient
...
Feature/searchclient
2014-04-06 17:13:32 -07:00
Samy Pessé
9ffb1a062f
Use cache in localstorage to store search index
2014-04-06 17:13:10 -07:00
Samy Pessé
536c480969
Fix loading of search index in sub directories
2014-04-06 17:06:01 -07:00
Samy Pessé
d14bd7245f
Open sidebar when opening search
2014-04-06 16:51:14 -07:00
Samy Pessé
6fc8255b7f
Reset search results when hidding search bar
2014-04-06 16:47:28 -07:00
Samy Pessé
a42f287a92
Filter summary using search bar
2014-04-06 16:46:29 -07:00
Samy Pessé
d2f62fd109
Move search bar as global
2014-04-06 16:20:31 -07:00
Samy Pessé
f24b66f2c4
Blur search input when hidding search bar
2014-04-06 16:17:54 -07:00
Samy Pessé
607b45f172
Change norm of core/state
2014-04-06 16:10:25 -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
1a4b196851
Add outdir option to generators' generateFile
2014-04-06 16:04:28 -07:00
Samy Pessé
ff52a2317b
Hide the search bar when pressing ESC key
2014-04-06 16:02:43 -07:00
Samy Pessé
b598c9a272
Add keyboard shortcut "f" for opening search bar
2014-04-06 15:58:00 -07:00
Samy Pessé
9cd7c9ad0e
Focus search input when opening
2014-04-06 15:56:28 -07:00
Aaron O'Mullan
75a8d3069d
Fix dir option in site generator
...
Use relative folder not absolute
2014-04-06 15:55:24 -07:00
Samy Pessé
ed41429d58
Add base search bar in sidebar
2014-04-06 15:53:53 -07:00
Aaron O'Mullan
eecb33baa8
Fix relative link detection in renderer
2014-04-06 15:46:20 -07:00
Aaron O'Mullan
b8f2da734e
Fix minor repetion in README
...
.gitignore was repeated twice
2014-04-06 15:25:39 -07:00
Aaron O'Mullan
3687a1701b
Fix a few typos in README
2014-04-06 15:23:07 -07:00
Aaron O'Mullan
c8f83e2684
Document ignores in README, fixes #37
2014-04-06 15:21:57 -07:00
Aaron O'Mullan
aa7835e913
Add .bookignore to ignoreFiles #37
2014-04-06 15:19:31 -07:00
Samy Pessé
74edc4f279
Merge pull request #39 from GitbookIO/feature/search
...
Feature/search
2014-04-06 15:03:27 -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
2f8543d710
Generate search_index.json when generating site
...
Fixes #24
2014-04-06 14:50:11 -07:00
Aaron O'Mullan
aee33d67b6
Add lunr@0.5.2 dependency
2014-04-06 14:49:44 -07:00
Samy Pessé
52ccc2b46d
Fix #33 : copy files when generating pdf or single page
2014-04-06 14:37:33 -07:00
Aaron O'Mullan
9270d7949a
In page parser, lex only if not already lexed
2014-04-06 14:13:48 -07:00
Samy Pessé
855c9b9aef
Add documentation about multi-languages books
2014-04-06 14:08:11 -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é
d1e55aef8e
Add support of multi-languages book in command pdf
2014-04-06 13:59:58 -07:00
Aaron O'Mullan
ef059c8737
Add marked-text-renderer@0.0.1 dependency
2014-04-06 13:50:44 -07:00
Samy Pessé
fde66ed849
bin/build after generation return all the options
2014-04-06 13:49:51 -07:00
Samy Pessé
abce29866e
Return options after generate
2014-04-06 13:47:29 -07:00
Samy Pessé
014b2f9c69
Merge pull request #35 from GitbookIO/feature/multilangs
...
Fix #34 : Feature/multilangs
2014-04-06 13:44:14 -07:00
Samy Pessé
65cb23feab
Fix generation for page format
2014-04-06 13:43:20 -07:00
Samy Pessé
2b3c67a26b
Fix commands options
2014-04-06 13:16:06 -07:00
Samy Pessé
174ce965d9
Fix command build
2014-04-06 13:09:42 -07:00
Samy Pessé
adf20e6a16
Add base style for languages index page
2014-04-06 13:07:57 -07:00
Samy Pessé
53f714b7f3
Add base for generating languages index
2014-04-06 12:52:35 -07:00
Samy Pessé
d19906d5b2
Add base for multi-languages book
2014-04-06 12:11:43 -07:00
Samy Pessé
fb26b634ce
Fix page format when chapters are not yet written
2014-04-06 01:59:53 -07:00
Samy Pessé
a34dc458c9
Fix footer link when no chapters is ready yet
2014-04-06 00:36:44 -07:00
Aaron O'Mullan
eeb715d5d6
Prevent renderer from mutating sections
2014-04-06 00:21:55 -07:00
Samy Pessé
a8e026a642
Add information about output format
2014-04-05 23:30:48 -07:00
Samy Pessé
cc096d2253
Rename Index.js to index.js
2014-04-06 05:25:22 +02:00
Samy Pessé
a4c1cf9334
Refactor bin/gitbook.js
2014-04-05 20:22:27 -07:00
Samy Pessé
9ffec175a5
Add command gitbook pdf to generate PDF
2014-04-05 20:22:27 -07:00
Aaron O'Mullan
465188cae6
Remove useless console.log in test/summary.js
2014-04-05 20:09:50 -07:00
Aaron O'Mullan
4547ec73fd
Merge pull request #31 from GitbookIO/feature/lang
...
Feature/lang
2014-04-05 20:06:38 -07:00
Aaron O'Mullan
cae6267665
Adapt test to new code language normalization
2014-04-05 20:04:54 -07:00
Aaron O'Mullan
58bee15f37
Add basic code language normalization
2014-04-05 20:04:24 -07:00
Samy Pessé
761cfb4a2c
Add pdf generator using gitbook-pdf
2014-04-05 19:52:51 -07:00
Samy Pessé
8e3339ead2
Fix link to introduction
2014-04-05 18:45:56 -07:00
Aaron O'Mullan
b330277ed7
Normalize paths on Windows to Unix convention
...
Convert “\” to “/“ in relative paths in fs.list
2014-04-05 18:44:53 -07:00
Samy Pessé
12b5baf433
Start exercise index at 1 on pdf format
2014-04-05 18:44:17 -07:00
Samy Pessé
f38d68c355
Improve style of exercises in pdf format
2014-04-05 18:42:21 -07:00
Samy Pessé
865bf40e1a
Add exercise solutions at the end of the pdf book
2014-04-05 18:08:25 -07:00
Samy Pessé
562ee2b77f
Add README introduction to page/pdf generation
2014-04-05 17:33:09 -07:00
Samy Pessé
8b0f2f6329
Fix rendering of code in exercises
2014-04-05 17:28:46 -07:00
Samy Pessé
44717a3e3e
Generate an index.html instead of a README.html
2014-04-05 17:15:22 -07:00
Samy Pessé
6f7e3fda02
Fix conflict in app.js
2014-04-05 13:54:13 -07:00
Samy Pessé
511fc7bd46
Merge branch 'master' of https://github.com/GitbookIO/gitbook
...
Conflicts:
theme/assets/app.js
2014-04-05 13:54:00 -07:00
Aaron O'Mullan
4987beec2b
Add test for exercise language detection
2014-04-05 13:53:44 -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é
694afeccc5
Add base for exercise for others languages
2014-04-05 13:53:22 -07:00
Aaron O'Mullan
959a2d830a
Improve robustness of analytics.isAvailable
...
Fixes GitbookIO/javascript#18
Safari has issues with loading mixpanel, this adds and extra check so
Safari doesn’t fail on event tracking
2014-04-05 12:47:49 -07:00
Aaron O'Mullan
4850c0f302
Bump version to 0.1.1
2014-04-05 01:10:51 -07:00
Aaron O'Mullan
ac258329ff
Copy README.html to index.html instead of symlimk
...
Fixes #28
2014-04-05 01:05:31 -07:00
Samy Pessé
d5bd08dcd2
Show exercise in page format
2014-04-04 20:12:22 -07:00
Samy Pessé
6c414ec400
Fix link for chapters in page format
2014-04-04 20:01:50 -07:00
Samy Pessé
881a0c6f6d
Add info about --theme option
2014-04-04 18:21:40 -07:00
Samy Pessé
0071594300
Fix error with mixpanel loading
2014-04-04 18:18:50 -07:00
Samy Pessé
460799828f
Merge pull request #27 from qrohlf/fix-sidebar-mobile
...
don't show the sidebar by default on mobile
2014-04-05 02:56:57 +02:00
Samy Pessé
02b75288d2
No need to include highlight twice (style.css and print.css)
2014-04-04 17:50:35 -07:00
Samy Pessé
b108be0c3b
Add separation line between pages
2014-04-04 17:46:59 -07:00
Samy Pessé
7ab285832b
Improve style for page printing
2014-04-04 17:40:37 -07:00
Quinn Rohlf
0bc288fe96
don't show the sidebar by default on mobile
2014-04-04 16:44:25 -07:00
Samy Pessé
9fbe240843
Add summary to page generator
2014-04-04 16:40:21 -07:00
Samy Pessé
0c7e2b3557
Add base style for printing
2014-04-04 16:02:57 -07:00
Samy Pessé
e34e65813c
Fix pages order in page generator
2014-04-04 15:53:30 -07:00
Samy Pessé
63f946ced9
In page generator, add break for printing between pages
2014-04-04 15:47:45 -07:00
Samy Pessé
af9f3cf89f
Don't generate folder when using generator "page"
2014-04-04 15:41:22 -07:00
Samy Pessé
355094bbb3
Change option for changing generator to format
2014-04-04 15:38:01 -07:00
Samy Pessé
b3adedb468
Add base for generating single page html
2014-04-04 14:40:27 -07:00
Samy Pessé
026e4362d8
Move mixpanel to app.js
2014-04-04 14:27:32 -07:00
Samy Pessé
9cf5384fbe
Change template name for site generation to site
2014-04-04 14:22:48 -07:00
Samy Pessé
9bc0bf19da
Add command line options for changing theme
2014-04-04 14:15:06 -07:00
Samy Pessé
f49a1a484e
Remove lex command
2014-04-04 14:11:43 -07:00
Samy Pessé
446d486a0f
Add base for theming
2014-04-04 14:10:56 -07:00
Samy Pessé
07101deaef
Move generator to specific folder
2014-04-04 13:57:07 -07:00
Samy Pessé
76b3fcb41c
Add base for page generator
2014-04-04 13:55:43 -07:00
Samy Pessé
febda9aba1
Add Travis CI badge
2014-04-04 20:07:05 +02:00
Aaron O'Mullan
f952fa47b9
Use relative symlink between index & README
...
Fixes #19 , fixes #21
2014-04-04 11:04:58 -07:00
Samy Pessé
1984660930
Rename PAGE.MD to PAGE.md
2014-04-04 20:04:49 +02:00
Aaron O'Mullan
d475affd3b
Merge pull request #25 from GitbookIO/feature/generators
...
Feature/generators
2014-04-04 10:59:13 -07:00
Samy Pessé
fe3de93e06
Create .travis.yml
2014-04-04 19:57:51 +02:00
Samy Pessé
5cae311edf
Log error in command line tool
2014-04-04 10:55:48 -07:00
Samy Pessé
26701a2a73
Remove logs from generation
2014-04-04 10:50:59 -07:00
Samy Pessé
5125e04814
Update tests
2014-04-04 10:47:44 -07:00
Samy Pessé
0a6194340f
Remove file template.js
2014-04-04 10:46:11 -07:00
Samy Pessé
e0d96b3163
Fix links in templates
2014-04-04 10:45:36 -07:00
Samy Pessé
f656390783
Base for new site generator
2014-04-04 10:39:27 -07:00
Samy Pessé
88c480ba4f
Complete json generator
2014-04-04 10:27:45 -07:00
Samy Pessé
3da53d56a2
Add option -g to choice generator
...
Add base json generator
2014-04-04 09:53:05 -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é
9dce855113
Add class BaseGenerator
2014-04-04 09:45:04 -07:00
Samy Pessé
57e2595a3e
Merge pull request #20 from mintbridge/github-host-url
...
Adding config option for github host
2014-04-04 16:51:28 +02:00
Paul Dixon
b1314273bb
Adding config option for github host
...
- this config option allows the github host url to be set to
something other than github.com, mainly so that github enterprise
users can change the url to their private host but will also
work with bitbucket
2014-04-04 14:55:08 +01:00
Samy Pessé
cb9a0b82ba
Fix some typos in lib
2014-04-04 00:00:12 -07:00
Samy Pessé
57ecfe4a54
Make templates more modular
2014-04-03 23:54:03 -07:00
Samy Pessé
405792fd8f
Fix #17 : Remember state of book summary panel
2014-04-03 23:17:45 -07:00
Samy Pessé
fc6d911340
Merge pull request #16 from wh0/patch-1
...
GiBook -> GitBook
2014-04-04 05:00:29 +02:00
wh0
1e6307b69b
GiBook -> GitBook
2014-04-03 19:59:56 -07:00
Aaron O'Mullan
af87dc8d7c
Bump version to 0.1.0
2014-04-03 16:19:49 -07:00
Aaron O'Mullan
1699028688
Handle empty repoID and print error, fixes #11
2014-04-03 16:10:47 -07:00
Samy Pessé
55d9bfbf18
Enable use of spacebar for scrolling into book body
2014-04-03 15:53:50 -07:00
Samy Pessé
c964b53137
Add keyboard shortcut 's' to toggle sidebar
2014-04-03 15:39:05 -07:00
Samy Pessé
510f7bacb4
Show sidebar by default
2014-04-03 15:29:34 -07:00
Samy Pessé
c934238f3d
Fix #9 : add keyboard navigation using right/left
2014-04-03 15:24:57 -07:00
Samy Pessé
ab48959968
Update screenshot preview
2014-04-02 21:25:33 -07:00
Samy Pessé
eb6204aa42
Bump version to 0.0.4
2014-04-02 20:26:08 -07:00
Samy Pessé
a70439f375
Update app.js build
2014-04-02 20:25:52 -07:00
Samy Pessé
a3b562b4e8
Prevent default click action on sharing
2014-04-02 20:24:07 -07:00
Samy Pessé
aa4e3abc33
Add sharing links in header
2014-04-02 20:17:46 -07:00
Samy Pessé
f24a7fbb6e
Fix selection of all buffer when clicking on "Solution"
2014-04-02 19:00:50 -07:00
Samy Pessé
f3a49306b1
Use prefix for storage key
2014-04-02 18:57:36 -07:00
Samy Pessé
f312472abd
Add button to edit current chapter in sidebar
2014-04-02 18:53:58 -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
8fc09e2e05
Add github link resolution test
2014-04-02 18:40:53 -07:00
Aaron O'Mullan
ed7798237a
Add GITHUB_LINKS.md fixture
...
For testing github link resolution
2014-04-02 18:40:52 -07:00
Samy Pessé
faf63566df
Hide articles in progress bar on mobile
2014-04-02 17:48:35 -07:00
Samy Pessé
c88382aea0
Update favicon
2014-04-02 17:01:30 -07:00
Samy Pessé
9ee5f48aef
Add meta tag generator
2014-04-02 16:53:28 -07:00
Samy Pessé
e1dfe5c0f6
Improve meta tags
2014-04-02 16:48:12 -07:00
Aaron O'Mullan
3adcd77ae4
Merge sections together, fixes #7
2014-04-02 16:40:51 -07:00
Aaron O'Mullan
4bdcfd07a9
Add tests for section merging
2014-04-02 16:40:51 -07:00
Aaron O'Mullan
a9967df6eb
Add HR_PAGE.md fixture
...
This is for testing that non exercise sections are merged correctly
together and united with HRs
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
Samy Pessé
ad1867e4d8
Add preview on readme
2014-04-02 10:40:47 +02:00
Samy Pessé
445c2327c4
Bump version to 0.0.3
2014-04-02 01:36:03 -07:00
Samy Pessé
7a33881b3b
Fix mixpanel tracking
2014-04-02 01:35:41 -07:00
Aaron O'Mullan
417ee789c4
Improve README.md, fix minor typos
2014-04-02 01:34:43 -07:00
Samy Pessé
22c118779c
Add preview screenshot
2014-04-02 01:27:54 -07:00
Samy Pessé
53dc206d71
Fix format for exercise
2014-04-02 10:20:44 +02:00
Samy Pessé
3c9d8878df
Add informations about exercises format
2014-04-02 01:14:15 -07:00
Samy Pessé
03cbe7b18f
Add information about summary format
2014-04-02 01:04:01 -07:00
Samy Pessé
85f4c3be58
Add base information on installation in readme
2014-04-02 00:56:02 -07:00
Samy Pessé
eb09f61029
Fix usage of highlight.js
2014-04-01 23:00:22 -07:00
Samy Pessé
2cee253be4
Bump version to 0.0.2
2014-04-01 19:32:55 -07:00
Samy Pessé
25162ceaa2
Fix #5 : Add favicon
2014-04-01 19:20:38 -07:00
Samy Pessé
840113a48f
Improve design of page content (sections and exercises)
2014-04-01 19:10:15 -07:00
Samy Pessé
ddffd02b2e
Add border radius to sections and footer navigation button
2014-04-01 18:59:59 -07:00
Samy Pessé
520ea847da
Make chapter in progress bar clickable
2014-04-01 18:57:48 -07:00
Samy Pessé
e77e3b724e
Improve footer navigation
2014-04-01 18:49:20 -07:00
Samy Pessé
d313589736
Mark chapter as read after the page is viewed
2014-04-01 18:42:43 -07:00
Samy Pessé
466ceb581c
Fix execution when contains &&
2014-04-01 18:21:01 -07:00
Samy Pessé
835953d8dd
Improve lisibility of text in page
2014-04-01 17:57:20 -07:00
Samy Pessé
a69e8ec328
Add highlight.js dependency
2014-04-01 17:39:22 -07:00
Samy Pessé
970107c656
Fix #3 : Add syntax highlighting
2014-04-01 17:01:44 -07:00
Samy Pessé
7121b7efe3
Fix #4 : Add option for defining description
2014-04-01 16:42:15 -07:00
Samy Pessé
d02581a21c
Add base analytic using mixpanel
2014-04-01 15:39:28 -07:00
Samy Pessé
fd5c2f6706
Fix transition on header
2014-04-01 14:42:04 -07:00
Samy Pessé
b93f67c84a
Save sidebar state
2014-04-01 13:26:06 -07:00
Aaron O'Mullan
86cf2d9d9d
Bump version to 0.0.1
2014-04-01 02:51:16 -07:00
Samy Pessé
1e719cf773
Improve footer navigation on mobile
2014-04-01 02:48:00 -07:00
Samy Pessé
c66b37d91c
Improve progress bar design
2014-04-01 02:38:19 -07:00
Samy Pessé
ca2d499f63
Change style of bottom navigation
2014-04-01 02:36:36 -07:00
Samy Pessé
b30132d8c8
Fix link to issues
2014-04-01 02:00:53 -07:00
Samy Pessé
71dee7717d
Fix summary display on firefox
2014-04-01 01:58:04 -07:00
Samy Pessé
4d880fc05b
Improve animation and display of progress bar
2014-04-01 01:51:18 -07:00
Samy Pessé
7b0d50fc45
Fix position of progress bar
2014-04-01 01:23:17 -07:00
Samy Pessé
256d1ba35a
Add progress calcul
2014-04-01 01:21:44 -07:00
Aaron O'Mullan
cc340db0fa
Add cli command serve
...
This does a build, then spins up a HTTP server to serve the books
contents
2014-04-01 01:14:56 -07:00
Aaron O'Mullan
f776748437
Don't add chapters/articles with null paths to navigation
2014-04-01 00:45:52 -07:00
Aaron O'Mullan
bb96433fe3
Adjust summary test for new SUMMARY.md fixture
2014-04-01 00:45:51 -07:00
Aaron O'Mullan
6a63708939
Add tests for null paths in navigation
...
Unfinished chapters/articles should be put in navigation
2014-04-01 00:45:51 -07:00
Samy Pessé
e08b09f3cf
Fix execution of code
2014-04-01 00:24:09 -07:00
Samy Pessé
b3c865ef58
Add execution of exercise
2014-04-01 00:12:26 -07:00
Aaron O'Mullan
2aebb38e58
Add jsrepl to static assets
2014-03-31 23:47:13 -07:00
Samy Pessé
93a0f52b85
Add base for full optimized markdown github style
2014-03-31 23:35:02 -07:00
Samy Pessé
202355729e
Fix font-awesome path
2014-03-31 23:18:10 -07:00
Samy Pessé
70569affc2
Fix overflow on header
2014-03-31 23:06:08 -07:00
Samy Pessé
d36dfee40b
Mark as disabled articles not yet finished in the summary
2014-03-31 23:02:43 -07:00
Samy Pessé
eed1dfb243
Only convert markdown file from the navigation
2014-03-31 22:54:22 -07:00
Samy Pessé
aefbfaf057
Move getFiles to fs module
2014-03-31 22:45:45 -07:00
Samy Pessé
0f0128fa49
Show level in summary page
2014-03-31 22:35:59 -07:00
Samy Pessé
8edd5e4b3b
Signal and mark progress
2014-03-31 22:27:25 -07:00
Samy Pessé
642a338cb0
Mark levels done in local storage
2014-03-31 19:41:29 -07:00
Aaron O'Mullan
77136705fc
Add level attribute in navigation
2014-03-31 19:39:38 -07:00
Aaron O'Mullan
b16f6d548c
Add tests for level attribute in navigation
2014-03-31 19:39:38 -07:00
Samy Pessé
07c10da91f
Add base for handling and storing progress
2014-03-31 19:34:50 -07:00
Aaron O'Mullan
0ad6533f12
Add level attribute to chapters/articles
2014-03-31 19:34:06 -07:00
Aaron O'Mullan
2234026153
Add tests for level attribute to chapters/articles
2014-03-31 19:33:55 -07:00
Aaron O'Mullan
a6d18e89df
Symlink README.html to index.html for book output
2014-03-31 19:25:14 -07:00
Aaron O'Mullan
ec570ca68d
Remove extra "q" dependency in package.json
2014-03-31 19:19:52 -07:00
Aaron O'Mullan
6bcd483351
Replace glob with better fstream-ignore
...
It ignores according to .gitignore and other folders
2014-03-31 19:19:52 -07:00
Samy Pessé
347ae52e67
Fix star and watch count
2014-03-31 19:08:06 -07:00
Samy Pessé
5ff6896ee5
Move all javascript to the bundle
2014-03-31 19:04:26 -07:00
Samy Pessé
68e35758c3
Add base for javascript compilation using requirejs
2014-03-31 19:01:01 -07:00
Aaron O'Mullan
84d703c6f5
Ensure destination dir exists before building
2014-03-31 18:28:51 -07:00
Aaron O'Mullan
138dc1f2de
Add target _blank support in renderer for external links
2014-03-31 18:15:05 -07:00
Samy Pessé
1ab31ede81
Fix display of long title in summary
2014-03-31 18:01:35 -07:00
Samy Pessé
e0a97f2f4b
Improve footer navigation display
2014-03-31 17:49:21 -07:00
Samy Pessé
885e451054
Mark as active current chapter
2014-03-31 17:43:07 -07:00
Aaron O'Mullan
a7b8e24e7a
Fix tiny typo
...
In string not code
2014-03-31 17:41:37 -07:00
Aaron O'Mullan
abf8c59946
Improve navigation from 1st chapter back to intro
...
1st chapter’s prev, now links to the intro page
2014-03-31 17:40:57 -07:00
Samy Pessé
91a916e146
Improve navigation on mobile resolutions
2014-03-31 17:38:28 -07:00
Aaron O'Mullan
752b26e963
Fix previous/next chapter navigation
2014-03-31 17:36:01 -07:00
Aaron O'Mullan
45574cf7a5
Add better tests for chapter navigation
...
Proves previous and next chapter logic is broken
2014-03-31 17:36:01 -07:00
Aaron O'Mullan
4607f406ab
Add navigation tests for first page for README of a chapter
2014-03-31 17:36:01 -07:00
Samy Pessé
bc5d963c5e
Fix title position for small screen
2014-03-31 17:28:40 -07:00
Samy Pessé
d85ae0a36e
Improve title position with summary open in header
2014-03-31 17:27:14 -07:00
Samy Pessé
9c211ab214
Mark active chapter in summary
2014-03-31 17:25:00 -07:00
Samy Pessé
ce3e103024
Add navigation parsed in footer
2014-03-31 17:17:34 -07:00
Samy Pessé
8ecaeb86f9
Improve spacing of navigation links in footer
2014-03-31 17:17:24 -07:00
Samy Pessé
1b00fc9620
Add footer for navigation links
2014-03-31 17:06:40 -07:00
Aaron O'Mullan
39f1ed055e
Add parse.navigation module
...
With tests
2014-03-31 17:06:39 -07:00
Aaron O'Mullan
3f3bade58e
Change summary data format
...
Simplify chapter objects, by making them identical to article objects
besides the .articles attribute
2014-03-31 17:06:39 -07:00
Samy Pessé
0821b10e18
Improve page section design
2014-03-31 16:22:28 -07:00
Samy Pessé
37aaab3bae
Remove test.js
2014-03-31 16:08:10 -07:00
Aaron O'Mullan
fcdb12f4ca
Set size of exercise code editor according to solution
...
Use the number of lines in solution to set editor’s size
2014-03-31 15:55:06 -07:00
Aaron O'Mullan
2d29121e2e
Add lex sub-command to gitbook binary
...
The lex command is useful for debugging files and seeing how they are
parsed
2014-03-31 15:54:26 -07:00
Aaron O'Mullan
36b961c539
Clean output folder before generating
2014-03-31 15:24:38 -07:00
Aaron O'Mullan
e9e94a7344
Filter out empty sections when generating pages
2014-03-31 15:14:31 -07:00
Aaron O'Mullan
a8e0de86e9
Generate a unique Id for each section
2014-03-31 15:03:06 -07:00
Samy Pessé
6261d42b95
Add base for full display of exercises
2014-03-31 15:01:02 -07:00
Aaron O'Mullan
8e22d80c7c
Add content & code generation for exercise sections
2014-03-31 15:00:03 -07:00
Samy Pessé
82b99189b1
Add base display of exercise
2014-03-31 13:59:51 -07:00
Aaron O'Mullan
3f7f5667e4
Merge pull request #1 from GitbookIO/feature/cli
...
Initial gitbook binary
2014-03-31 13:52:41 -07:00
Aaron O'Mullan
a88ea48206
Initial gitbook binary
2014-03-31 13:51:31 -07:00
Samy Pessé
c3a181a50d
Fix author link
2014-03-31 12:59:26 -07:00
Samy Pessé
0fdd31dc39
Fix link for watcher and stargazers
2014-03-31 12:54:53 -07:00
Samy Pessé
d44fd91181
Get watcher and stargazer count using github api
2014-03-31 12:51:27 -07:00
Aaron O'Mullan
264a506e8b
Fix bug with exercise classification
2014-03-31 12:40:53 -07:00
Samy Pessé
d98669958d
Fix header link and display
2014-03-31 12:39:16 -07:00
Samy Pessé
4210794de6
Fix all relative links
2014-03-31 12:31:01 -07:00
Samy Pessé
77a4c1042c
Merge branch 'master' of https://github.com/GitbookIO/gitbook
2014-03-31 12:16:16 -07:00
Samy Pessé
6df59745b1
Fix link in summary (absolute to relative)
2014-03-31 12:15:45 -07:00
Samy Pessé
0b08663b70
Fix font path
2014-03-31 12:14:40 -07:00
Samy Pessé
19a3981475
Copy assets to build
2014-03-31 12:10:26 -07:00
Aaron O'Mullan
89593f46ab
Normalize .md links to .html when rendering pages
2014-03-31 12:09:28 -07:00
Samy Pessé
1f3f062841
Add base for generation
2014-03-31 12:00:22 -07:00
Aaron O'Mullan
1d321207b0
Normalize chapter & article paths
2014-03-31 12:00:13 -07:00
Aaron O'Mullan
bd7531f3cc
Add tests for path normalization
...
.md to .html
2014-03-31 11:58:31 -07:00
Aaron O'Mullan
75073d47a2
Add link to PAGE.md fixture
2014-03-31 11:57:16 -07:00
Aaron O'Mullan
0af1886358
Move summary & page parsing code to lib/parse/
2014-03-31 01:50:21 -07:00
Aaron O'Mullan
d18da55a18
Improve section classification
2014-03-31 01:34:37 -07:00
Aaron O'Mullan
7ab78b420a
Change lib entry point to lib/index.js
2014-03-31 01:02:35 -07:00
Aaron O'Mullan
5e183f24de
Expose page module in index.js
2014-03-30 22:52:27 -07:00
Aaron O'Mullan
2c36a21938
Render normal sections' content to HTML
2014-03-30 22:51:30 -07:00
Aaron O'Mullan
7b4974209b
Add tests for page content rendering
2014-03-30 22:51:02 -07:00
Aaron O'Mullan
c21303c762
Add section type detection
2014-03-30 22:36:22 -07:00
Aaron O'Mullan
4c1435f27f
Test for section types
2014-03-30 22:36:08 -07:00
Aaron O'Mullan
0199e56000
Add initial page parsing
...
(Split sections)
2014-03-30 22:30:45 -07:00
Aaron O'Mullan
9284eb4115
Add basic page tests
2014-03-30 22:30:30 -07:00
Aaron O'Mullan
cfbdadd6e4
Add title and path parsing for chapters & articles
2014-03-30 22:02:07 -07:00
Aaron O'Mullan
603870ee07
Add test for titles & paths
2014-03-30 22:01:37 -07:00
Aaron O'Mullan
39a80421fc
Add summary parsing
2014-03-30 21:30:33 -07:00
Aaron O'Mullan
1d28ab441a
Add tests for summary parsing
2014-03-30 21:30:21 -07:00
Aaron O'Mullan
d5070c0bf1
Add base dependencies
2014-03-30 20:13:47 -07:00
Aaron O'Mullan
71e9d7bd80
Initial package.json
2014-03-30 20:10:04 -07:00
Aaron O'Mullan
0a104b1f85
Initial commit
2014-03-30 20:01:56 -07:00