Skip to content

Commit

Permalink
Ran JuliaFormatter with Blue style.
Browse files Browse the repository at this point in the history
  • Loading branch information
rofinn committed Sep 3, 2024
1 parent 751446b commit 20e4034
Show file tree
Hide file tree
Showing 22 changed files with 1,073 additions and 1,047 deletions.
1 change: 1 addition & 0 deletions .JuliaFormatter.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
style = "blue"
22 changes: 8 additions & 14 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,23 +1,17 @@
using Documenter, FilePathsBase, FilePathsBase.TestPaths


const SETUP_CODE = quote
using FilePathsBase
using FilePathsBase: /, join
end

DocMeta.setdocmeta!(FilePathsBase, :DocTestSetup, SETUP_CODE; recursive=true)

makedocs(
makedocs(;
modules=[FilePathsBase],
format=Documenter.HTML(
prettyurls = get(ENV, "CI", nothing) == "true",
),
format=Documenter.HTML(; prettyurls=get(ENV, "CI", nothing) == "true"),
pages=[
"Home" => "index.md",
"Design" => "design.md",
"FAQ" => "faq.md",
"API" => "api.md",
"Home" => "index.md", "Design" => "design.md", "FAQ" => "faq.md", "API" => "api.md"
],
repo="https://github.com/rofinn/FilePathsBase.jl/blob/{commit}{path}#L{line}",
sitename="FilePathsBase.jl",
Expand All @@ -26,9 +20,9 @@ makedocs(
# strict = true,
)

deploydocs(
repo = "github.com/rofinn/FilePathsBase.jl.git",
target = "build",
deps = nothing,
make = nothing,
deploydocs(;
repo="github.com/rofinn/FilePathsBase.jl.git",
target="build",
deps=nothing,
make=nothing,
)
6 changes: 4 additions & 2 deletions ext/FilePathsBaseMmapExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module FilePathsBaseMmapExt
using Mmap
using FilePathsBase

Mmap.mmap(fp::FilePathsBase.SystemPath, args...; kwargs...) = Mmap.mmap(string(fp), args...; kwargs...)
function Mmap.mmap(fp::FilePathsBase.SystemPath, args...; kwargs...)
return Mmap.mmap(string(fp), args...; kwargs...)
end

end #module
end #module
Loading

0 comments on commit 20e4034

Please sign in to comment.