From c3b06674e76d1dc2f6d88940f9c75cb2c31a9f59 Mon Sep 17 00:00:00 2001 From: Jeff Fessler Date: Fri, 17 May 2024 17:37:18 -0400 Subject: [PATCH] Standardize yml; compat ImageGeoms v0.11; to v0.0.4 (#31) * Standardize yml * Add _typos --- .github/workflows/SpellCheck.yml | 13 +++++++++++++ Project.toml | 6 +++--- _typos.toml | 5 +++++ docs/make.jl | 10 +++++----- 4 files changed, 26 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/SpellCheck.yml create mode 100644 _typos.toml diff --git a/.github/workflows/SpellCheck.yml b/.github/workflows/SpellCheck.yml new file mode 100644 index 0000000..c344f6d --- /dev/null +++ b/.github/workflows/SpellCheck.yml @@ -0,0 +1,13 @@ +name: Spell Check + +on: [pull_request] + +jobs: + typos-check: + name: Spell Check with Typos + runs-on: ubuntu-latest + steps: + - name: Checkout Actions Repository + uses: actions/checkout@v4 + - name: Check spelling + uses: crate-ci/typos@master diff --git a/Project.toml b/Project.toml index 801f758..a9631ef 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "MRIFieldmaps" uuid = "5af58b90-8a55-4daf-adb4-2008a66a38cf" authors = ["Jeff Fessler and others"] -version = "0.0.3" +version = "0.0.4" [deps] ImageGeoms = "9ee76f2b-840d-4475-b6d6-e485c9297852" @@ -11,7 +11,7 @@ SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" [compat] -ImageGeoms = "0.10" +ImageGeoms = "0.10, 0.11" LimitedLDLFactorizations = "0.5" StatsBase = "0.33, 0.34" -julia = "v1.9" +julia = "v1.10" diff --git a/_typos.toml b/_typos.toml new file mode 100644 index 0000000..e8c5292 --- /dev/null +++ b/_typos.toml @@ -0,0 +1,5 @@ +[default] +extend-ignore-identifiers-re = [ + "nd", + "numer", +] diff --git a/docs/make.jl b/docs/make.jl index d00b5f0..93f9213 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -2,8 +2,8 @@ execute = isempty(ARGS) || ARGS[1] == "run" org, reps = :MagneticResonanceImaging, :MRIFieldmaps eval(:(using $reps)) -using Documenter -using Literate +import Documenter +import Literate # https://juliadocs.github.io/Documenter.jl/stable/man/syntax/#@example-block ENV["GKSwstype"] = "100" @@ -23,7 +23,7 @@ binder_root_url = repo = eval(:($reps)) -DocMeta.setdocmeta!(repo, :DocTestSetup, :(using $reps); recursive=true) +Documenter.DocMeta.setdocmeta!(repo, :DocTestSetup, :(using $reps); recursive=true) # preprocessing inc1 = "include(\"../../../inc/reproduce.jl\")" @@ -77,7 +77,7 @@ format = Documenter.HTML(; assets = ["assets/custom.css"], ) -makedocs(; +Documenter.makedocs(; modules = [repo], authors = "Jeff Fessler and contributors", sitename = "$repo.jl", @@ -90,7 +90,7 @@ makedocs(; ) if isci - deploydocs(; + Documenter.deploydocs(; repo = "github.com/$base", devbranch = "main", devurl = "dev",