yookue / typedoc-theme-dumi

Dumi theme for typedoc, maybe the most beautiful typedoc theme on Mars

Home Page:https://yookue.github.io/typedoc-theme-dumi/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@yookue/typedoc-theme-dumi

NPM version Software License NPM downloads

πŸ… Dumi theme for typedoc, maybe the most beautiful typedoc theme on Mars 😁

Features

βœ… Look and feel just like dumi

βœ… Supports extra logo image

βœ… Supports extra logo title

βœ… Supports specifying targets of the navigation links

βœ… Supports specifying targets of the sidebar links

βœ… Supports preventing the interaction of the modules link

βœ… Supports hiding the content title from the index page

βœ… Supports specifying alignment of the footer

Demo

πŸ–ΌοΈ The live example of this theme is here: https://yookue.github.io/typedoc-theme-dumi

Snapshot

snapshot

Quickstart

You can install this package in your typescript project as follows:

$ npm install @yookue/typedoc-theme-dumi --save-dev

Enjoy your coding journey with typedoc-theme-dumi ✌️

Usage

  • Using in command line
$ typedoc [TARGET] --plugin @yookue/typedoc-theme-dumi --theme dumi
  • Using in typedoc.json
{
    "plugin": [
        "@yookue/typedoc-theme-dumi"
    ],
    "theme": "dumi"
}

Options

Here are the available options, could be used in typedoc.json:

Option Name Value Type Description
logoImage string The logo image source
logoWidth number The logo image width, in px
logoHeight number The logo image height, in px
logoTitle string The caption for the logo, could be different from the project name, NOT the tip
navigationLinkTargets Record<string, string> The targets of the navigation links, key is the label of navigationLinks prop
sidebarLinkTargets Record<string, string> The targets of the sidebar links, key is the label of sidebarLinks prop
preventModulesLink boolean Whether to prevent the interaction of the modules link
hideIndexContentTitle boolean Whether to hide the content title from the index page
footerAlign string The alignment of the footer, the available values are left, center, right

Document

Thanks

License

This project is under the MIT License.

Website

About

Dumi theme for typedoc, maybe the most beautiful typedoc theme on Mars

https://yookue.github.io/typedoc-theme-dumi/

License:MIT License


Languages

Language:TypeScript 71.8%Language:Less 28.2%