summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Use a global configuration file for a book (default to book.json)Samy Pessé2014-04-281-0/+18
|
* Fix #163: Move logic of git infos extraction to libSamy Pessé2014-04-283-1/+72
|
* Add hooks "page:before" and "page:after"Samy Pessé2014-04-281-4/+22
|
* Use hook to allow plugins to edit page content during generation (Fixes #176)Samy Pessé2014-04-283-12/+19
|
* Add base cache manifestSamy Pessé2014-04-273-2/+103
|
* Adapt tests for pluginsSamy Pessé2014-04-271-1/+1
|
* Fix #169: fix resolve of external pluginsSamy Pessé2014-04-272-10/+17
|
* Fix #165: replace separator from ":" to ","Samy Pessé2014-04-271-1/+1
|
* Merge pull request #144 from attomos/masterSamy Pessé2014-04-251-3/+8
|\ | | | | Make quiz easier to click by surround it with label.
| * Make quiz easier to click by surround it with label.Nattaphoom Ch2014-04-241-3/+8
| |
* | Fixed typoPascal Borreli2014-04-241-1/+1
| |
* | Reorder plugin namesAaron O'Mullan2014-04-241-2/+3
| | | | | | | | Improves #149 and improves GitBookIO/editor#12
* | Require plugin names to contain gitbook-*Aaron O'Mullan2014-04-241-3/+2
|/ | | | Fixes #149, fixes GitBookIO/editor#12
* Fix #136: replace links to .md by links to .htmlSamy Pessé2014-04-224-14/+62
| | | | Add more tests for links in page
* Change plugins separator to ","Samy Pessé2014-04-211-1/+1
|
* Update default addonsSamy Pessé2014-04-211-1/+1
|
* Change js interface for plugins and add configurationSamy Pessé2014-04-212-2/+7
|
* Fix #36: add mathjax plugin as defaultSamy Pessé2014-04-201-4/+6
|
* Use complete assets folder for pluginsSamy Pessé2014-04-202-10/+15
|
* Add option to change templates from pluginSamy Pessé2014-04-202-35/+58
|
* Add call for hooks "init" and "finish"Samy Pessé2014-04-193-3/+34
|
* Add resources to site buildSamy Pessé2014-04-192-7/+37
|
* Load plugins during generationSamy Pessé2014-04-193-2/+11
|
* Add method to load a list of plugins from generator optionsSamy Pessé2014-04-192-0/+35
|
* Add base loading of default addonsSamy Pessé2014-04-191-1/+69
| | | | Add mixpanel as default addon
* Add base plugin object and test validation of pluginSamy Pessé2014-04-192-1/+31
|
* Refactor navigation generation to be functionalAaron O'Mullan2014-04-181-47/+28
| | | | | This makes it a lot less error prone and far more robust. As well as a lot easier to understand
* Fix image path calculSamy Pessé2014-04-181-2/+8
|
* Normalize code language before highlightingAaron O'Mullan2014-04-171-0/+3
|
* Disable automatic highlightingAaron O'Mullan2014-04-161-3/+5
| | | | Fallback to no highlighting rather that potentially funky highlighting
* In parse/page remove global marked settingsAaron O'Mullan2014-04-161-12/+10
| | | | | Highlighter settings were global, moved them to the render function (where they should have been)
* Fix #100: fix section test isQuizSamy Pessé2014-04-161-1/+1
|
* Do not pass SUMMARY.md to generator, fixes #93Aaron O'Mullan2014-04-161-2/+11
| | | | | | We want to parse SUMMARY.md but not generate a file from it, thus it should be removed from the list of files to be processed by the generator
* Ignore .gitignore file by default in fs.listAaron O'Mullan2014-04-161-1/+2
| | | | Partial fix of #93
* Fix #91: Extract defaults title and description from README.mdSamy Pessé2014-04-141-8/+24
|
* Add readme parsing for extracting title and descriptionSamy Pessé2014-04-142-0/+33
|
* Fix generate.file methodSamy Pessé2014-04-141-2/+2
|
* Remove logs from core moduleSamy Pessé2014-04-131-3/+1
|
* Move more build logic to the core generation moduleSamy Pessé2014-04-131-4/+71
|
* Add gitbook init command, fixes #67Aaron O'Mullan2014-04-122-0/+74
|
* Refactor, document, improve section type detectionAaron O'Mullan2014-04-121-18/+45
| | | | Especially for quiz types
* Quiz with GFM checkbox listsJames Phillpotts2014-04-123-27/+82
|
* Tabular quizJames Phillpotts2014-04-123-0/+51
|
* Merge pull request #78 from mrpotes/mocha-windowsAaron O'Mullan2014-04-101-10/+4
|\ | | | | Fix URL creation on windows
| * Use OS-agnostic path generation for images tooJames Phillpotts2014-04-101-4/+2
| |
| * Use API from node 0.8James Phillpotts2014-04-101-1/+2
| |
| * Fix URL creation on windowsJames Phillpotts2014-04-101-7/+2
| |
* | Improve section detection, fixes #68Aaron O'Mullan2014-04-101-5/+9
| |
* | Improve language normalizationAaron O'Mullan2014-04-101-0/+2
|/ | | | Check for null before converting to lower case
* Merge Optional githubSamy Pessé2014-04-093-3/+8
|\
| * Add lexing support for content code in exercisesAaron O'Mullan2014-04-082-1/+6
| | | | | | | | #52, #49, #46
| * Fix URL rewriting error on empty URLsAaron O'Mullan2014-04-081-2/+2
| | | | | | | | Fixes #54, fixes #59
* | Merge branch 'optional-github' of https://github.com/mrpotes/gitbook into ↵Samy Pessé2014-04-092-6/+6
|\ \ | |/ |/| | | mrpotes-optional-github
| * Make use of github optionalJames Phillpotts2014-04-072-6/+6
| |
* | Fix progress link to READMESamy Pessé2014-04-071-1/+3
|/
* Remove need for README.md for multi-languagesSamy Pessé2014-04-061-1/+1
|
* Add option cover for ebook generationSamy Pessé2014-04-061-2/+18
|
* Add base ebook generator using ebook-convertSamy Pessé2014-04-062-0/+55
|
* Merge pull request #40 from GitbookIO/feature/searchclientSamy Pessé2014-04-061-0/+3
|\ | | | | Feature/searchclient
| * Use cache in localstorage to store search indexSamy Pessé2014-04-061-0/+3
| |
* | Resolve image URLs, fixes #38Aaron O'Mullan2014-04-061-0/+22
| | | | | | | | Using outidr & dir options
* | Add outdir option to generators' generateFileAaron O'Mullan2014-04-062-1/+3
| |
* | Fix dir option in site generatorAaron O'Mullan2014-04-061-1/+1
| | | | | | | | Use relative folder not absolute
* | Fix relative link detection in rendererAaron O'Mullan2014-04-061-1/+1
| |
* | Add .bookignore to ignoreFiles #37Aaron O'Mullan2014-04-061-1/+1
|/
* Merge pull request #39 from GitbookIO/feature/searchSamy Pessé2014-04-065-63/+188
|\ | | | | Feature/search
| * Generate section.id in lexerAaron O'Mullan2014-04-062-5/+13
| | | | | | | | This allows generating correct URLs for our search index
| * Generate search_index.json when generating siteAaron O'Mullan2014-04-062-2/+107
| | | | | | | | Fixes #24
| * In page parser, lex only if not already lexedAaron O'Mullan2014-04-061-1/+2
| |
| * Move page lexer to separate moduleAaron O'Mullan2014-04-063-56/+67
| | | | | | | | Allow lexer to be used independently of page parser/renderer
* | Fix #33: copy files when generating pdf or single pageSamy Pessé2014-04-061-8/+0
|/
* Return options after generateSamy Pessé2014-04-061-0/+5
|
* Fix generation for page formatSamy Pessé2014-04-063-29/+18
|
* Add base for generating languages indexSamy Pessé2014-04-065-35/+85
|
* Add base for multi-languages bookSamy Pessé2014-04-061-45/+71
|
* Prevent renderer from mutating sectionsAaron O'Mullan2014-04-061-0/+3
|
* Rename Index.js to index.jsSamy Pessé2014-04-061-1/+1
|
* Add command gitbook pdf to generate PDFSamy Pessé2014-04-051-2/+2
|
* Merge pull request #31 from GitbookIO/feature/langAaron O'Mullan2014-04-053-0/+34
|\ | | | | Feature/lang
| * Add basic code language normalizationAaron O'Mullan2014-04-053-1/+23
| |
| * Detect exercise languageAaron O'Mullan2014-04-051-0/+12
| | | | | | | | And ensure that all code blocks use the same language
* | Add pdf generator using gitbook-pdfSamy Pessé2014-04-052-0/+57
| |
* | Normalize paths on Windows to Unix conventionAaron O'Mullan2014-04-051-2/+10
| | | | | | | | Convert “\” to “/“ in relative paths in fs.list
* | Generate an index.html instead of a README.htmlSamy Pessé2014-04-051-9/+4
|/
* Copy README.html to index.html instead of symlimkAaron O'Mullan2014-04-051-2/+2
| | | | Fixes #28
* Show exercise in page formatSamy Pessé2014-04-041-0/+10
|
* Improve style for page printingSamy Pessé2014-04-041-10/+3
|
* Add summary to page generatorSamy Pessé2014-04-041-1/+1
|
* Add base style for printingSamy Pessé2014-04-041-0/+8
|
* Fix pages order in page generatorSamy Pessé2014-04-041-1/+12
|
* Don't generate folder when using generator "page"Samy Pessé2014-04-041-0/+4
|
* Add base for generating single page htmlSamy Pessé2014-04-043-8/+59
|
* Change template name for site generation to siteSamy Pessé2014-04-041-1/+1
|
* Add base for themingSamy Pessé2014-04-041-2/+8
|
* Move generator to specific folderSamy Pessé2014-04-043-9/+9
|
* Add base for page generatorSamy Pessé2014-04-042-0/+31
|
* Use relative symlink between index & READMEAaron O'Mullan2014-04-041-2/+2
| | | | Fixes #19, fixes #21
* Remove logs from generationSamy Pessé2014-04-043-10/+2
|
* Remove file template.jsSamy Pessé2014-04-042-67/+0
|
* Fix links in templatesSamy Pessé2014-04-041-1/+6
|