Skip to content

Commit a086732

Browse files
Merge pull request #111 from ChrisRackauckas-Claude/runic-formatting
Switch from JuliaFormatter to Runic.jl for code formatting
2 parents 244e0a3 + f835a64 commit a086732

6 files changed

Lines changed: 232 additions & 156 deletions

File tree

.JuliaFormatter.toml

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/workflows/FormatCheck.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
1-
name: "Format Check"
1+
name: format-check
22

33
on:
44
push:
55
branches:
66
- 'master'
7+
- 'main'
8+
- 'release-'
79
tags: '*'
810
pull_request:
911

1012
jobs:
11-
format-check:
12-
name: "Format Check"
13-
uses: "SciML/.github/.github/workflows/format-check.yml@v1"
13+
runic:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: fredrikekre/runic-action@v1
18+
with:
19+
version: '1'

docs/make.jl

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,21 @@ using Documenter
44
cp("./docs/Manifest.toml", "./docs/src/assets/Manifest.toml", force = true)
55
cp("./docs/Project.toml", "./docs/src/assets/Project.toml", force = true)
66

7-
makedocs(sitename = "RuntimeGeneratedFunctions.jl",
7+
makedocs(
8+
sitename = "RuntimeGeneratedFunctions.jl",
89
authors = "Chris Rackauckas",
910
modules = [RuntimeGeneratedFunctions],
1011
clean = true, doctest = false, linkcheck = true,
11-
format = Documenter.HTML(assets = ["assets/favicon.ico"],
12-
canonical = "https://docs.sciml.ai/RuntimeGeneratedFunctions/stable/"),
12+
format = Documenter.HTML(
13+
assets = ["assets/favicon.ico"],
14+
canonical = "https://docs.sciml.ai/RuntimeGeneratedFunctions/stable/"
15+
),
1316
pages = [
1417
"RuntimeGeneratedFunctions.jl: Efficient Staged Compilation" => "index.md",
15-
"API" => "api.md"
16-
])
18+
"API" => "api.md",
19+
]
20+
)
1721

1822
deploydocs(;
19-
repo = "github.com/SciML/RuntimeGeneratedFunctions.jl")
23+
repo = "github.com/SciML/RuntimeGeneratedFunctions.jl"
24+
)

0 commit comments

Comments
 (0)