Coder Social home page Coder Social logo

yookue / typedoc-theme-dumi Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 324 KB

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

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

License: MIT License

Less 28.17% TypeScript 71.83%
dumi typedoc-theme

typedoc-theme-dumi's Introduction

@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

typedoc-theme-dumi's People

Contributors

yookue avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.