strictdoc icon indicating copy to clipboard operation
strictdoc copied to clipboard

Task: strictdoc.toml: include_doc_paths: review the path masks, accept underscore character

Open stanislaw opened this issue 8 months ago • 1 comments

error: strictdoc.toml: 'include_doc_paths': Path mask must start with an alphanumeric character or a wildcard symbol ''. Provided string: '_assets/'.

I will double-check this today. Relaxing the condition to accept underscores should be easy. I will create an integration test to exercise this case.

Originally posted by @stanislaw in #2210

stanislaw avatar May 02 '25 13:05 stanislaw

@johanenglund just to make sure:

This is what StrictDoc itself uses and I don't need to explicitly specify the asset folders:

include_doc_paths = [
  "docs/**",
  "docs_extra/**",
  "reports/**",
]

The assets are inside docs: https://github.com/strictdoc-project/strictdoc/tree/main/docs/_assets.

Is your setup more custom in some way?

stanislaw avatar May 02 '25 13:05 stanislaw