From 1cbd376144bdb3368dc1d7e444c927e68e254e9f Mon Sep 17 00:00:00 2001 From: Samuel Badr Date: Mon, 25 Sep 2023 11:07:21 +0200 Subject: [PATCH] Try to fix docs --- docs/Project.toml | 5 +++++ docs/make.jl | 56 +++++++++++++++++++++++------------------------ 2 files changed, 32 insertions(+), 29 deletions(-) diff --git a/docs/Project.toml b/docs/Project.toml index bc03f74..c641197 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -1,3 +1,8 @@ [deps] Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" SparseIR = "4fe2279e-80f0-4adb-8463-ee114ff56b7d" + +[compat] +Documenter = "1" +SparseIR = "1" +julia = "1.6" diff --git a/docs/make.jl b/docs/make.jl index 6da5796..0a8dce7 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -3,33 +3,31 @@ using Documenter DocMeta.setdocmeta!(SparseIR, :DocTestSetup, :(using SparseIR)) -makedocs(; - modules=[SparseIR], - authors="Samuel Badr and contributors", - repo="https://github.com/SpM-lab/SparseIR.jl/blob/{commit}{path}#{line}", - sitename="SparseIR.jl", - format=Documenter.HTML(; - prettyurls=get(ENV, "CI", "false") == "true", - assets=String["assets/custom.css"], - mathengine=MathJax3(Dict(:loader => Dict("load" => [ - "[tex]/physics" - ]), - :tex => Dict("inlineMath" => [ - ["\$", "\$"], - ["\\(", "\\)"] - ], - "tags" => "ams", - "packages" => [ - "base", - "ams", - "autoload", - "physics" - ])))), - pages=["Home" => "index.md", - "Guide" => "guide.md", - "Public" => "public.md", - "Private" => "private.md"], - draft=get(ENV, "CI", "false") == "false") +makedocs(; modules=[SparseIR], + authors="Samuel Badr and contributors", + # repo="https://github.com/SpM-lab/SparseIR.jl/blob/{commit}{path}#{line}", + sitename="SparseIR.jl", + format=Documenter.HTML(; + prettyurls=get(ENV, "CI", "false") == "true", + assets=String["assets/custom.css"], + mathengine=MathJax3(Dict(:loader => Dict("load" => [ + "[tex]/physics" + ]), + :tex => Dict("inlineMath" => [ + ["\$", "\$"], + ["\\(", "\\)"] + ], + "tags" => "ams", + "packages" => [ + "base", + "ams", + "autoload", + "physics" + ])))), + pages=["Home" => "index.md", + "Guide" => "guide.md", + "Public" => "public.md", + "Private" => "private.md"], + draft=get(ENV, "CI", "false") == "false") -deploydocs(; - repo="github.com/SpM-lab/SparseIR.jl.git") +deploydocs(; repo="github.com/SpM-lab/SparseIR.jl.git")