From 3e8c3aaa666c42fec3eae1c4085086e5705d63f0 Mon Sep 17 00:00:00 2001 From: Valentin Churavy Date: Mon, 24 Jun 2024 10:57:27 -0400 Subject: [PATCH] Update Documentation.yml (#46) --- .github/workflows/Documentation.yml | 3 +-- docs/Project.toml | 4 ++++ docs/make.jl | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml index ecc3697..507e43e 100644 --- a/.github/workflows/Documentation.yml +++ b/.github/workflows/Documentation.yml @@ -13,8 +13,7 @@ jobs: - uses: actions/checkout@v2 - uses: julia-actions/setup-julia@v1 with: - version: "1.8" - shell: bash + version: "1" - name: instantiate docs run: | julia --project=docs -e ' diff --git a/docs/Project.toml b/docs/Project.toml index 2b45025..eb37867 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -4,3 +4,7 @@ DocumenterCitations = "daee34ce-89f3-4625-b898-19384cb65244" GalacticOptim = "a75be94c-b780-496d-a8a9-0878b188d577" Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306" Optim = "429524aa-4258-5aef-a3af-852621145aeb" + +[compat] +Documenter = "1" +DocumenterCitations = "1" \ No newline at end of file diff --git a/docs/make.jl b/docs/make.jl index c342b04..80ff76e 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -28,7 +28,7 @@ end examples = [title=>joinpath("generated", string(name, ".md")) for (title, name) in examples] -makedocs(bib; +makedocs(; modules=[LAMMPS], authors="CESMIX-MIT", repo="https://github.com/cesmix-mit/LAMMPS.jl/blob/{commit}{path}#{line}", @@ -44,9 +44,9 @@ makedocs(bib; "Examples" => examples, "API" => "api.md", ], + plugins = [bib], doctest = true, linkcheck = true, - strict = true, ) deploydocs(;