Michael Bryan
131a404064
made clippy and rustfmt happy
2017-06-30 07:36:17 +08:00
Michael Bryan
01bab56faf
The summary parser integration test passes!
2017-06-29 20:53:18 +08:00
Michael Bryan
c3124bc8f3
Summary parser handles suffixes and now all that's left to do is adjusting section numbers
2017-06-29 20:36:03 +08:00
Michael Bryan
1e8bc1c384
Fleshed out the step_numbered() method some more
2017-06-29 20:05:24 +08:00
Michael Bryan
42de0fb97a
Added a full integration test for the summary parser (ignored for the time being)
2017-06-29 19:27:47 +08:00
Michal Budzynski
b1ca9cf5b5
HtmlConfig is no longer optional
...
`HtmlConfig` was both guaranteed to exist within `BookConfig`
and `expect`ed in few places.
This simplifies the API a little by representing the fact that
`HtmlConfig` is currently mandatory for proper mdBook binary operation.
2017-06-27 14:01:33 +02:00
Michal Budzynski
b3c9ba4555
Correct clippy nits
2017-06-27 09:08:58 +02:00
Michal Budzynski
db94b3d839
Add minimal testing for the optional MathJax support
2017-06-25 00:39:57 +02:00
Michal Budzynski
6d8ac6a23c
Fixes missing the default "theme" dir location
...
if not specified in book.toml
2017-06-23 13:29:46 +02:00
Mathieu David
28afebdca2
Merge branch 'minor_refactor' of https://github.com/budziq/mdBook into budziq-minor_refactor
2017-06-23 01:09:26 +02:00
Mathieu David
26fc980ffb
Remove 'curly_quotes' key from the json config
2017-06-23 00:48:59 +02:00
Jimmy Do
193f014a5b
Add an option to convert to curly quotes when rendering to HTML
2017-06-18 10:11:04 -07:00
Michal Budzynski
e8908e32c9
Minor cleanup
...
- removing need to explicitly use `Path::new` all over the place
- removed warnings from doctests (normally invisible unless `cargo test -- --nocapture`)
- no doctests are norun/ignore now
- updated docs both in book-example and in docs not to refer to nonexisting API's
2017-06-14 21:55:42 +02:00
Michal Budzynski
f96e7e5cba
Implemented support for additional JS
2017-06-11 15:08:09 +02:00
Mathieu David
bb4ceb481f
Allow an additional custom stylesheets, closes #178
2017-06-04 20:41:31 +02:00
Mathieu David
c6bfe0b1d7
Adds a test for #240
2017-06-04 20:41:31 +02:00
Mathieu David
70383d0a25
New config structs supports json again (the old style) for a little deprecation period
2017-06-04 20:41:31 +02:00
Mathieu David
170bf8b1eb
New configuration struct + tests #285
2017-06-04 20:41:31 +02:00