-
-
Notifications
You must be signed in to change notification settings - Fork 723
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
Add npm package version to the documentation #544
Comments
@madoar To my knowledge there is no current feature for this but it sounds like a great idea. As always, PRs are welcome. |
I'm not really into the typedoc codebase. |
Any updates on this? (Maybe stale issue.) A workaround could be to require the package.json in the config.js of typedoc and put the version string to the name option. This requires the config file as JavaScript instead of JSON. Or manipulate the typedoc.json by a script to rewrite the name option. Or you can pass the name option with the dynamic name. But the best way is to add native support for this. |
This hasn't been worked yet, it seems like a good idea though. It seems reasonable to me to change the default name to include the version from package.json, users can always pass in a static name to remove the version if it isn't desired. |
Released in v0.15.6 - TypeDoc now defaults to using the package name and version to construct the name displayed in the documentation. If you just want the package name, you can pass |
I would like to add the version of the library which I'm writing to its documentation, so that an user can easily see if the documentation, that he's currently viewing belongs to the version of the library he's currently using.
Therefore the question: Is it currently possible to add the version of the library, for which you're creating a documentation, to the documentation itself?
If yes, how can this be done? Otherwise is it planned to add such a feature?
The text was updated successfully, but these errors were encountered: