diff --git a/.github/workflows/check_docs.yml b/.github/workflows/check_docs.yml index e89f52d..ff07719 100644 --- a/.github/workflows/check_docs.yml +++ b/.github/workflows/check_docs.yml @@ -28,8 +28,23 @@ jobs: run: | julia --project=docs -e ' using Documenter, HerbCore; + content = """ + ```@meta + CurrentModule = HerbCore + DocTestSetup = quote + using HerbCore + end + ``` + + ```@autodocs + Modules = [HerbCore] + ``` + """ + open("index.md", "w") do file + write(file, content) + end makedocs( - source="../.github/workflow/src", + source="", sitename="HerbCore.jl", modules=[HerbCore], format=Documenter.HTML(), diff --git a/.github/workflows/src/index.md b/.github/workflows/src/index.md deleted file mode 100644 index d1b647f..0000000 --- a/.github/workflows/src/index.md +++ /dev/null @@ -1,15 +0,0 @@ -# [HerbCore.jl Documentation](@id HerbCore_docs) - -```@meta -CurrentModule=HerbCore -``` - -```@autodocs -Modules = [HerbCore] -Order = [:type, :const, :macro, :function] -``` - -## Index - -```@index -```