-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Read name from package.json and populate title by default #34
Comments
Good point @albinekb, I'm thinking about that, but we would need to humanize the app name from |
maybe an "camelcasefy" on package name @pedronauck ? |
Maybe we could send the whole package.json to the theme in some way, maybe a helper to fetch it in some way. If we could do that themes could use data from package.json to display version, name (with or without humanise), pick up |
To facilitate user feedbacks and make a really good roadmap, now we're using Canny as a tool to create our roadmap 😍 We think that is better keep Github issues only for bugs and other issues! 🐞 👉🏻 Check this issue on roadmap |
Released in the new v0.5.0 🚀 |
Feature Request
It would be nice if the "MyDoc" title defaulted to the
name
property inside package.jsonDescribe the solution you'd like
Read package.json name and populate title
Describe alternatives you've considered
Maybe creating a theme that does this? 🤔
Teachability, Documentation, Adoption, Migration Strategy
the config file and other ways to set the title should overwrite this, reading name from package.json should probably only be done if there's no
title
configured. This would make it more zero-config than it is right now.The text was updated successfully, but these errors were encountered: