You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
197B

  1. use std::env;
  2. use gutenberg::errors::Result;
  3. use gutenberg::Site;
  4. pub fn build() -> Result<()> {
  5. let mut site = Site::new(env::current_dir().unwrap())?;
  6. site.load()?;
  7. site.build()
  8. }