-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
152 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
@deprecate generate(t::Template, pkg::AbstractString) t(pkg) | ||
@deprecate generate(pkg::AbstractString, t::Template) t(pkg) | ||
@deprecate interactive_template() Template(; interactive=true) | ||
@deprecate generate_interactive(pkg::AbstractString) Template(; interactive=true)(pkg) | ||
@deprecate interactive_template() Template(; interactive = true) | ||
@deprecate generate_interactive(pkg::AbstractString) Template(; interactive = true)(pkg) | ||
@deprecate GitHubPages(; kwargs...) Documenter{TravisCI}(; kwargs...) | ||
@deprecate GitLabPages(; kwargs...) Documenter{GitLabCI}(; kwargs...) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,10 +29,16 @@ end | |
|
||
function PkgTemplates.validate(p::CodeOwners, ::Template) | ||
for (pattern, subowners) in p.owners | ||
contains(pattern, r"\s") && throw(ArgumentError(("Pattern ($pattern) must not contain whitespace"))) | ||
contains(pattern, r"\s") && | ||
throw(ArgumentError(("Pattern ($pattern) must not contain whitespace"))) | ||
for subowner in subowners | ||
contains(subowner, r"\s") && throw(ArgumentError("Owner name ($subowner) must not contain whitespace")) | ||
'@' ∈ subowner || throw(ArgumentError("Owner name ($subowner) must be `@user` or `[email protected]`")) | ||
contains(subowner, r"\s") && | ||
throw(ArgumentError("Owner name ($subowner) must not contain whitespace")) | ||
'@' ∈ subowner || throw( | ||
ArgumentError( | ||
"Owner name ($subowner) must be `@user` or `[email protected]`", | ||
), | ||
) | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.