module StatisticsWithJulia

using Pkg, Markdown

include_dependency(joinpath("..", "Project.toml"))
include("functionsgeneral.jl")   # project_relative_path()
include("functionsnotebook.jl")  # list_notebooks()
include("functionspage.jl")      # footer(), header()
include("functionswebsite.jl")   # start(), update(), and create_sysimage()
include("notebooklist.jl")       # notebooklist

const _VERSION = VersionNumber(Pkg.TOML.parsefile(project_relative_path("Project.toml"))["version"])
@info """\n
    欢迎来到《Julia语言与数据科学初步》课程 v$(_VERSION)!
    请在 REPL 输入下面的命令开始课程：
    ```julia
    julia> StatisticsWithJulia.start()
    ````
\n"""

end # module
