Closed cjohannsenscayle closed 1 month ago
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
This issue was closed because it has been stalled for 30 days with no activity.
Environment
All environments
Reproduction
See slug.vue#L16 for an MCVE, or try to call
queryContent
on a file in a hidden folder.Describe the bug
I want to load a JSON/YAML file which is placed via gitbook into the folder .gitbook, but nuxt content ignores all folders starting with a
.
.The docs says that the default for the config value is
['\\.', '-']
, but when I try to override it with an empty array, hidden folders are still ignored. Here is the line of code which is responsible for that and I am wondering, if this is intended to be hardcoded there.At the moment the only workaround I see is to fork the content module and remove that line of code for my project.
Is there any chance to make this configurable and allow hidden folders via config?
Additional context
When placing a swagger element (for openapi docs) in gitbook, it saves the yaml/json automatically in a .gitbook/assets folder, without any chance to configure that path. This causes problems, because I sync the gitbook content into the /content directory, to have the output immediately available.
Logs
No response