diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 4b10e6e..4ec9556 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -22,7 +22,7 @@ jobs: version: '1' - uses: julia-actions/cache@v2 - name: Install dependencies - run: julia --project=docs/ -e 'using Pkg; Pkg.add(url="https://github.com/bencardoen/ERGO.jl.git"); Pkg.add(url="https://github.com/bencardoen/SubPrecisionContactDetection.jl.git"); Pkg.activate(); push!(LOAD_PATH,pwd());Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' + run: julia --project=docs/ -e 'using Pkg; Pkg.add("Documenter")' - name: Build and deploy env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token diff --git a/docs/make.jl b/docs/make.jl index 1fd68b4..f66cd06 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -1,4 +1,3 @@ -using Documenter, SubPrecisionContactDetection +using Documenter push!(LOAD_PATH,"../src/") -makedocs(sitename="SubPrecisionContactDetection Documentation", pages=["API" => "functions.md", -"Tutorial" => "tutorial.md", "Parameter selection" => "parameters.md", "Cluster Usage" => "clustercomputing.md", "Installation" => "installation.md"]) +makedocs(sitename="SubPrecisionContactDetection Documentation", pages=[ "Tutorial" => "tutorial.md", "Parameter selection" => "parameters.md", "Cluster Usage" => "clustercomputing.md", "Installation" => "installation.md"])