Samy Pessé
23aecb4f2b
Improve output of page to text with frontmatter
2016-06-07 16:23:12 +02:00
Samy Pessé
f1d200b81b
Rollback frontmatter parsing to js-yaml to be browserify compatible
2016-06-07 14:32:12 +02:00
Samy Pessé
b566711ee1
Add method toText to Page
2016-06-07 12:51:35 +02:00
Samy Pessé
22da5aac11
Switch frontmatter parsing to gray-matter
2016-06-07 12:47:16 +02:00
Samy Pessé
f7b95102c5
Expose Page model
2016-06-07 12:36:32 +02:00
Samy Pessé
ca70c934d6
Split page parsing into parsePageFromString and parsePage
...
Add tests for parsePageFromString
2016-06-07 12:31:21 +02:00
Samy Pessé
1cc48fa314
Use Immutable instead of lodash for mergeDefaults
2016-06-07 12:06:29 +02:00
Samy Pessé
b63b5574d3
Only merge objects in mergeDefaults
2016-06-07 11:40:54 +02:00
Samy Pessé
67106e8698
Improve plugins config modifier
2016-06-07 11:06:53 +02:00
Samy Pessé
dc2ab51a88
Update i18n-t and juice
2016-06-07 10:54:34 +02:00
Samy Pessé
cedfa186f2
Remove merge-defaults dependency
2016-06-07 10:48:04 +02:00
Samy Pessé
80f0d1bfed
Update gitbook-markdown and gitbook-asciidoc to use lodash@4
2016-06-07 10:36:01 +02:00
Samy Pessé
7178ab1f82
Improve Config.toText to return only the required fields
2016-06-07 10:26:28 +02:00
Samy Pesse
bf895b707e
Improve addPlugin to not append default plugins to the list
2016-06-07 00:56:24 +02:00
Samy Pesse
996170a4ad
ConfigModifier.removePlugin should toggle off if default
2016-06-07 00:48:47 +02:00
Samy Pesse
aa66a4f928
Expose DEFAULT_PLUGINS as a list of PluginDependency
2016-06-06 22:04:13 +02:00
Samy Pesse
23010fa54a
Adapt tests for config modifiers
2016-06-06 21:22:44 +02:00
Samy Pesse
0baebc7979
Change config modifier to work on a config object
2016-06-06 21:20:00 +02:00
Samy Pesse
257158321c
Bump version to 3.1.0
3.1.0
2016-06-06 19:51:44 +02:00
Samy Pesse
ddf0a41e29
Add method editPlugin to config modifiers
2016-06-06 19:42:44 +02:00
Samy Pesse
357e1e8e96
Add unit tests for postRender
2016-06-06 19:24:12 +02:00
Samy Pesse
7a89f9869a
Update gitbook-markdown@1.3.0 and gitbook-asciidoc@1.2.0
2016-06-06 18:07:31 +02:00
Samy Pesse
30fbd22efe
Add modifier togglePlugin
2016-06-06 17:27:47 +02:00
Samy Pesse
29df73ba72
Add method "toText" to config
2016-06-06 17:16:53 +02:00
Soreine
f8676483c1
Default paths are relative to the current book
2016-06-06 16:55:00 +02:00
Johan Preynat
c79a6f2fba
Use theme-default@1.0.4
2016-06-06 15:46:44 +02:00
Samy Pessé
c38e67ea61
Merge pull request #1344 from GitbookIO/fix/readme-in-summary
...
Search for README file in whole summary before inserting as first article
2016-06-06 12:18:06 +02:00
Johan Preynat
97a5f8805e
Use plugin-fontsettings@2.0.0
2016-06-02 10:24:12 +02:00
Johan Preynat
421fef6ebf
Search for README file in whole summary before inserting as first article
2016-05-30 15:07:39 +02:00
Johan Preynat
33406c3082
Merge pull request #1336 from GitbookIO/loading/themes
...
Load plugins before themes
2016-05-28 11:56:34 +02:00
Johan Preynat
c3851889b0
Throw an error if generateMock() cannot create the temp directory
2016-05-27 17:15:23 +02:00
Johan Preynat
4a5de2da6b
Use sortPlugins() in loadForBook()
2016-05-27 15:06:20 +02:00
Johan Preynat
1afb23cada
Add test file for sortPlugins()
2016-05-27 15:06:08 +02:00
Johan Preynat
a3b0f3f868
Export plugins sorting method to load plugins before themes
2016-05-27 15:05:55 +02:00
Johan Preynat
0aa32916d6
Add prefix for theme plugins as constant
2016-05-27 15:05:33 +02:00
Samy Pessé
ebe845d46c
Bump version to 3.0.3
3.0.3
2016-05-27 12:16:56 +02:00
Samy Pessé
edee8d2fc5
Update gitbook-theme-default@1.0.3
2016-05-27 12:07:35 +02:00
Samy Pessé
5f3de0876f
Add header 'X-Current-Location' to serve and fix handling of directories
2016-05-27 12:01:28 +02:00
Samy Pessé
2ceab04d01
Increase timeout for tests of plugin installation
2016-05-27 11:40:05 +02:00
Samy Pessé
de37de44e8
Add tests for installation of all plugins
2016-05-27 11:18:12 +02:00
Samy Pessé
ccb87d5a13
Add unit tests for installPlugin
2016-05-27 11:10:39 +02:00
Samy Pessé
e2e0ca3f05
Add test for plugin version resolution
2016-05-27 10:54:56 +02:00
Samy Pessé
b33a79704b
Switch plugin installation and resolveVersion to use PluginDependency instead of Plugin
2016-05-27 09:38:23 +02:00
Samy Pessé
6def174b84
Merge pull request #1334 from ryanswanson/master
...
Fixed two issues for handling git URLs for plugins
2016-05-27 09:27:11 +02:00
Samy Pessé
346a18b444
Merge pull request #1335 from GitbookIO/fix/1333
...
Fix #1333 : fix invalid URLs for glossary annotations
2016-05-26 22:30:06 +02:00
Samy Pesse
b32685c698
Add test for custom glossary file
2016-05-26 22:01:40 +02:00
Samy Pesse
09b3618da8
Annotate glossary terms before resolving links
2016-05-26 21:38:27 +02:00
Samy Pesse
901328f247
Complete basic tests for glossary
2016-05-26 21:37:10 +02:00
Samy Pesse
b47ebaa9d9
Use real glossary name when annotating
2016-05-26 21:10:06 +02:00
Ryan Swanson
465e8d6c0a
Fixed two issues for handling git URLs for plugins that are published to git repositories rather than on npmjs.org.
...
Fixed issue in pluginDependency to dereference 'name' and 'version' using Immutable Map.get(...) accessors since config values are now wrapped by Immutable.fromJS(...) in config.js > setValue(...). Added associated unit test.
Fixed issue in resolveVersion where a plugin may be using a git URL rather than a semver for the version portion of the plugin config definition. In addition, refactored the resolveVersion function into a new module to allow for unit testing. Added associated unit test.
2016-05-26 14:30:29 -04:00