tweak
This commit is contained in:
@@ -12,6 +12,7 @@ function build_toc(force=true)
|
|||||||
|
|
||||||
jmd_dir = joinpath(repo_directory, "CwJ", "misc")
|
jmd_dir = joinpath(repo_directory, "CwJ", "misc")
|
||||||
build_dir = joinpath(@__DIR__, "build")
|
build_dir = joinpath(@__DIR__, "build")
|
||||||
|
isdir(build_dir) || mkpath(build_dir)
|
||||||
|
|
||||||
file = joinpath(jmd_dir, "toc.jmd")
|
file = joinpath(jmd_dir, "toc.jmd")
|
||||||
|
|
||||||
@@ -58,6 +59,7 @@ function weave_file(folder, file; build_list=(:html,), force=false, kwargs...)
|
|||||||
jmd_file = joinpath(jmd_dir, file)
|
jmd_file = joinpath(jmd_dir, file)
|
||||||
bnm = replace(basename(jmd_file), r".jmd$" => "")
|
bnm = replace(basename(jmd_file), r".jmd$" => "")
|
||||||
build_dir = joinpath(@__DIR__, "build")
|
build_dir = joinpath(@__DIR__, "build")
|
||||||
|
isdir(build_dir) || mkpath(build_dir)
|
||||||
|
|
||||||
if !force
|
if !force
|
||||||
#testfile = joinpath(repo_directory, "html", folder, bnm*".html")
|
#testfile = joinpath(repo_directory, "html", folder, bnm*".html")
|
||||||
|
|||||||
Reference in New Issue
Block a user