Read name from package.json and populate title by default
See original GitHub issueFeature 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.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
package.json - npm Docs
Description. This document is all you need to know about what's required in your package.json file. It must be actual JSON, not just...
Read more >Getting name property from package.json with NodeJS
I had a similar issue. As a solution, you should add a custom typing i.e. json-loader.d.ts with the content declare module "*.json" {...
Read more >package.json | pnpm
For instance, the following package.json in a workspace will create a symlink to button in the node_modules directory of card : { "name":...
Read more >Manifest (package.json) - Deskpro Apps
This is what administrators will see when installing and configuring the app; and by default, this title that is displayed in the title...
Read more >The MERN stack tutorial - LogRocket Blog
Learn all about the MERN stack in this step-by-step guide on how to use it by developing a simple CRUD application from scratch....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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 etcReleased in the new v0.5.0 🚀