Plugins
Plugins are the secret sauce behind PkgTemplates's customization and extension. This page describes plugins that already exist; for information on writing your own plugins, see Plugin Development.
Continuous Integration (CI)
PkgTemplates.TravisCI — Type.TravisCI(; config_file::Union{AbstractString, Nothing}="") -> TravisCIAdd TravisCI to a template's plugins to add a .travis.yml configuration file to generated repositories, and an appropriate badge to the README.
Keyword Arguments:
config_file::Union{AbstractString, Nothing}="": Path to a custom.travis.yml. Ifnothingis supplied, no file will be generated.
PkgTemplates.AppVeyor — Type.AppVeyor(; config_file::Union{AbstractString, Nothing}="") -> AppVeyorAdd AppVeyor to a template's plugins to add a .appveyor.yml configuration file to generated repositories, and an appropriate badge to the README.
Keyword Arguments
config_file::Union{AbstractString, Nothing}="": Path to a custom.appveyor.yml. Ifnothingis supplied, no file will be generated.
PkgTemplates.GitLabCI — Type.GitLabCI(; config_file::Union{AbstractString, Nothing}="", coverage::Bool=true) -> GitLabCIAdd GitLabCI to a template's plugins to add a .gitlab-ci.yml configuration file to generated repositories, and appropriate badge(s) to the README.
Keyword Arguments:
config_file::Union{AbstractString, Nothing}="": Path to a custom.gitlab-ci.yml. Ifnothingis supplied, no file will be generated.coverage::Bool=true: Whether or not GitLab CI's built-in code coverage analysis should be enabled.
Code Coverage
PkgTemplates.CodeCov — Type.CodeCov(; config_file::Union{AbstractString, Nothing}=nothing) -> CodeCovAdd CodeCov to a template's plugins to optionally add a .codecov.yml configuration file to generated repositories, and an appropriate badge to the README. Also updates the .gitignore accordingly.
Keyword Arguments:
config_file::Union{AbstractString, Nothing}=nothing: Path to a custom.codecov.yml. If left unset, no file will be generated.
PkgTemplates.Coveralls — Type.Coveralls(; config_file::Union{AbstractString, Nothing}=nothing) -> CoverallsAdd Coveralls to a template's plugins to optionally add a .coveralls.yml configuration file to generated repositories, and an appropriate badge to the README. Also updates the .gitignore accordingly.
Keyword Arguments:
config_file::Union{AbstractString, Nothing}=nothing: Path to a custom.coveralls.yml. If left unset, no file will be generated.
Documentation
PkgTemplates.Documenter — Type.Add a Documenter subtype to a template's plugins to add support for documentation generation via Documenter.jl.
PkgTemplates.GitHubPages — Type.GitHubPages(; assets::Vector{<:AbstractString}=String[]) -> GitHubPagesAdd GitHubPages to a template's plugins to add Documenter support via GitHub Pages, including automatic uploading of documentation from TravisCI. Also adds appropriate badges to the README, and updates the .gitignore accordingly.
Keyword Arguments
assets::Vector{<:AbstractString}=String[]: Array of paths to Documenter asset files.