Michael Bryan
5379a0bdf8
Made the logging a lot quieter by default ( #569 )
2018-01-23 01:28:37 +08:00
Anna Liao
5ce05a79be
updated links from azerupi to rust-lang-nursery ( #489 )
2017-11-22 11:35:18 +01:00
Pratik Karki
382fc4139b
run rustfmt on the repository #398(Updated) ( #438 )
...
rustfmt the repository #398
2017-10-03 13:40:23 +02:00
Michal Budzynski
d7ecb1a80c
Rewrite of {{#}} links handling in preprocess module
...
- Replaced link parser with a Regex
- Implemented {{#include}} links
- Will display relatively nice error when cannot open {{#}} linked file
- Escaped links no longer render with escape char
- utils::fs::file_to_path no takes AsRef<Path>
- sorted export/mod in lib.rs
2017-08-01 13:50:12 +02:00
Michael Bryan
83354ab24b
Fixed up some unused-imports warnings
2017-06-25 14:21:23 +08:00
Michael Bryan
1356e0f068
Added error-chain to the book and utils modules
2017-06-25 00:04:57 +08: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
75bbd55128
Changes made with rustfmt including `use_try_shorthand`
...
Updated the project rustfmt.toml to include `use_try_shorthand = true`.
Run rustfmt on all rust sources.
2017-05-19 13:04:37 +02:00
Matt Brubeck
894a03655e
Simplify error handling in utils::fs
2016-12-31 23:12:38 -08:00
Denis Kolodin
b0d33e76ec
Remove unused metadata import
2016-11-01 11:19:08 +03:00
Rodrigo Lourenço
528945d67d
Copy files with no extension too.
2016-09-23 15:09:16 +01:00
Gambhiro
b584f6eb9c
use macros from the log crate, issue #151
2016-08-14 13:34:02 +01:00
Boris-Chengbiao Zhou
e861880f95
Implement Serve feature
2016-04-02 05:20:46 +02:00
Mathieu David
c3564f1699
Add convenience function to read the content from a file into a string given a path
2016-03-27 18:40:50 +02:00
Mathieu David
74fff81e4b
Refactor: Move fs related functions from utils into their own submodule
2016-03-17 22:41:00 +01:00