Skip to content
This repository has been archived by the owner on Feb 25, 2022. It is now read-only.

Support mounting of documents #97

Closed
tripodsan opened this issue Jul 8, 2020 · 2 comments · Fixed by #119
Closed

Support mounting of documents #97

tripodsan opened this issue Jul 8, 2020 · 2 comments · Fixed by #119
Assignees
Labels
enhancement New feature or request released

Comments

@tripodsan
Copy link
Contributor

tripodsan commented Jul 8, 2020

Is your feature request related to a problem? Please describe.
It would be cool to be able to mount directly a document, eg:

mountpoints:
  /index.md: https://adobe-my.sharepoint.com/personal/tripod_adobe_com/Documents/helix-content/sub/welcome.docx
  /en: https://adobe-my.sharepoint.com/personal/tripod_adobe_com/Documents/helix-content
  /data.json: https://adobe-my.sharepoint.com/personal/tripod_adobe_com/Documents/helix-content/cars.xlsx

this would allow to un-claim the / subtree and have proper fallbacks for other toplevel elements.
it could even be simplified to:

mountpoints:
 /: https://adobe-my.sharepoint.com/personal/tripod_adobe_com/Documents/helix-content/sub/welcome.docx

which would internally be expanded to the /index.md form. this also has the advantage, that a new helix-pages site only needs 1 document to start with, using a document with an arbitrary name (eg. homepage.docx).

/cc @davidnuescheler @trieloff

@tripodsan tripodsan added the enhancement New feature or request label Jul 8, 2020
@trieloff
Copy link
Contributor

trieloff commented Jul 8, 2020

I like this better than all previous ideas we had for fallbacks.

@trieloff
Copy link
Contributor

🎉 This issue has been resolved in version 1.12.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants