Skip to content

Commit

Permalink
Merge pull request #57 from sloede/msl/fix-documenter
Browse files Browse the repository at this point in the history
Several small fixes to the docs
  • Loading branch information
staticfloat authored Sep 20, 2023
2 parents 72ff0a6 + efbe819 commit 968a01b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,10 @@

[![Docs-stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://juliapackaging.github.io/Preferences.jl/stable)
[![Docs-dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://juliapackaging.github.io/Preferences.jl/dev)
[![Continuous Integration][ci-img]][ci-url]
[![Code Coverage][codecov-img]][codecov-url]
[![Continuous Integration](https://github.com/JuliaPackaging/Preferences.jl/workflows/CI/badge.svg)](https://github.com/JuliaPackaging/Preferences.jl/actions?query=workflow%3ACI)
[![Code Coverage](https://codecov.io/gh/JuliaPackaging/Preferences.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/JuliaPackaging/Preferences.jl)
[![License: MIT](https://img.shields.io/badge/License-MIT-success.svg)](https://opensource.org/licenses/MIT)

[ci-url]: https://github.com/JuliaPackaging/Preferences.jl/actions?query=workflow%3ACI
[codecov-url]: https://codecov.io/gh/JuliaPackaging/Preferences.jl

[ci-img]: https://github.com/JuliaPackaging/Preferences.jl/workflows/CI/badge.svg "Continuous Integration"
[codecov-img]: https://codecov.io/gh/JuliaPackaging/Preferences.jl/branch/master/graph/badge.svg "Code Coverage"

The `Preferences` package provides a convenient, integrated way for packages to store configuration switches to persistent TOML files, and use those pieces of information at both run time and compile time in Julia v1.6+.
This enables the user to modify the behavior of a package, and have that choice reflected in everything from run time algorithm choice to code generation at compile time.
Preferences are stored as TOML dictionaries and are, by default, stored within a `(Julia)LocalPreferences.toml` file next to the currently-active project.
Expand Down
5 changes: 3 additions & 2 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ open(joinpath(@__DIR__, "src", "license.md"), "w") do io
println(io, "# License")
println(io, "")
for line in eachline(joinpath(dirname(@__DIR__), "LICENSE.md"))
println(io, "> ", line)
println(io, line)
end
end

Expand All @@ -44,7 +44,8 @@ makedocs(;
"Home" => "index.md",
"Reference" => "reference.md",
"License" => "license.md"
]
],
warnonly = [:missing_docs], # we show all exported docstrings and are ok with omitting non-exported ones
)

# Deploy docs
Expand Down
1 change: 1 addition & 0 deletions docs/src/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ CurrentModule = Preferences

```@autodocs
Modules = [Preferences]
Private = false
```

0 comments on commit 968a01b

Please sign in to comment.