summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'fix-3.1-version'Johan Preynat2016-10-012-6/+26
|\
| * Correctly handle page parsing errorsJohan Preynat2016-10-011-6/+25
| |
| * Add commentJohan Preynat2016-10-011-0/+1
| |
* | Fix #1408: fix i18n in website generator and add tests for itSamy Pessé2016-07-1111-86/+159
| |
* | editPlugin and getPluginConfigSoreine2016-07-113-1/+22
| |
* | Fix reducedObject when default property is undefinedSoreine2016-07-111-0/+5
| |
* | Export file modelSamy Pessé2016-07-071-0/+1
| |
* | Add back property "output" to page/template contextSamy Pessé2016-07-047-29/+53
| |
* | Add tests for locationUtils.flattenSamy Pessé2016-06-291-0/+15
| |
* | Add method "isFile" and "isReadme" in SummaryArticleSamy Pessé2016-06-297-65/+137
| |
* | disable open by defaultMatthias Pfeil2016-06-201-1/+1
| |
* | add open and browser args to serve commandMatthias Pfeil2016-06-171-0/+17
| |
* | Enable long stack support when process.env.CI is trueSamy Pesse2016-06-111-43/+44
|/
* Fix extsAsciidoc.jsSamy Pesse2016-06-101-0/+0
|
* Expose markdown/asciidoc extensions to gitbook moduleSamy Pesse2016-06-104-20/+33
|
* Adapt Plugins.loadForBook to use correct orderSamy Pesse2016-06-108-151/+132
|
* Start fixing order of plugins in dependenciesSamy Pessé2016-06-105-29/+62
|
* Add method "createChildLevel" to SummaryPartSamy Pessé2016-06-102-4/+40
|
* Add method .createChildLevel for SummaryArticleSamy Pessé2016-06-102-36/+71
|
* Fix #1374 and #1360: apply transform of conrefsLoader using a string, not a ↵Samy Pessé2016-06-106-63/+70
| | | | buffer
* Fix #1377: fix listing of plugins when using gitbook as a librarySamy Pessé2016-06-104-7/+58
|
* Fix listAll to add default plugins after normal onesSamy Pessé2016-06-105-45/+35
|
* Adapt sortPlugins to only sort an ordered map of pluginsSamy Pessé2016-06-104-44/+65
|
* Add tests for insertPartSoreine2016-06-102-1/+61
|
* Merge pull request #1363 from todvora/masterSamy Pessé2016-06-102-2/+14
|\ | | | | Fixed target attribute for external links
| * fixed target attribute for external linksTomas Dvorak2016-06-072-2/+14
| |
* | Compare list of plugins sorted to array of names in testsSamy Pessé2016-06-081-41/+31
| |
* | sortPlugins should not be asyncSamy Pessé2016-06-083-72/+60
| |
* | Improve testing for sortPluginsSamy Pessé2016-06-082-54/+50
| |
* | Fix serve cli using new ConfigModifier.addPluginSoreine2016-06-081-1/+3
|/
* Fix linting errorSamy Pessé2016-06-071-1/+1
|
* Improve output of page to text with frontmatterSamy Pessé2016-06-072-2/+2
|
* Rollback frontmatter parsing to js-yaml to be browserify compatibleSamy Pessé2016-06-073-8/+9
|
* Add method toText to PageSamy Pessé2016-06-072-0/+44
|
* Switch frontmatter parsing to gray-matterSamy Pessé2016-06-071-5/+5
|
* Expose Page modelSamy Pessé2016-06-071-0/+1
|
* Split page parsing into parsePageFromString and parsePageSamy Pessé2016-06-075-34/+84
| | | | Add tests for parsePageFromString
* Use Immutable instead of lodash for mergeDefaultsSamy Pessé2016-06-071-9/+11
|
* Only merge objects in mergeDefaultsSamy Pessé2016-06-071-5/+9
|
* Improve plugins config modifierSamy Pessé2016-06-076-11/+68
|
* Remove merge-defaults dependencySamy Pessé2016-06-073-2/+12
|
* Improve Config.toText to return only the required fieldsSamy Pessé2016-06-073-1/+69
|
* Improve addPlugin to not append default plugins to the listSamy Pesse2016-06-073-10/+27
|
* ConfigModifier.removePlugin should toggle off if defaultSamy Pesse2016-06-072-2/+14
|
* Expose DEFAULT_PLUGINS as a list of PluginDependencySamy Pesse2016-06-064-20/+32
|
* Adapt tests for config modifiersSamy Pesse2016-06-062-10/+3
|
* Change config modifier to work on a config objectSamy Pesse2016-06-064-29/+17
|
* Add method editPlugin to config modifiersSamy Pesse2016-06-062-1/+18
|
* Add unit tests for postRenderSamy Pesse2016-06-065-73/+115
|
* Add modifier togglePluginSamy Pesse2016-06-066-55/+117
|
* Add method "toText" to configSamy Pesse2016-06-061-56/+53
|
* Default paths are relative to the current bookSoreine2016-06-061-6/+27
|
* Search for README file in whole summary before inserting as first articleJohan Preynat2016-05-301-5/+3
|
* Merge pull request #1336 from GitbookIO/loading/themesJohan Preynat2016-05-285-6/+130
|\ | | | | Load plugins before themes
| * Throw an error if generateMock() cannot create the temp directoryJohan Preynat2016-05-271-1/+7
| |
| * Use sortPlugins() in loadForBook()Johan Preynat2016-05-271-5/+4
| |
| * Add test file for sortPlugins()Johan Preynat2016-05-271-0/+70
| |
| * Export plugins sorting method to load plugins before themesJohan Preynat2016-05-271-0/+45
| |
| * Add prefix for theme plugins as constantJohan Preynat2016-05-271-0/+4
| |
* | Add header 'X-Current-Location' to serve and fix handling of directoriesSamy Pessé2016-05-271-2/+21
| |
* | Increase timeout for tests of plugin installationSamy Pessé2016-05-272-0/+4
| |
* | Add tests for installation of all pluginsSamy Pessé2016-05-271-0/+28
| |
* | Add unit tests for installPluginSamy Pessé2016-05-275-53/+99
|/
* Add test for plugin version resolutionSamy Pessé2016-05-271-4/+12
|
* Switch plugin installation and resolveVersion to use PluginDependency ↵Samy Pessé2016-05-273-10/+25
| | | | instead of Plugin
* Merge pull request #1334 from ryanswanson/masterSamy Pessé2016-05-275-83/+121
|\ | | | | Fixed two issues for handling git URLs for plugins
| * Fixed two issues for handling git URLs for plugins that are published to git ↵Ryan Swanson2016-05-265-83/+121
| | | | | | | | | | | | | | | | 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.
* | Add test for custom glossary fileSamy Pesse2016-05-261-0/+14
| |
* | Annotate glossary terms before resolving linksSamy Pesse2016-05-262-7/+7
| |
* | Complete basic tests for glossarySamy Pesse2016-05-261-3/+6
| |
* | Use real glossary name when annotatingSamy Pesse2016-05-263-7/+13
| |
* | Method for parsing glossary when not listed in summarySamy Pessé2016-05-261-10/+41
| |
* | Start test for glossary generationSamy Pessé2016-05-261-0/+32
|/
* Fix #1316: fix regression for supporting uppercase filenames in structureSamy Pessé2016-05-262-1/+11
|
* Fix #1328: fix crash when anchor linksSamy Pesse2016-05-252-9/+21
|
* Fix anchor breaking links resolutionSamy Pessé2016-05-243-4/+25
|
* Fix #1316: adapt regexp to handle dot in filenamesSamy Pessé2016-05-232-1/+11
|
* Add failing test for #1316Samy Pessé2016-05-232-4/+32
|
* Fix error with isInRoot when empty rootSamy Pessé2016-05-201-0/+3
|
* Fix PathUtils.isInRoot on windowsSamy Pessé2016-05-201-0/+6
|
* Fix #1310: enforce language config in language booksSamy Pesse2016-05-191-2/+6
|
* Implement renderInline method and missing output methods for APISamy Pesse2016-05-172-0/+55
|
* Implement renderBlock method for plugin APISamy Pesse2016-05-171-0/+15
|
* Expose lookup method for parsable filesSoreine2016-05-177-34/+58
|
* Fix bug that can happen when configuration file doesn't existSamy Pessé2016-05-121-9/+9
|
* Add api method getPageByPath for pluginsSamy Pessé2016-05-121-0/+14
|
* Fix #1289: add option to filter files when listing using fs.listAllFilesSamy Pessé2016-05-122-19/+24
|
* Fix #1300: parse page frontmatter and content when listing pagesSamy Pessé2016-05-122-5/+7
|
* Add template method "getPageByPath"Samy Pessé2016-05-123-5/+32
|
* Fix #1299: pass fileExists as global function for template, accept ↵Samy Pessé2016-05-121-19/+36
| | | | null/undefined as param
* Fix generation of ebook for multilingual book (gitbook pdf)Samy Pessé2016-05-121-5/+7
|
* Fix get of cover for multilingual booksSamy Pessé2016-05-121-3/+3
|
* Revert "Extend Book.getLanguageBook"Soreine2016-05-121-10/+6
| | | | This reverts commit 7892259fe64a39a3a2cc3caedeb7ca8c3396dd56.
* Extend Book.getLanguageBookSoreine2016-05-121-6/+10
|
* Fix languages not being added to json outputSamy Pessé2016-05-126-7/+71
|
* Fix path resolution when generating page with conrefsSamy Pessé2016-05-126-9/+65
|
* Improve logging when generating multilingual bookSamy Pessé2016-05-122-0/+8
|
* Fix #1294: multilingual book should extend the book's configSamy Pessé2016-05-125-25/+87
|
* Add method "getLanguageBook" to book modelSamy Pessé2016-05-121-0/+11
|
* Adapt eslint configuration for mochaSamy Pesse2016-05-112-2/+0
|