Added README.md
This commit is contained in:
parent
508f3068f0
commit
39c0344f9a
|
@ -0,0 +1,7 @@
|
|||
# mdBook
|
||||
|
||||
Personal implementation of Gitbook in Rust
|
||||
|
||||
**Work in Progress...**
|
||||
|
||||
To see what is already implemented and what has to be done next, check [this issue](#1)
|
|
@ -2,7 +2,6 @@ use std::path::PathBuf;
|
|||
use std::fs::{self, File, metadata};
|
||||
use std::io::Write;
|
||||
use std::io::{Error, ErrorKind};
|
||||
//use std::error::Error;
|
||||
|
||||
pub struct MDBook {
|
||||
dest: PathBuf,
|
||||
|
@ -26,6 +25,8 @@ impl MDBook {
|
|||
_ => {}
|
||||
}
|
||||
|
||||
// Logic problem: When self.dest is absolute, the directory given
|
||||
// as parameter is never used...
|
||||
let dest = if self.dest.is_relative() {
|
||||
dir.join(&self.dest)
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue