@devlander/typedoc-theme
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

@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-dev

Yarn

yarn add @devlander/typedoc-theme --dev

Usage

To use @devlander/typedoc-theme as your theme in a TypeDoc project, follow these steps:

  1. 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
    }
  2. 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
  3. View 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.

Readme

Keywords

Package Sidebar

Install

npm i @devlander/typedoc-theme

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

4.38 kB

Total Files

3

Last publish

Collaborators

  • landonwjohnson