Public
StaticWebPages.AbstractItem
— TypeAbstractItem
An abstract supertype for all items making the content of Section
s.
StaticWebPages.Block
— TypeBlock
An item to construct a sequence of paragraphs with a (possibly empty) sequence of images on the side. Instead of images, an iframe's url can be given.
StaticWebPages.Block
— MethodBlock(paragraphs, images)
Construct a Block
with paragraphs and images.
StaticWebPages.Block
— MethodBlock(paragraphs, iframe::String)
Construct a Block
with paragraphs and an iframe.
StaticWebPages.Card
— TypeCard
A Card
structure to fill a Deck
item.
StaticWebPages.CardColor
— TypeCardColor
An enumeration of the different background colors available. It will need to be adjusted for Theme
and SubTheme
.
- card_blue
- card_green
- card_red
- card_orange
- cardjuliablue
- cardjuliagreen
- cardjuliapurple
- cardjuliared
StaticWebPages.GitRepo
— TypeGitRepo
A structure to store the URLs of git repositories and an associated filter for possible bot filtering.
StaticWebPages.GitRepo
— MethodGitRepo(args::RepoLabels...; filter=["github-actions[bot]"])
Stores the URLs of git repositories and an associated filter. By default filters "github-actions[bot]"
.
StaticWebPages.TimeLine
— TypeTimeLine
A structure for a TimeLine
item. It is compose of Dot
s.
StaticWebPages.TimeLine
— MethodTimeLine(color::TimeLineColor, args::Dot...)
TimeLine(args::Dot...; color=tl_blue)
Construct a TimeLime
with the dots in args
. The TimeLine
color can be set to: tl_blue
, tl_green
, tl_red
, tl_orange
, tl_julia_blue
, tl_julia_green
, tl_julia_purple
, tl_julia_red
, tl_julia
.
StaticWebPages.TimeLineColor
— TypeTimeLineColor
An enumeration of the different TimeLine
colors available. It will need to be adjusted for
Themeand
SubTheme`.
- tl_blue
- tl_green
- tl_red
- tl_orange
- tljuliablue
- tljuliagreen
- tljuliapurple
- tljuliared
- tl_julia
StaticWebPages.export_site
— Methodexport_site(; d::Dict{String,String}=local_info, rm_dir::Bool=false, opt_in::Bool=false)
Export the generated website based on d
(default to local_info
). The content
and site
folders need to be valid. If rm_dir
is true
, the site
folder will be deleted before the website is generated.
Users can choose to support StaticWebPages.jl
by setting opt_in
to true
. This will add a small banner in the side navigation menu stating "This website was generated using StaticWebPages.jl" and links to the GitHub repository.
StaticWebPages.iframe
— Methodiframe(url)
Construct an iframe from url
.
StaticWebPages.images
— Methodimages(args::Image...)
Construct an ordered sequence of images for a Block
item. An Image
should be given as a Pair
of strings.
StaticWebPages.paragraphs
— Methodparagraphs(args::String...)
Construct an ordered sequence of paragraphs (text entries) for a Block
item.
StaticWebPages.upload_site
— Functionupload_site(d::Dict{String,String}=local_info)
Will upload the generated website according to the info in d
.