0.1.6 • Published 5 months ago

@yookue/typedoc-theme-dumi v0.1.6

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

@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 NameValue TypeDescription
logoImagestringThe logo image source
logoWidthnumberThe logo image width, in px
logoHeightnumberThe logo image height, in px
logoTitlestringThe caption for the logo, could be different from the project name, NOT the tip
navigationLinkTargetsRecord<string, string>The targets of the navigation links, key is the label of navigationLinks prop
sidebarLinkTargetsRecord<string, string>The targets of the sidebar links, key is the label of sidebarLinks prop
preventModulesLinkbooleanWhether to prevent the interaction of the modules link
hideIndexContentTitlebooleanWhether to hide the content title from the index page
footerAlignstringThe alignment of the footer, the available values are left, center, right

Document

Thanks

License

This project is under the MIT License.

Website

0.1.6

5 months ago

0.3.0

6 months ago

0.2.2

8 months ago

0.1.5

8 months ago

0.1.4

8 months ago

0.1.3

8 months ago

0.2.1

8 months ago

0.2.0

12 months ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago