@devlander/typedoc-theme
v0.1.0
Published
## Description
Readme
@devlander/typedoc-theme
Description
This package provides a custom theme for generating documentation using TypeDoc.
Installation
Ensure you have Node.js (version >= 14) and npm (or Yarn) installed.
npm
npm install @devlander/typedoc-theme --save-devYarn
yarn add @devlander/typedoc-theme --devUsage
To use @devlander/typedoc-theme as your theme in a TypeDoc project, follow these steps:
Configure TypeDoc
Ensure your TypeDoc configuration (
typedoc.json) specifies@devlander/typedoc-themeas the theme:{ "theme": "@devlander/typedoc-theme" // Add other TypeDoc options as needed }Generate Documentation
Run TypeDoc to generate documentation using the configured theme:
npx typedoc --theme @devlander/typedoc-themeIf you have a script defined in
package.json:npm run docsOr with Yarn:
yarn docsView Documentation
Once generated, your documentation will be available in the specified output directory (default is
docs/).
Configuration
Options
- theme (required): Specify
"@devlander/typedoc-theme"as the theme in your TypeDoc configuration file (typedoc.json).
Example
Here's a basic example of a typedoc.json configuration using @devlander/typedoc-theme:
{
"theme": "@devlander/typedoc-theme",
"out": "docs/",
"exclude": ["node_modules/**/*"]
}License
This package is licensed under the MIT License.
