summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add test for transform option of ConrefLoaderSamy Pesse2016-05-113-9/+31
|
* Fix #1293: replace block shortcuts when including filesSamy Pesse2016-05-117-29/+42
|
* Tweak insertPart signatureSoreine2016-05-111-2/+2
|
* Adds editArticleRefSoreine2016-05-114-2/+21
|
* Modifier moveArticleAfterSoreine2016-05-113-0/+141
|
* Greatly simplify moveArticle's implementationSoreine2016-05-112-61/+4
|
* Tests remove/insert articles and update insert signatureSoreine2016-05-113-2/+134
|
* Insert/remove partSoreine2016-05-113-2/+38
|
* Switch tests to mocha while keeping jest structureSamy Pesse2016-05-1134-119/+172
|
* Add immutable ignore instance for bookSamy Pesse2016-05-114-8/+60
|
* Don't copy config file as assetSamy Pessé2016-05-101-3/+7
|
* Fix article.depth starting at 2Samy Pessé2016-05-101-2/+3
|
* Fix page's title in pdf header/footerSamy Pessé2016-05-101-2/+1
|
* Add option "--no-live" for command serveSamy Pessé2016-05-101-4/+12
|
* Fix #1232: add option "--no-watch" to disable watcher and live reloadingSamy Pessé2016-05-101-9/+36
|
* Fix error when summary contains entry without refSamy Pessé2016-05-102-4/+22
|
* Fix "gitbook init" when article has no refSamy Pesse2016-05-101-2/+5
|
* Fixed summary encodingTomas Dvorak2016-05-101-1/+1
|
* Add test for block replaced with anchorsSamy Pesse2016-05-091-0/+30
|
* Adapt unit tests for blocksSamy Pesse2016-05-092-6/+26
|
* Fix unit test for templateBlock using a removed method "getParse"Samy Pesse2016-05-091-1/+0
|
* Fix linting warning in models/templateBlock.jsSamy Pesse2016-05-081-1/+1
|
* Fix #1286: by default blocks should not be parsableSamy Pesse2016-05-082-10/+3
|
* Improve comment for API summary.walkSamy Pesse2016-05-081-1/+1
|
* Add method summary.getArticleByPath to summary apiSamy Pesse2016-05-081-0/+11
|
* Start API for plugins to access the summarySamy Pesse2016-05-083-2/+46
|
* Fix command "gitbook init"Samy Pesse2016-05-071-1/+1
|
* Fix #1266: don't fail on "a" tags without "href"Samy Pesse2016-05-061-0/+5
|
* Correctly read assets using input fs when copyingSamy Pesse2016-05-063-6/+40
|
* Add method readAsStream on fs modelSamy Pesse2016-05-063-2/+31
|
* Add failing test for #1272Samy Pesse2016-05-061-0/+15
|
* Adapt unit tests for new templating post processSamy Pesse2016-05-052-7/+6
|
* Add mode TemplateOutput to represent {content + blocks} from templateSamy Pesse2016-05-0513-101/+132
|
* Add tests for replaceShortcutsSamy Pesse2016-05-044-6/+64
|
* Fix #1268: fix shortcuts of template block not being appliedSamy Pesse2016-05-045-16/+105
|
* Fix #1267: don't fail when "node_modules" folder doesn't existSamy Pesse2016-05-041-0/+3
|
* Fix location.relative(dir, file) trailing slash if file is a directoryJohan Preynat2016-05-041-1/+2
|
* Merge pull request #1264 from GitbookIO/fix/plugin-resourcesSamy Pessé2016-05-047-16/+96
|\ | | | | Fix Loading plugin resources
| * Update Plugins.listResources() to use the prepared resources listJohan Preynat2016-05-042-10/+14
| |
| * Update copyPluginAssets to use prepared resourcesJohan Preynat2016-05-041-5/+7
| |
| * List resources per plugin in website generator onInit()Johan Preynat2016-05-042-0/+56
| |
| * Add resources to website generator stateJohan Preynat2016-05-041-1/+8
| |
| * Add global method resolve(fileName)Johan Preynat2016-05-041-0/+11
| |
* | Merge pull request #1260 from GitbookIO/move-articleSamy Pessé2016-05-0411-57/+312
|\ \ | | | | | | Adds move and remove article modifier.
| * | Add tests, and fixes.Soreine2016-05-039-35/+159
| | |
| * | Update insert specificationSoreine2016-05-032-15/+17
| | |
| * | Adds move and remove article modifier.Soreine2016-05-036-29/+158
| | |
* | | Fix #1263: Fix page generation for AsciiDocSamy Pessé2016-05-042-0/+13
| | |
* | | Remove filter for pdf/epub/mobi files when outputtingSamy Pessé2016-05-031-3/+0
| |/ |/|
* | Merge pull request #1259 from GitbookIO/png-data-uriSamy Pessé2016-05-039-8/+115
|\ \ | |/ |/| Adding data-uri support for PNG Images in Books
| * lib/models/config.js: Fix wrong call to PluginDependency.listToArray() to ↵Johan Preynat2016-05-031-1/+1
| | | | | | | | PluginDependency.listFromArray()