ssg-api
Advanced tools
Changelog
[1.2.10] - 2022-11-27
SsgContext.document
and SsgContext.serialize()
to avoid using deprecated JSDOM-dependent SsgContext.dom
.Changelog
[1.2.9] - 2022-11-27
push()
and pop()
, reflected in logs.Changelog
[1.2.8] - 2022-11-20
ContentStep.processFile
visibility from private
to protected
to allow more fine-tuned specialization.Changelog
[1.2.7] - 2022-11-16
Logger.name
is the context name to be displayed before a log.SsgContext.logger
is the logger object used to perform context.logs. DefaultLogger
will be used by SsgContextImpl
unless another Logger
implementation is provided at construction.context.name
will change context's logger's name as well.Changelog
[1.2.6] - 2022-11-13
FileContentsLang.variants
can contain ""
if there is the same file is found without language suffix.Changelog
[1.2.4] - 2022-11-13
SsgFile.lang.variants
don't include current SsgFile.lang.lang
Changelog
[1.2.3] - 2022-11-13
FileContents.lang.variants
for path with no directory.Changelog
[1.2.2] - 2022-11-13
DomReplaceCommand
now accepts a second Context type parameter, to allow it to query custom context members without casting.