.. _makedirs_yaml: Directory Blocks ================ Directory blocks define a sequence of one or more directories to be created, nested under a ``makedirs:`` key. Each value is either an absolute path, or a path relative to the target directory, specified either via the CLI or an API call. Example block with absolute paths: .. code-block:: yaml makedirs: - /path/to/dir1 - /path/to/dir2 Example block with relative paths: .. code-block:: yaml makedirs: - /subdir/dir1 - ../../dir2