Samy Pessé
|
fb0ea4610d
|
Add base utils for generation
|
2016-04-22 22:21:34 +02:00 |
|
Samy Pessé
|
4336fdb241
|
Base
|
2016-04-22 11:00:21 +02:00 |
|
Samy Pessé
|
09ff802c7e
|
When using structure.readme, fix link to readme to resolve to index.html
|
2016-04-20 17:26:13 +02:00 |
|
Samy Pessé
|
8f40d4affa
|
Fix reliability of template.self in macro import
|
2016-04-20 10:03:04 +02:00 |
|
Samy Pesse
|
ecaadf63c5
|
Correctly ignore structure file (only in root folder)
|
2016-04-20 00:06:45 +02:00 |
|
Samy Pesse
|
53ced205b8
|
Ensure "template" is always set when rendering a template
|
2016-04-19 15:46:37 +02:00 |
|
Samy Pesse
|
61c4983949
|
Fix template context should be global in nunjucks for theming
Fix pdf_footer and pdf_header template not rendering
|
2016-04-19 15:33:35 +02:00 |
|
Samy Pessé
|
c218f7d0e3
|
Correctly set template.self in all cases
|
2016-04-18 16:56:50 +02:00 |
|
Samy Pessé
|
0791b917f1
|
Add context for readme
|
2016-04-18 12:49:31 +02:00 |
|
Samy Pessé
|
663291c515
|
Output context as global for themes
|
2016-04-15 11:33:24 +02:00 |
|
Samy Pessé
|
114c4abcd1
|
Add method for theme: template.getJSContext
|
2016-04-14 14:51:42 +02:00 |
|
Samy Pessé
|
038cd0155b
|
Add filter "getArticleByPath" for theme templates
|
2016-04-13 11:48:29 +02:00 |
|
Samy Pessé
|
dabdeb8a80
|
Fix #1195: fix external images and fix test for it
|
2016-04-11 09:56:13 +02:00 |
|
Samy Pesse
|
d7f7dcd47b
|
Switch to ignore@3.1.1
|
2016-04-10 22:28:29 +02:00 |
|
Samy Pessé
|
32a49a6969
|
Inherit ignore rules of output from book
|
2016-04-08 15:46:46 +02:00 |
|
Samy Pessé
|
4e41f96d89
|
Add "languages" property to all json files for multilingual book
|
2016-04-08 14:42:37 +02:00 |
|
Samy Pessé
|
e07719a86c
|
Fix template search paths to use plugins listed first
|
2016-03-22 10:59:25 +01:00 |
|
Samy Pessé
|
514883f0bd
|
Create new loader for nunjucks to avoid infinite loop
|
2016-03-11 10:43:37 +01:00 |
|
Samy Pessé
|
0d367da776
|
Use complete list of plugins for templates resolution / i18n / assets
|
2016-03-09 16:45:27 +01:00 |
|
Samy Pessé
|
c499a8a13a
|
Add back gitbook.generator property as deprecated
|
2016-03-09 15:50:38 +01:00 |
|
Samy Pessé
|
d39f0d6ff0
|
Add "output" variables for templating
|
2016-03-09 15:18:57 +01:00 |
|
Samy Pessé
|
b61254dda6
|
Add more deprecated api
|
2016-03-07 11:00:01 +01:00 |
|
Samy Pessé
|
b4bdf97cfe
|
Fix linting errors
|
2016-03-07 10:40:25 +01:00 |
|
Samy Pesse
|
40e49d0ac9
|
Change json format version to follow major version of gitbook
|
2016-03-01 22:29:09 +01:00 |
|
Samy Pessé
|
496f253e69
|
Don't copy _layouts to output
|
2016-02-29 10:43:53 +01:00 |
|
Samy Pessé
|
8cda844ef1
|
Export output for plugins context
|
2016-02-28 12:46:47 +01:00 |
|
Samy Pessé
|
9253b764fa
|
Don't pass cover to ebook-convert if non existant
|
2016-02-25 15:12:04 +01:00 |
|
Samy Pessé
|
393aed6270
|
Improve error msg for ebook generation
|
2016-02-25 15:09:57 +01:00 |
|
Samy Pessé
|
b240d6a8fc
|
Add filter fileExists
|
2016-02-25 14:50:58 +01:00 |
|
Samy Pessé
|
9215edc0a0
|
Remove option defaultPlugins and simplify loading
|
2016-02-25 14:17:31 +01:00 |
|
Samy Pessé
|
25ae21dae3
|
Call hook "init" during generation
|
2016-02-25 12:18:40 +01:00 |
|
Samy Pessé
|
94393bef4b
|
Call hooks finish and finish:before
|
2016-02-25 12:13:31 +01:00 |
|
Samy Pessé
|
edecf56dd6
|
Use hook for configuration
|
2016-02-25 12:03:33 +01:00 |
|
Samy Pessé
|
d86a95b5e1
|
Add json format version to the json output
|
2016-02-25 10:51:58 +01:00 |
|
Samy Pessé
|
5b20027f2e
|
Use cover file from main book in multilingual book (when no cover is set for language)
|
2016-02-24 18:24:49 +01:00 |
|
Samy Pessé
|
4499f71dba
|
Improve log when generation is finished
|
2016-02-24 18:12:23 +01:00 |
|
Samy Pessé
|
81b734c151
|
Fix generation of ebooks in multilanguages
|
2016-02-24 18:11:01 +01:00 |
|
Samy Pessé
|
0b4a6b5362
|
Output folder is an option for FolderOutput
|
2016-02-24 18:07:17 +01:00 |
|
Samy Pessé
|
86e4a935e2
|
Improve logging
|
2016-02-24 17:12:38 +01:00 |
|
Samy Pessé
|
40cc20e06e
|
Load plugins once
|
2016-02-24 16:53:33 +01:00 |
|
Samy Pessé
|
daa80dc949
|
Fix conrefs loader with filename starting with /
|
2016-02-24 14:20:53 +01:00 |
|
Samy Pessé
|
1ed63ce4f5
|
Add context for multi-lingual books
|
2016-02-24 13:52:15 +01:00 |
|
Samy Pessé
|
e85ad95bcf
|
Generate multi-lingual index
|
2016-02-24 13:35:59 +01:00 |
|
Samy Pessé
|
bd73c79787
|
Don't copy assets for each language book, but only for main book
|
2016-02-24 12:56:26 +01:00 |
|
Samy Pessé
|
1bf6abf338
|
Pass options to context of theme
|
2016-02-22 16:58:47 +01:00 |
|
Samy Pessé
|
c7b1d72bf0
|
Add basic test for ebook generation
|
2016-02-22 15:46:53 +01:00 |
|
Samy Pessé
|
642ba72a1d
|
Load all filters and blocks from plugins in output's template
|
2016-02-22 14:50:55 +01:00 |
|
Samy Pessé
|
395bd62663
|
Provide "plugins" context to theme templates
|
2016-02-22 12:31:02 +01:00 |
|
Samy Pessé
|
d8fd6430ed
|
Copy plugins resources to website output
|
2016-02-22 11:15:34 +01:00 |
|
Samy Pessé
|
d139d1d1bd
|
Add "template.theme" and "template.default" variables
|
2016-02-21 19:41:38 +01:00 |
|