You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a nice default for the name would be user_name/dir where dir is the name of the directory containing the elm.json file, as I think this directory is usually a kind of project name
The potential issue with that is that sometimes the elm app is in a sub-directory of the project. For example, for one of my Elixir/Phoenix app, the elm application is in assets/elm, so the application would be named my/elm
Thinking about this, maybe if the default is no good you would then specify the name in the application.json? I'm just trying to think of what happens in the majority of cases. I think most of the time the elm.json file sits in the root directory which has a kind of application name. But I think we probably need more opinions here.
Another issue is that there are a lot more restrictions on package names that directory names (and the application is transformed to a package before generating the documentation). A lot of characters are forbidden, and a few more rules.
Perhaps we could transform the directory name into something friendly?
The text was updated successfully, but these errors were encountered:
Following from the discussion here:
@rlefevre replied with:
Thinking about this, maybe if the default is no good you would then specify the
name
in the application.json? I'm just trying to think of what happens in the majority of cases. I think most of the time theelm.json
file sits in the root directory which has a kind of application name. But I think we probably need more opinions here.Also from @rlefevre:
Perhaps we could transform the directory name into something friendly?
The text was updated successfully, but these errors were encountered: