Samy Pesse
|
ef589a6b13
|
Switch tests to mocha while keeping jest structure
|
2016-05-11 13:02:24 +02:00 |
|
Samy Pesse
|
4d85d6eb6e
|
Fix #1267: don't fail when "node_modules" folder doesn't exist
|
2016-05-04 17:41:15 +02:00 |
|
Johan Preynat
|
ee8d35df7a
|
Update Plugins.listResources() to use the prepared resources list
|
2016-05-04 10:30:11 +02:00 |
|
Samy Pesse
|
79c91fd8c5
|
Log npm version being used when running gitbook install
|
2016-05-02 22:18:19 +02:00 |
|
Samy Pesse
|
30c96c37c2
|
Adapt Plugin.listAll to use a list of PluginDependency
|
2016-05-02 22:02:24 +02:00 |
|
Samy Pessé
|
c87060454e
|
Add model for plugin dependencies in the book.json
|
2016-05-02 16:24:20 +02:00 |
|
Johan Preynat
|
fa6fcffbe1
|
Improve lib/plugins/__tests__/findInstalled.js
|
2016-05-02 15:06:02 +02:00 |
|
Johan Preynat
|
59479f10fc
|
Fix lib/plugins/__tests__/findInstalled.js
|
2016-05-02 14:46:54 +02:00 |
|
Samy Pessé
|
4c144b6ceb
|
Fix Plugins.listAll to handle strings
|
2016-05-02 13:42:18 +02:00 |
|
Samy Pessé
|
fabf4f0c0a
|
Enable livereload plugin when serving content
|
2016-05-02 09:56:32 +02:00 |
|
Samy Pessé
|
1c43b7891b
|
Log resolved version when installing plugins
|
2016-05-02 09:02:36 +02:00 |
|
Samy Pesse
|
6cbbdf5d5b
|
Improve spacing when installing plugins
|
2016-05-01 22:58:25 +02:00 |
|
Samy Pesse
|
3a48435497
|
Cleanup folder before generating output
|
2016-05-01 19:35:50 +02:00 |
|
Samy Pesse
|
084925de8b
|
Improve plugin loading to not fake module errors
|
2016-05-01 19:07:57 +02:00 |
|
Samy Pesse
|
30bce5f9bb
|
Add option "--timing" to mesure gitbook performances
|
2016-04-30 14:37:44 +02:00 |
|
Samy Pesse
|
9acccad23a
|
Fix validation of configuration for plugins
|
2016-04-29 23:19:33 +02:00 |
|
Samy Pesse
|
db1a0aedf8
|
Fix listing of plugins when contains "-"
|
2016-04-29 23:13:31 +02:00 |
|
Johan Preynat
|
b8d7a00f58
|
Find installed gitbook-plugins in node_modules folder
|
2016-04-29 14:38:12 +02:00 |
|
Samy Pessé
|
fb37a6bcab
|
Inherit plugins list from parent output when generating multilingual book
|
2016-04-29 11:31:54 +02:00 |
|
Samy Pessé
|
73c190891d
|
Fix parsing of multilingual books
|
2016-04-29 10:58:25 +02:00 |
|
Samy Pessé
|
281f6d5535
|
Extend timeout for tests
|
2016-04-28 15:36:54 +02:00 |
|
Samy Pessé
|
e50422bce5
|
Use code TemplateBlock to highlight code
|
2016-04-27 16:22:17 +02:00 |
|
Samy Pessé
|
50f535b910
|
Fix plugin's config validation
|
2016-04-27 14:31:45 +02:00 |
|
Samy Pessé
|
a9d558e891
|
Add method ".toText" on glossary and summary
|
2016-04-27 14:11:45 +02:00 |
|
Samy Pessé
|
7298dec353
|
Add plugins.resources for template context
|
2016-04-27 13:47:12 +02:00 |
|
Samy Pesse
|
7a46d3b497
|
Add command "serve"
|
2016-04-26 15:51:52 +02:00 |
|
Samy Pesse
|
fa17f16716
|
Add base for commands
Improve plugins installation
|
2016-04-26 15:23:28 +02:00 |
|
Samy Pesse
|
374ebd6f7a
|
Add mock fs and tests for it
|
2016-04-26 10:23:37 +02:00 |
|
Samy Pessé
|
814b6ff489
|
Complete json format
|
2016-04-25 11:05:06 +02:00 |
|
Samy Pessé
|
4646ed8f4a
|
Fix plugins loading
|
2016-04-25 10:32:44 +02:00 |
|
Samy Pessé
|
cc78b880ce
|
Add utils to install plugins
|
2016-04-22 11:33:25 +02:00 |
|
Samy Pessé
|
4336fdb241
|
Base
|
2016-04-22 11:00:21 +02:00 |
|
Samy Pesse
|
d490a6e0b4
|
Correctly load plugins when using "root" option
|
2016-04-19 17:40:01 +02:00 |
|
Johan Preynat
|
3c54c89464
|
Use page.content if modified or fallback to page.sections in plugins hooks
|
2016-04-19 10:02:41 +02:00 |
|
Johan Preynat
|
c59fc687db
|
Ensure plugins compatibility with page.sections
|
2016-04-18 14:10:19 +02:00 |
|
Johan Preynat
|
53cfa3703b
|
Update page context for plugins hooks
|
2016-04-13 09:33:26 +02:00 |
|
Samy Pessé
|
0118bd3168
|
Cleanup code to list plugins
|
2016-04-11 12:29:53 +02:00 |
|
Samy Pessé
|
c9edd0a795
|
Load plugins from book parent in multilingual book
|
2016-04-09 12:16:17 +02:00 |
|
Samy Pessé
|
e07719a86c
|
Fix template search paths to use plugins listed first
|
2016-03-22 10:59:25 +01:00 |
|
Samy Pessé
|
fbffd54aa2
|
Load all plugins, even dependencies of plugins
|
2016-03-15 12:37:25 +01:00 |
|
Samy Pessé
|
4d19a33af2
|
Add method registry.list to list all plugins for a book
|
2016-03-15 11:43:37 +01:00 |
|
Samy Pessé
|
0d367da776
|
Use complete list of plugins for templates resolution / i18n / assets
|
2016-03-09 16:45:27 +01:00 |
|
Samy Pessé
|
b4bdf97cfe
|
Fix linting errors
|
2016-03-07 10:40:25 +01:00 |
|
Samy Pessé
|
008aacb5c2
|
Fix log when installing plugins
|
2016-03-07 09:41:59 +01:00 |
|
Samy Pessé
|
8cda844ef1
|
Export output for plugins context
|
2016-02-28 12:46:47 +01:00 |
|
Samy Pessé
|
1ba63675d5
|
Support "sections" from gitbook 2 as deprecated for page hooks
|
2016-02-25 14:41:46 +01:00 |
|
Samy Pessé
|
9215edc0a0
|
Remove option defaultPlugins and simplify loading
|
2016-02-25 14:17:31 +01:00 |
|
Samy Pessé
|
0b4a6b5362
|
Output folder is an option for FolderOutput
|
2016-02-24 18:07:17 +01:00 |
|
Samy Pessé
|
3a0636046e
|
Fix binding to context for plugin blocks
|
2016-02-24 17:20:48 +01:00 |
|
Samy Pessé
|
86e4a935e2
|
Improve logging
|
2016-02-24 17:12:38 +01:00 |
|