Commit Graph

422 Commits

Author SHA1 Message Date
Gambhiro a7666e72d1 resolve conflicts 2017-01-19 18:29:04 +00:00
Gambhiro c2ff0c6b15 catch up with changes in master 2017-01-19 17:08:07 +00:00
Gambhiro ca718b3d78 link in custom.css if the user has it 2017-01-18 18:11:30 +00:00
Gambhiro 4fe0e8d2a4 update docs in the source 2017-01-18 16:18:41 +00:00
Gambhiro 8441bb99d2 more simple language declaration in book.toml 2017-01-18 14:58:38 +00:00
Gambhiro cb861a7354 clean output folder without removing dotfiles 2017-01-18 13:13:38 +00:00
Gambhiro a8021eb4e8 upd test assets 2017-01-18 09:25:03 +00:00
Gambhiro 27721c26b5 apply highlightjs style by class on body 2017-01-18 09:20:52 +00:00
Gambhiro eb5a9b987f cli test command is back 2017-01-18 07:23:10 +00:00
Mathieu David 82faec6b5a Merge pull request #201 from petehayes102/master
Add docs for --dest-dir option
2017-01-17 12:21:21 +01:00
Pete Hayes 32814f6f71 Remove blank ***note*** section 2017-01-17 00:19:09 +00:00
Pete Hayes ac6f15cb27 Add docs for --dest-dir option 2017-01-17 00:19:09 +00:00
Gambhiro aa54d95a23 cross-link by section number if TOC are structurally the same 2017-01-16 21:01:34 +00:00
Gambhiro badc921429 cross-link translations by translation_id and src_path 2017-01-16 17:49:21 +00:00
Gambhiro 4973c02554 use chapter title + book title as page title 2017-01-16 13:30:32 +00:00
Gambhiro ca40e71d1b index links and translation links separately 2017-01-16 13:10:12 +00:00
Gambhiro 6492faa1bc recognize main language as first given in book.toml 2017-01-15 15:18:25 +00:00
Gambhiro 985745531c upd doc string 2017-01-15 10:15:08 +00:00
Gambhiro 34ee6c9274 remove proc_macro 2017-01-14 18:18:35 +00:00
Gambhiro 35890db697 don't link for a single language 2017-01-14 09:01:24 +00:00
Gambhiro ae09aabeb5 fix highlight css selection 2017-01-14 08:46:01 +00:00
Gambhiro a1375b17e0 upd structs diagram 2017-01-13 17:14:26 +00:00
Gambhiro 0713d49e7b chapter.content, .src_path, .dest_path 2017-01-13 17:01:59 +00:00
Mathieu David 0d6185ac96 Merge pull request #199 from petehayes102/master
Add --dest-dir option to build, watch and serve subcommands
2017-01-13 12:07:34 +01:00
Gambhiro da9c57e6f5 write print.html 2017-01-13 07:57:08 +00:00
Pete Hayes 4b31ae6789 Add --dest-dir arg to build, watch and serve subcommands 2017-01-12 12:26:22 +00:00
Pete Hayes 1afa2debc1 Fix spelling of omitted 2017-01-12 12:23:39 +00:00
Gambhiro 5ca380f5a2 render markdown in make_data() 2017-01-12 06:48:21 +00:00
Gambhiro 2a033de001 look in different paths for page template 2017-01-11 21:09:22 +00:00
Gambhiro 0532295d8f remove todo comment 2017-01-11 15:18:32 +00:00
Gambhiro 3aa8f7d925 watch and serve are back 2017-01-11 15:17:34 +00:00
Gambhiro c021940331 translation links
rename with _
translation links
css for translation links
2017-01-10 16:36:08 +00:00
Gambhiro e7ba6fac85 multilang
parses toc and chapters

renders html

hbs helpers and asset embedding

copy static assets by pattern

review

fix prev nav link

copy local assets when found

multilang renders

is_multilang as property

theme is template

cli init and build

bump version

structs diagram
2017-01-09 21:11:51 +00:00
Mathieu David 3a71371946 Merge pull request #198 from mbrubeck/watch
Update watch command to use `notify` 3.0
2017-01-02 19:58:47 +01:00
Mathieu David 9a318adc03 Merge pull request #197 from mbrubeck/cleanup
Clean up some Path code in bookconfig
2017-01-02 19:43:45 +01:00
Matt Brubeck c7b4147ba7 Watch both book.json and book.toml 2017-01-01 16:03:49 -08:00
Matt Brubeck 1ac2602360 Update to notify 3.0
notify now does its own event debouncing, so it's no longer necessary
for mdbook to do this manually.
2017-01-01 16:03:49 -08:00
Matt Brubeck 09729aaca5 Clean up some Path code in bookconfig 2017-01-01 16:02:48 -08:00
Mathieu David 3ffd24df63 Merge pull request #196 from mbrubeck/open
Add a CLI option to open a web browser
2017-01-01 19:22:55 +01:00
Mathieu David fe8d46b8e6 Merge pull request #195 from mbrubeck/refactor
Various refactoring and cleanup
2017-01-01 19:21:40 +01:00
Matt Brubeck 21bc3d47c8 Add a CLI option to open a web browser 2017-01-01 09:58:20 -08:00
Matt Brubeck f2b87f7944 Factor common io error handling out of renderer 2016-12-31 23:12:38 -08:00
Matt Brubeck 894a03655e Simplify error handling in utils::fs 2016-12-31 23:12:38 -08:00
Matt Brubeck 6b2572e78d Simplify some as_str error handling code 2016-12-31 18:41:59 -08:00
Matt Brubeck fe287a1eca Code cleanup: Remove unnecessary .remove() calls
`BTreeMap::insert` will replace any existing value, so there's no need
to remove the old value first.
2016-12-31 18:33:17 -08:00
Mathieu David 375502a6fa Merge pull request #194 from mbrubeck/warnings
Fix some rustc warnings.
2016-12-31 23:45:23 +01:00
Mathieu David a6e1844aad Merge pull request #193 from mbrubeck/chapter-title
Add current chapter title to handlebars context
2016-12-31 23:43:39 +01:00
Mathieu David d92852867b Merge pull request #192 from mbrubeck/docs
Fix a broken link in the documentation
2016-12-31 23:38:09 +01:00
Matt Brubeck 0f0750df52 Fix unreachable code warning in parse::summary::parse_level 2016-12-31 10:39:48 -08:00
Matt Brubeck 712adcf737 Fix cfg attribute in bookconfig_test 2016-12-31 10:36:19 -08:00