This package provides a custom theme for generating documentation using TypeDoc.
Ensure you have Node.js (version >= 14) and npm (or Yarn) installed.
npm install @devlander/typedoc-theme --save-dev
yarn add @devlander/typedoc-theme --dev
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-theme
as 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-theme
If you have a script defined in
package.json
:npm run docs
Or with Yarn:
yarn docs
-
View Documentation
Once generated, your documentation will be available in the specified output directory (default is
docs/
).
-
theme (required): Specify
"@devlander/typedoc-theme"
as the theme in your TypeDoc configuration file (typedoc.json
).
Here's a basic example of a typedoc.json
configuration using @devlander/typedoc-theme
:
{
"theme": "@devlander/typedoc-theme",
"out": "docs/",
"exclude": ["node_modules/**/*"]
}
This package is licensed under the MIT License.