Problem
I have a desire to populate a Docusaurus instance with content from multiple distinct repos. The content in those “remote” (relative to the Docusaurus instance) may change, and therefore can’t be explicitly defined.
Proposed solution
It would be hugely beneficial if I could simply say “all” files within a repo are downloaded, or if I could use filename pattern matching to filter a subset of documents to download.
In practice, perhaps this means that within documents I could pass a non-area string such as:
all: this would fetch all files in a given directory
faq*: this would fetch all files that begin with faq
Other thoughts
What I’m not clear on is whether or not it would be useful to define specifics around subcategories. Perhaps this would mean that for a given directory, I could look for all files that begin with faq, traversing subdirectories, ignoring the files that don’t begin with faq, and then downloading the results, preserving the subdirectory structure along the way.
Thanks for your consideration!
Problem
I have a desire to populate a Docusaurus instance with content from multiple distinct repos. The content in those “remote” (relative to the Docusaurus instance) may change, and therefore can’t be explicitly defined.
Proposed solution
It would be hugely beneficial if I could simply say “all” files within a repo are downloaded, or if I could use filename pattern matching to filter a subset of documents to download.
In practice, perhaps this means that within
documentsI could pass a non-area string such as:all: this would fetch all files in a given directoryfaq*: this would fetch all files that begin withfaqOther thoughts
What I’m not clear on is whether or not it would be useful to define specifics around subcategories. Perhaps this would mean that for a given directory, I could look for all files that begin with
faq, traversing subdirectories, ignoring the files that don’t begin withfaq, and then downloading the results, preserving the subdirectory structure along the way.Thanks for your consideration!