Skip to content

Commit

Permalink
Rename package
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelbailo committed Nov 18, 2023
1 parent 15fc08f commit 8a745c0
Show file tree
Hide file tree
Showing 13 changed files with 45 additions and 37 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ jobs:
- run: |
julia --project=docs -e '
using Documenter: DocMeta, doctest
using Default
DocMeta.setdocmeta!(Default, :DocTestSetup, :(using Default); recursive=true)
doctest(Default)'
using DefaultKeywordArguments
DocMeta.setdocmeta!(DefaultKeywordArguments, :DocTestSetup, :(using DefaultKeywordArguments); recursive=true)
doctest(DefaultKeywordArguments)'
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Default"
name = "DefaultKeywordArguments"
uuid = "d739bc73-037a-4484-8212-e0e00e9ea6bf"
authors = ["Dr Rafael Bailo"]
version = "1.0.0"
version = "1.1.0"

[compat]
julia = "1.9"
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Default.jl
# DefaultKeywordArguments.jl

[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://PdIPS.github.io/Default.jl/stable/)
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://PdIPS.github.io/Default.jl/dev/)
[![Build Status](https://github.com/PdIPS/Default.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/PdIPS/Default.jl/actions/workflows/CI.yml?query=branch%3Amain)
[![Coverage](https://codecov.io/gh/PdIPS/Default.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/PdIPS/Default.jl)
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://PdIPS.github.io/DefaultKeywordArguments.jl/stable/)
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://PdIPS.github.io/DefaultKeywordArguments.jl/dev/)
[![Build Status](https://github.com/PdIPS/DefaultKeywordArguments.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/PdIPS/DefaultKeywordArguments.jl/actions/workflows/CI.yml?query=branch%3Amain)
[![Coverage](https://codecov.io/gh/PdIPS/DefaultKeywordArguments.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/PdIPS/DefaultKeywordArguments.jl)
[![Aqua](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

**Default.jl** is a package to handle *default keyword arguments* in Julia. It has been developed to support [CBX.jl](https://github.com/PdIPS/CBX.jl).
**DefaultKeywordArguments.jl** is a package to handle *default keyword arguments* in Julia. It has been developed to support [CBX.jl](https://github.com/PdIPS/CBX.jl).

## The `@default` Macro

Expand Down
6 changes: 3 additions & 3 deletions citation.cff
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
cff-version: 1.2.0
title: 'Default.jl'
title: 'DefaultKeywordArguments.jl'
message: 'If you use this software, please cite it as below.'
authors:
- family-names: 'Bailo'
given-names: 'Rafael'
orcid: 'https://orcid.org/0000-0001-8018-3799'
type: software
version: 1.0.0
url: 'https://github.com/PdIPS/Default.jl'
version: 1.1.0
url: 'https://github.com/PdIPS/DefaultKeywordArguments.jl'
2 changes: 1 addition & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[deps]
Default = "d739bc73-037a-4484-8212-e0e00e9ea6bf"
DefaultKeywordArguments = "d739bc73-037a-4484-8212-e0e00e9ea6bf"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
22 changes: 15 additions & 7 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,22 +1,30 @@
push!(LOAD_PATH, "../src/")

using Default
using DefaultKeywordArguments
using Documenter

DocMeta.setdocmeta!(Default, :DocTestSetup, :(using Default); recursive = true)
DocMeta.setdocmeta!(
DefaultKeywordArguments,
:DocTestSetup,
:(using DefaultKeywordArguments);
recursive = true,
)

makedocs(;
modules = [Default],
modules = [DefaultKeywordArguments],
authors = "Dr Rafael Bailo",
repo = "https://github.com/PdIPS/Default.jl/blob/{commit}{path}#{line}",
sitename = "Default.jl",
repo = "https://github.com/PdIPS/DefaultKeywordArguments.jl/blob/{commit}{path}#{line}",
sitename = "DefaultKeywordArguments.jl",
format = Documenter.HTML(;
prettyurls = get(ENV, "CI", "false") == "true",
canonical = "https://PdIPS.github.io/Default.jl",
canonical = "https://PdIPS.github.io/DefaultKeywordArguments.jl",
edit_link = "main",
assets = String[],
),
pages = ["Home" => "index.md"],
)

deploydocs(; repo = "github.com/PdIPS/Default.jl", devbranch = "main")
deploydocs(;
repo = "github.com/PdIPS/DefaultKeywordArguments.jl",
devbranch = "main",
)
16 changes: 8 additions & 8 deletions docs/src/index.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
```@meta
CurrentModule = Default
CurrentModule = DefaultKeywordArguments
```

# Default.jl
# DefaultKeywordArguments.jl

[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://PdIPS.github.io/Default.jl/stable/)
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://PdIPS.github.io/Default.jl/dev/)
[![Build Status](https://github.com/PdIPS/Default.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/PdIPS/Default.jl/actions/workflows/CI.yml?query=branch%3Amain)
[![Coverage](https://codecov.io/gh/PdIPS/Default.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/PdIPS/Default.jl)
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://PdIPS.github.io/DefaultKeywordArguments.jl/stable/)
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://PdIPS.github.io/DefaultKeywordArguments.jl/dev/)
[![Build Status](https://github.com/PdIPS/DefaultKeywordArguments.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/PdIPS/DefaultKeywordArguments.jl/actions/workflows/CI.yml?query=branch%3Amain)
[![Coverage](https://codecov.io/gh/PdIPS/DefaultKeywordArguments.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/PdIPS/DefaultKeywordArguments.jl)
[![Aqua](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

**Default.jl** is a package to handle *default keyword arguments* in Julia. It has been developed to support [CBX.jl](https://github.com/PdIPS/CBX.jl).
**DefaultKeywordArguments.jl** is a package to handle *default keyword arguments* in Julia. It has been developed to support [CBX.jl](https://github.com/PdIPS/CBX.jl).

## The `@default` Macro

Expand Down Expand Up @@ -130,5 +130,5 @@ Once again, you are allowed to have extra arguments, type annotations, or defaul
```

```@autodocs
Modules = [Default]
Modules = [DefaultKeywordArguments]
```
2 changes: 1 addition & 1 deletion src/Default.jl → src/DefaultKeywordArguments.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Default
module DefaultKeywordArguments

"""
```
Expand Down
2 changes: 1 addition & 1 deletion test/@config.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Default, Test
using DefaultKeywordArguments, Test

const default_config = (; a = 1, b = 1.0, c = 1 // 1)

Expand Down
2 changes: 1 addition & 1 deletion test/@default.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Default, Test
using DefaultKeywordArguments, Test

const default_values = (; a = 1, b = 1.0, c = 1 // 1)

Expand Down
4 changes: 2 additions & 2 deletions test/aqua.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
using Aqua, Default
using Aqua, DefaultKeywordArguments

Aqua.test_all(Default, deps_compat = false)
Aqua.test_all(DefaultKeywordArguments, deps_compat = false)
2 changes: 1 addition & 1 deletion test/format.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Default, JuliaFormatter, Test
using DefaultKeywordArguments, JuliaFormatter, Test

function tests()
function f(s)
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Test, SafeTestsets

@testset "Default.jl" begin
@testset "DefaultKeywordArguments.jl" begin
for test ["@config", "@default", "aqua", "format"]
@eval begin
@safetestset $test begin
Expand Down

0 comments on commit 8a745c0

Please sign in to comment.