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

"Standard" way to overload assets path #36

Open
ggrossetie opened this issue Mar 11, 2015 · 2 comments
Open

"Standard" way to overload assets path #36

ggrossetie opened this issue Mar 11, 2015 · 2 comments

Comments

@ggrossetie
Copy link
Member

When using extension(.js) in the chrome extension, assets are stored within the extension package and the URL is chrome-extension://<EXTENSION_ID>/.

I think it would be nice to have a standard way to overload assets path.

@ggrossetie
Copy link
Member Author

Maybe stylesdir will do the trick... I will give it a try

@mojavelinux
Copy link
Member

That may work for now, but we should have a more semantic way of doing this. I like assetsdir. This is fairly similar to this issue: asciidoctor/asciidoctor#659

This complements a discussion I had with Andres at JavaLand about having a mediadir that is the root of media elements and then having specific types, like images, use a relative path from there. That would allow images, videos and audio to be in different folders, same as icons are now (except icons are assumed to be under images, which may not be what we want). Clearly, we need to design the behavior that is ideal and work to integrate it into core (maybe for 1.6.0?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants