diff --git a/Project.toml b/Project.toml index fbefb69..a3c71ae 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "FileUtils" uuid = "3ab64cf3-766e-4aaa-abdf-a104b28521f5" -version = "0.1.5" +version = "0.1.6" authors = ["Matthew Fishman and contributors"] [workspace] diff --git a/docs/make_readme.jl b/docs/make_readme.jl new file mode 100644 index 0000000..02eed8b --- /dev/null +++ b/docs/make_readme.jl @@ -0,0 +1,17 @@ +using Literate: Literate + +let inputfile = joinpath(@__DIR__, "..", "examples", "README.jl"), + outputdir = joinpath(@__DIR__, ".."), flavor = Literate.CommonMarkFlavor(), + name = "README" + + function postprocess(content) + include_ccq_logo = """ + + + Flatiron Center for Computational Quantum Physics logo. + + """ + return replace(content, "{CCQ_LOGO}" => include_ccq_logo) + end + Literate.markdown(inputfile, outputdir; flavor, name, postprocess) +end