summaryrefslogtreecommitdiffstats
path: root/lib/models
Commit message (Collapse)AuthorAgeFilesLines
* Add method "isFile" and "isReadme" in SummaryArticleSamy Pessé2016-06-292-3/+60
|
* Start fixing order of plugins in dependenciesSamy Pessé2016-06-101-0/+7
|
* Add method "createChildLevel" to SummaryPartSamy Pessé2016-06-102-4/+40
|
* Add method .createChildLevel for SummaryArticleSamy Pessé2016-06-102-36/+71
|
* Improve testing for sortPluginsSamy Pessé2016-06-081-39/+43
|
* 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-072-3/+4
|
* Add method toText to PageSamy Pessé2016-06-072-0/+44
|
* Split page parsing into parsePageFromString and parsePageSamy Pessé2016-06-071-7/+5
| | | | Add tests for parsePageFromString
* Improve Config.toText to return only the required fieldsSamy Pessé2016-06-072-1/+41
|
* Add unit tests for postRenderSamy Pesse2016-06-062-51/+42
|
* Add modifier togglePluginSamy Pesse2016-06-061-40/+45
|
* Add method "toText" to configSamy Pesse2016-06-061-56/+53
|
* Default paths are relative to the current bookSoreine2016-06-061-6/+27
|
* Add unit tests for installPluginSamy Pessé2016-05-272-11/+24
|
* Switch plugin installation and resolveVersion to use PluginDependency ↵Samy Pessé2016-05-271-0/+10
| | | | instead of Plugin
* Fixed two issues for handling git URLs for plugins that are published to git ↵Ryan Swanson2016-05-262-17/+35
| | | | | | | | 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.
* Fix #1310: enforce language config in language booksSamy Pesse2016-05-191-2/+6
|
* Implement renderInline method and missing output methods for APISamy Pesse2016-05-171-0/+5
|
* Expose lookup method for parsable filesSoreine2016-05-171-1/+1
|
* Fix #1289: add option to filter files when listing using fs.listAllFilesSamy Pessé2016-05-121-6/+12
|
* Add template method "getPageByPath"Samy Pessé2016-05-121-0/+14
|
* Revert "Extend Book.getLanguageBook"Soreine2016-05-121-10/+6
| | | | This reverts commit 7892259fe64a39a3a2cc3caedeb7ca8c3396dd56.
* Extend Book.getLanguageBookSoreine2016-05-121-6/+10
|
* Fix #1294: multilingual book should extend the book's configSamy Pessé2016-05-121-14/+40
|
* Add method "getLanguageBook" to book modelSamy Pessé2016-05-121-0/+11
|
* Adds editArticleRefSoreine2016-05-111-1/+0
|
* Switch tests to mocha while keeping jest structureSamy Pesse2016-05-118-29/+69
|
* Add immutable ignore instance for bookSamy Pesse2016-05-112-4/+54
|
* Fix article.depth starting at 2Samy Pessé2016-05-101-2/+3
|
* Fix error when summary contains entry without refSamy Pessé2016-05-102-4/+22
|
* 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-081-9/+2
|
* Add method readAsStream on fs modelSamy Pesse2016-05-061-1/+28
|
* Adapt unit tests for new templating post processSamy Pesse2016-05-051-1/+0
|
* Add mode TemplateOutput to represent {content + blocks} from templateSamy Pesse2016-05-053-44/+58
|
* Add tests for replaceShortcutsSamy Pesse2016-05-043-6/+36
|
* Fix #1268: fix shortcuts of template block not being appliedSamy Pesse2016-05-042-3/+89
|
* Merge pull request #1260 from GitbookIO/move-articleSamy Pessé2016-05-041-1/+33
|\ | | | | Adds move and remove article modifier.
| * Add tests, and fixes.Soreine2016-05-031-1/+1
| |
| * Adds move and remove article modifier.Soreine2016-05-031-0/+32
| |
* | Fix #1263: Fix page generation for AsciiDocSamy Pessé2016-05-041-0/+4
| |
* | Merge pull request #1259 from GitbookIO/png-data-uriSamy Pessé2016-05-031-1/+1
|\ \ | |/ |/| 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()
* | Adds default file naming utilities in Book modelSoreine2016-05-031-0/+52
|/
* Merge branch 'fix/plugins_deps'Samy Pesse2016-05-025-2/+203
|\
| * Adapt Plugin.listAll to use a list of PluginDependencySamy Pesse2016-05-023-3/+16
| |
| * Add model for plugin dependencies in the book.jsonSamy Pessé2016-05-024-2/+190
| |
* | lib/models/languages.js: Use lang.refJohan Preynat2016-05-021-1/+1
|/
* Tweak Summary.toText docSoreine2016-05-021-2/+3
|
* Enable livereload plugin when serving contentSamy Pessé2016-05-021-0/+10
|
* Add test for async template blockSamy Pessé2016-05-021-0/+23
|
* Complete api method template.applyBlockSamy Pessé2016-05-021-2/+2
|
* Switch parsers to a modelSamy Pesse2016-04-304-3/+116
|
* Fix add global env to templateEngineSamy Pesse2016-04-301-1/+1
|
* Add tests for conrefs loaderSamy Pesse2016-04-301-1/+0
|
* Add tests for templateEngineSamy Pesse2016-04-301-0/+51
|
* lib/models/templateBlock.js: Fix convert blocks to pure JS array before ↵Johan Preynat2016-04-301-1/+1
| | | | passing to parser.parseUntilBlocks()
* lib/models/templateBlock.js: Use function for Ext() instead of varJohan Preynat2016-04-301-1/+1
|
* lib/models/templateBlock.js: Add test file lib/models/__tests__/templateBlock.jsJohan Preynat2016-04-301-0/+107
|
* Use areIdenticalPaths for Summary.getByPathSamy Pesse2016-04-291-1/+2
|
* Fix validation of configuration for pluginsSamy Pesse2016-04-291-1/+1
|
* Fix listing of plugins when contains "-"Samy Pesse2016-04-291-7/+1
|
* Fix linting errorSamy Pesse2016-04-292-2/+2
|
* Fix context for page templateSamy Pessé2016-04-291-1/+7
|
* Add ebook commands pdf/mobi/epubSamy Pessé2016-04-292-1/+9
|
* Correctly setup configuration for plugins in multilingual booksSamy Pessé2016-04-291-0/+3
|
* Fix parsing of multilingual booksSamy Pessé2016-04-293-2/+29
|
* Add command "init"Samy Pesse2016-04-284-3/+39
|
* Extend timeout for testsSamy Pessé2016-04-281-4/+3
|
* Add "next" and "previous" to page JSON reprSamy Pessé2016-04-281-0/+41
|
* Fix ref in summary when parsed without refSamy Pessé2016-04-281-1/+6
|
* Add tests for SummaryModifier.editPartTitleSamy Pessé2016-04-282-1/+11
|
* Add method setSummary to bookSamy Pessé2016-04-281-0/+12
|
* Add base modifiers for summary as SummaryModifierSamy Pessé2016-04-281-0/+11
|
* Add tests for parseIgnoreSamy Pessé2016-04-281-1/+3
|
* Handle correctly ignored file in multilanguages bookSamy Pessé2016-04-281-0/+9
|
* Add test for assets inlinerSamy Pessé2016-04-271-9/+18
|
* Add language property to book for multilingualSamy Pessé2016-04-271-11/+19
|
* Use orderedMap for language booksSamy Pessé2016-04-271-0/+14
|
* Use code TemplateBlock to highlight codeSamy Pessé2016-04-273-22/+15
|
* Add method ".toText" on glossary and summarySamy Pessé2016-04-274-11/+76
|
* Fix filters for theme templatesSamy Pessé2016-04-271-2/+2
|
* Complete generator name in plugins APISamy Pessé2016-04-271-0/+16
|
* Load i18n translationsSamy Pesse2016-04-261-9/+21
|
* Correctly set log levelSamy Pesse2016-04-261-0/+12
|
* Add command "serve"Samy Pesse2016-04-261-1/+1
|
* Add base for commandsSamy Pesse2016-04-261-2/+2
| | | | Improve plugins installation
* Add more tests for summarySamy Pesse2016-04-264-30/+68
|
* Add duration to final log for generationSamy Pesse2016-04-262-12/+27
|
* Complete method getByPath of SummarySamy Pesse2016-04-263-39/+17
|
* Add test for readme parsingSamy Pesse2016-04-261-0/+8
|
* Add test for parsing glossarySamy Pesse2016-04-262-1/+11
|
* Add mock fs and tests for itSamy Pesse2016-04-261-1/+2
|
* Copy resources from plugins to output folderSamy Pesse2016-04-251-0/+17
|
* Copy assets from themes to output folderSamy Pesse2016-04-252-6/+10
|