Document Documenter{GithubActions} and add it to interactive mode (#178)

This commit is contained in:
Anshul Singhvi 2020-05-28 20:07:41 +05:30 committed by GitHub
parent 087dcc8d05
commit d98579b7e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ const DeployStyle = Union{TravisCI, GitHubActions, GitLabCI, NoDeploy}
const GitHubPagesStyle = Union{TravisCI, GitHubActions}
"""
Documenter{T<:Union{TravisCI, GitLabCI, NoDeploy}}(;
Documenter{T<:Union{TravisCI, GitLabCI, GitHubActions, NoDeploy}}(;
make_jl="$(contractuser(default_file("docs", "make.jl")))",
index_md="$(contractuser(default_file("docs", "src", "index.md")))",
assets=String[],
@ -153,7 +153,7 @@ function customizable(::Type{<:Documenter})
end
function interactive(::Type{Documenter})
styles = [Nothing, TravisCI, GitLabCI]
styles = [Nothing, TravisCI, GitLabCI, GitHubActions]
menu = RadioMenu(map(string, styles); pagesize=length(styles))
println("Documenter deploy style:")
idx = request(menu)