Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How to setup filePathPattern correctly ? #491

Unanswered
sergeunity asked this question in Q&A
Discussion options

Hi

I using this documentType to ready docs.yaml or docs.yml in the root of my folder. But content layer try to read ALL yaml recursively in my folder and drop a lot of errors.

{
 name: docsConfig",
 description: "docs config",
 filePathPattern: "/docs.y*ml",
 contentType: "data",
(node:22940) YAMLWarning: Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.
Please use one of the following document type names: Doc, docsConfig.
 │ 
 │ • cloudbees/alerting/Chart.yaml (Used type name: "application")

How can I do to make read just one file ?

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /