File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -656,7 +656,6 @@ local function setup()
656656
657657 getOutputtedFiles = function()
658658 -- There's no reason to restrict context for this function, I don't think. 2021-04-27
659-
660659 local fileInfos = {}
661660
662661 for _, entry in ipairs(writtenOutputEntries) do
@@ -674,6 +673,19 @@ local function setup()
674673 return fileInfos
675674 end,
676675
676+ getGeneratedPages = function() -- @Doc
677+ -- Just like getOutputtedFiles(), there's no reason to restrict context for this function, I don't think. 2021-05-18
678+ local generatedPages = {}
679+
680+ for _, page in ipairs(pages) do
681+ if page._isGenerated then
682+ table.insert(generatedPages, getProtectionWrapper(page, "page"))
683+ end
684+ end
685+
686+ return generatedPages -- Should we sort these?
687+ end,
688+
677689 getDataTextParsers = function()
678690 local _dataParsers = {}
679691
You can’t perform that action at this time.
0 commit comments