facile_rs.utils.grav

Module Contents

Functions

collect_pages

Collect pages in a GRAV repository which are associated with the given pipeline name.

Data

logger

API

logger = 'getLogger(...)'
collect_pages(grav_path, pipeline_name)

Collect pages in a GRAV repository which are associated with the given pipeline name.

Parameters:
  • grav_path (string representing a path segment, or an object implementing the os.PathLike interface) – path to the GRAV repository

  • pipeline_name (str) – name of the pipeline

Returns:

list of pages as a tuple of (GRAV page location, GRAV page as frontmatter post, source location)

Return type:

list