more descriptive "Done" console message #3522
Unanswered
loomsofenitharmon
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
After running Pelican, the console spits out this message: "Done: Processed {pluralized_articles}, {pluralized_drafts}, {pluralized_hidden_articles}, {pluralized_pages}, {pluralized_hidden_pages} and {pluralized_draft_pages} in {time.time() - start_time:.2f} seconds." I would like to make it include direct templates (index, authors, tags, categories, archives) as part of this list, as well as automatically created pages (sorry if that's not the right thing to call them. I mean individual tag, author, archive, and category pages.) Ideally it would also list all webpages generated to output, and maybe even handle automatic pagination. For example: "Done: Processed 2 articles (article, anotherarticle), ... 5 direct templates (index, authors, tags, categories, archives), 2 tag pages (tag1, tag2), 3 automatically paginated archive pages..."
I started trying to personalize my init.py file to this end, but I ran into some confusion with how to get the list of files as text instead of objects. Maybe this more verbose "Done" could be included in debug or verbose mode? I think other people might also want to see this information.
Beta Was this translation helpful? Give feedback.
All reactions