Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zamiell/typedoc-plugin-rename
https://github.com/zamiell/typedoc-plugin-rename
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zamiell/typedoc-plugin-rename
- Owner: Zamiell
- License: mit
- Created: 2022-08-16T00:54:31.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-27T13:53:03.000Z (4 months ago)
- Last Synced: 2024-11-09T20:08:00.011Z (3 months ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# typedoc-plugin-rename
## What is this?
This is a plugin for [TypeDoc](https://typedoc.org/) that grants the ability to rename things with the `@rename` JSDoc tag.
For example:
```ts
/**
* This is a function that does wonderful things.
*
* @rename bar
*/
function foo() {}
```In the generated documentation, this function would now appear as "bar" instead of "foo".
This kind of thing is useful in situations where your internal variable names do not line up with the names that your end-users will actually import in their code.
## Install
With npm:
```sh
npm install typedoc-plugin-rename --save-dev
```With yarn:
```sh
yarn add typedoc-plugin-rename --dev
```## Usage
When executing TypeDoc (with e.g. `npx typedoc`), it will automatically load the plugin (unless you have the "plugin" field explicitly specified in your "typedoc.json" config file).
## Credits
This plugin was originally created by [Gerrit Birkeland](https://github.com/Gerrit0), the creator of TypeDoc.