Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-21892

Pelican Builds with .asf.yaml - Block builds that are missing too many pages

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: None
    • Component/s: Website
    • Labels:
      None
    • Project:
      Infrastructure

      Description

      In .asf.yaml add a "count" key whose value is the minimum number of html pages that must be generated by pelican-build.py.

      If the html page count is less than the "count" stop.

      Pelican reports the build count like so in the output:
      Done: Processed 0 articles, 0 drafts, 212 pages, 0 hidden pages and 0 draft pages in 11.49 seconds.

      The idea is to prevent an empty or half empty website due to a build issue.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                humbedooh Daniel Gruno
                Reporter:
                wave Dave Fisher
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Review Date: