Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Clarify copy_without_render #67

@cdlm

Description

@cdlm

It's not clear what copy_without_render will be matched against and how.

Judging from the source code the glob pattern is used as-is, against the "real" path (fully resolved in the filesystem? relative to output directory?) of the destination where the template file would be copied to, but:

  • does that include the output directory (--output-dir CLI option) ?
  • it doesn't seem like template variables are expanded in the glob, which makes it impossible to match individual files when those have templated names (say I need to render most files in template/there/*.html except for template/there/{{name}}.html)
  • what about matching template-relative paths (so, the source files)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions