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

Read name from package.json and populate title by default #34

Closed
albinekb opened this issue Jun 13, 2018 · 5 comments
Closed

Read name from package.json and populate title by default #34

albinekb opened this issue Jun 13, 2018 · 5 comments

Comments

@albinekb
Copy link

albinekb commented Jun 13, 2018

Feature Request

It would be nice if the "MyDoc" title defaulted to the name property inside package.json

Describe 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.

@albinekb albinekb changed the title Read name from package.json by default Read name from package.json and populate title by default Jun 13, 2018
@pedronauck
Copy link
Member

Good point @albinekb, I'm thinking about that, but we would need to humanize the app name from package.json and not sure it is a good choice 🤔

@vinyguedess
Copy link

maybe an "camelcasefy" on package name @pedronauck ?

@albinekb
Copy link
Author

albinekb commented Jun 13, 2018

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 repository to automatically link to GitHub etc

@pedronauck
Copy link
Member

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! 🐞
This issue is already on our roadmap, so I'll close this issue in favor of it!

👉🏻 Check this issue on roadmap

@pedronauck
Copy link
Member

Released in the new v0.5.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

3 participants