diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 6b9fc6e..dca26ef 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -3,9 +3,13 @@ on: pull_request: branches: - master + paths-ignore: + - 'docs/**' push: branches: - master + paths-ignore: + - 'docs/**' jobs: test: runs-on: ubuntu-latest diff --git a/docs/Project.toml b/docs/Project.toml index f737994..d4d7450 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -3,5 +3,5 @@ Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" PreallocationTools = "d236fae5-4411-538c-8e31-a6e3d9e00b46" [compat] -Documenter = "0.27" +Documenter = "1" PreallocationTools = "0.4" diff --git a/docs/make.jl b/docs/make.jl index ae458fa..95973d8 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -9,15 +9,6 @@ makedocs(sitename = "PreallocationTools.jl", authors = "Chris Rackauckas", modules = [PreallocationTools], clean = true, doctest = false, linkcheck = true, - strict = [ - :doctest, - :linkcheck, - :parse_error, - :example_block, - :cross_references, - # Other available options are - # :autodocs_block, :cross_references, :docs_block, :eval_block, :example_block, :footnote, :meta_block, :missing_docs, :setup_block - ], format = Documenter.HTML(assets = ["assets/favicon.ico"], canonical = "https://docs.sciml.ai/PreallocationTools/stable/"), pages = pages) diff --git a/docs/src/index.md b/docs/src/index.md index ec78eb2..7ff3b1d 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -368,32 +368,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. +""") ```