diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 44bb308..60060b0 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v2 - uses: julia-actions/setup-julia@v1 with: - version: '1.x' # Or specify your Julia version + version: '1.10' - name: Install dependencies run: julia --project=docs/ -e 'using Pkg; Pkg.instantiate()' - name: Build and deploy diff --git a/Project.toml b/Project.toml index 717626a..20db5b3 100644 --- a/Project.toml +++ b/Project.toml @@ -5,6 +5,7 @@ version = "0.1.0" [deps] ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" +Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210" JuliaFormatter = "98e50ef6-434e-11e9-1051-2b60c6c9e899" NNlib = "872c559c-99b0-510c-b3b7-b6c96a88d5cd" diff --git a/docs/make.jl b/docs/make.jl index dbbd3de..596b75d 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -1,11 +1,4 @@ using Documenter -using YourPackageName +using DiscoDiff -makedocs( - sitename = "DiscoDiff.jl", - format = Documenter.HTML(), - source = "src", - pages = ["Home" => "index.md", "Guide" => "guide.md"], -) - -deploydocs(repo = "github.com/Devetak/DiscoDiff.jl.git", branch = "gh-pages") +makedocs(sitename = "DiscoDiff.jl Documentation", modules = [DiscoDiff])