diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 03ba839..9759c42 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -20,7 +20,7 @@ jobs: - uses: julia-actions/setup-julia@v2 with: version: '1.10' - - uses: julia-actions/cache@v1 + - uses: julia-actions/cache@v2 - name: Install dependencies run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' - name: Build and deploy diff --git a/docs/Project.toml b/docs/Project.toml new file mode 100644 index 0000000..cf645b5 --- /dev/null +++ b/docs/Project.toml @@ -0,0 +1,3 @@ +[deps] +Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" +Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306" diff --git a/docs/make.jl b/docs/make.jl index db8e81b..565fda7 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -1,11 +1,16 @@ -using Documenter, REDCap +using Documenter using Literate +using REDCap -makedocs() +makedocs( + sitename = "REDCap", + format = Documenter.HTML(), + modules = [REDCap] +) deploydocs( - deps = Deps.pip("mkdocs==0.17.5", "mkdocs-material==2.9.4"), - repo = "github.com/bcbi/REDCap.jl.git", - julia = "1.0", - osname = "linux" -) \ No newline at end of file + #deps = Deps.pip("mkdocs==0.17.5", "mkdocs-material==2.9.4"), + repo = "github.com/bcbi/REDCap.jl.git", + #julia = "1.0", + #osname = "linux" +)