Skip to content
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

Add a global file hierarchy level #4

Open
emirror-de opened this issue Sep 13, 2022 · 0 comments
Open

Add a global file hierarchy level #4

emirror-de opened this issue Sep 13, 2022 · 0 comments
Labels
approved This issue is ready to be worked on enhancement New feature or request
Milestone

Comments

@emirror-de
Copy link
Owner

emirror-de commented Sep 13, 2022

Motivation
Currently only two file hierarchy level exist, modules and pages. If resources need to be shared throughout a whole website, it would be required to either symlink or copy them from another page level. This creates massive overhead in disk space and a significant amount of work for the developer.

Desired solution
Introducing a global file hierarchy level that is automatically shared throughout all pages.

Code examples/public API

pub enum Level {
    Core,
    Module,
    Page,
    Global, // maybe another name would be more appropriate?
}
@emirror-de emirror-de added enhancement New feature or request approved This issue is ready to be worked on labels Sep 13, 2022
@emirror-de emirror-de self-assigned this Sep 13, 2022
@emirror-de emirror-de added this to the v0.5.0 milestone Sep 13, 2022
@emirror-de emirror-de removed their assignment Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved This issue is ready to be worked on enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant