mdBook/book-example/src/format
Michael Bryan fd7e8d1b7b
Add support for alternative backends (#507)
* Added a mechanism for creating alternate backends

* Added a CmdRenderer and the ability to have multiple renderers

* Made MDBook::load() autodetect renderers

* Added a couple methods to RenderContext

* Converted RenderContext.version to a String

* Made sure all alternate renderers are invoked as `mdbook-*`

* Factored out the logic for determining which renderer to use

* Added tests for renderer detection

* Made it so `mdbook test` works on the book-example again

* Updated the "For Developers" docs

* Removed `[output.epub]` from the example book's book.toml

* Added a bit more info on how backends should work

* Added a `destination` key to the RenderContext

* Altered how we wait for an alternate backend to finish

* Refactored the Renderer trait to not use MDBook and moved livereload to the template

* Moved info for developers out of the book.toml format chapter

* MOAR docs

* MDBook::build() no longer takes &mut self

* Replaced a bunch of println!()'s with proper log macros

* Cleaned up the build() method and backend discovery

* Added a couple notes and doc-comments

* Found a race condition when backends exit really quickly

* Added support for backends with arguments

* Fixed a funny doc-comment
2018-01-07 22:10:48 +08:00
..
theme updated links from azerupi to rust-lang-nursery (#489) 2017-11-22 11:35:18 +01:00
config.md Add support for alternative backends (#507) 2018-01-07 22:10:48 +08:00
example.rs #29 update doc with an example of runnable rust code 2016-01-01 01:57:21 +01:00
format.md update example to encourage using book.toml 2016-12-23 08:17:04 +00:00
mathjax.md Correct inline mathematics delimiters 2017-09-08 09:21:20 +02:00
rust.md Put spaces between # and hidden lines 2016-08-06 15:25:40 -04:00
summary.md Fix typo. 2016-08-27 00:28:17 +07:00