Skip to content

Commit

Permalink
properly make the theme in a subdir
Browse files Browse the repository at this point in the history
  • Loading branch information
Gankra committed May 26, 2023
1 parent 8b00b2f commit 19af194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/site/mdbook.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ pub fn has_custom_theme(book_cfg: &MdBookConfig) -> bool {
/// Gets the dir where we should write custom theme files
pub fn custom_theme_dir(_book_cfg: &MdBookConfig, dist: &Utf8Path) -> Result<Utf8PathBuf> {
let pwd = axoasset::LocalAsset::current_dir()?;
Ok(pwd.join(dist))
Ok(pwd.join(dist).join("mdbook_theme"))
}

/// Build and write the mdbook to the dist dir
Expand Down

0 comments on commit 19af194

Please sign in to comment.