diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 7f91a8d8..a02283dd 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -3,9 +3,13 @@ on: pull_request: branches: - main + paths-ignore: + - 'docs/**' push: branches: - main + paths-ignore: + - 'docs/**' concurrency: # Skip intermediate builds: always. # Cancel intermediate builds: only if it is a pull request build. diff --git a/docs/Project.toml b/docs/Project.toml index f80d9d44..61d90e04 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -1,7 +1,8 @@ [deps] +DeepEquilibriumNetworks = "6748aba7-0e9b-415e-a410-ae3cc0ecb334" Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" DocumenterCitations = "daee34ce-89f3-4625-b898-19384cb65244" [compat] -Documenter = "0.27, 1" +Documenter = "1" DocumenterCitations = "0.2, 1" diff --git a/docs/make.jl b/docs/make.jl index c5ea8102..1a15034e 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -10,21 +10,9 @@ include("pages.jl") makedocs(bib; sitename="Fast Deep Equilibrium Networks", authors="Avik Pal et al.", - clean=true, - doctest=false, modules=[DeepEquilibriumNetworks], - strict=[ - :doctest, - :linkcheck, - :parse_error, - :example_block, - # Other available options are - # :autodocs_block, :cross_references, :docs_block, :eval_block, :example_block, - # :footnote, :meta_block, :missing_docs, :setup_block - ], - checkdocs=:all, - format=Documenter.HTML(; - assets=["assets/favicon.ico"], + clean=true, doctest=false, + format=Documenter.HTML(;assets=["assets/favicon.ico"], canonical="https://docs.sciml.ai/DeepEquilibriumNetworks/stable/"), pages) diff --git a/docs/src/index.md b/docs/src/index.md index c4417994..02a15e8d 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -120,38 +120,19 @@ Pkg.status(; mode=PKGMODE_MANIFEST) # hide ``` -```@raw html -You can also download the -manifest file and the -project file. +link_manifest = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version * + "/assets/Manifest.toml" +link_project = "https://github.com/SciML/" * name * ".jl/tree/gh-pages/v" * version * + "/assets/Project.toml" +Markdown.parse("""You can also download the +[manifest]($link_manifest) +file and the +[project]($link_project) +file. +""") ```