diff --git a/make_mdbook.pl b/make_mdbook.pl index 5997015..5b285f9 100755 --- a/make_mdbook.pl +++ b/make_mdbook.pl @@ -103,12 +103,12 @@ close(FH); # Copy md files to zsh manual mdbook src # First ensure it is empty my $cwd = getcwd(); -system("rm -rf $cwd/zsh_manual/src") == 0 or die "$?"; -mkdir("$cwd/zsh_manual/src") or die "$?"; -system("cp $mdbook_src_dir/* $cwd/zsh_manual/src/") == 0 or die "$?"; +system("rm -rf $cwd/zsh-manual/src") == 0 or die "$?"; +mkdir("$cwd/zsh-manual/src") or die "$?"; +system("cp $mdbook_src_dir/* $cwd/zsh-manual/src/") == 0 or die "$?"; # Replace ``` example with ```zsh for syntax highlighting -@files = <$cwd/zsh_manual/src/*.md>; +@files = <$cwd/zsh-manual/src/*.md>; foreach my $file (@files) { system("sed -i 's/``` example/```zsh/g' '$file'") == 0 or die "$?"; } diff --git a/zsh-guide/book.toml b/zsh-guide/book.toml new file mode 100644 index 0000000..21d206c --- /dev/null +++ b/zsh-guide/book.toml @@ -0,0 +1,11 @@ +[book] +authors = ["Jeffrey Serio"] +language = "en" +multilingual = false +src = "src" +title = "Zsh Guide" + +[output.html] +additional-css = ["./theme/catppuccin.css"] +default-theme = "mocha" +preferred-dark-theme = "mocha" diff --git a/zsh_guide/book/.nojekyll b/zsh-guide/book/.nojekyll similarity index 100% rename from zsh_guide/book/.nojekyll rename to zsh-guide/book/.nojekyll diff --git a/zsh_guide/book/404.html b/zsh-guide/book/404.html similarity index 64% rename from zsh_guide/book/404.html rename to zsh-guide/book/404.html index c113c33..3461e1e 100644 --- a/zsh_guide/book/404.html +++ b/zsh-guide/book/404.html @@ -1,18 +1,17 @@ - +
-