-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flat not working #76
Comments
|
@lukasgeiter: I was just returning to report that I had figured exactly that out. 😎 Our goal is to always flatten folders when there is a sub-folder of a certain name--let's call it "published". The docs in the sub-folder are coming from a different source, but we want them merged into this particular site of unpublished docs. Can you think of a way to do that? Would it be difficult to make |
I don't think there's currently a way to do that using this plugin. You're not the first asking for something like this - I'll keep this issue open as a feature request. |
I've just released v3 of the plugin that should solve your issue! In v3, nav:
- "**/*.md" |
I've been trying everything I can think of to make the
... | flat
feature work, including dropping back to earlier versions, and I just can't figure it out.I created a test project with the following file structure:
BTW, my goal is simply to flatten to a single list of files:
I've tried many variations of
.pages
files with this basic structure:or
No matter what I do, including put
.pages
in the sub-folder or parent folder, various forms of globbing and regexes, etc.,flat
has no effect, and I always end up with a nav hierarchy that includes the sub-folder names. I think I'm missing some basic concept, but I can't figure out what it is. I've even tried downgrading to earlier versions of awesome-pages in case the feature broke recently.Can you please help?
The text was updated successfully, but these errors were encountered: