Skip to content

orviwan/typedoc-md-theme

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typedoc-md-theme

A simple markdown theme for typedoc.

Credits

This theme is based on a similar theme by kimamula: typedoc-markdown-theme I only developed this one because the original seems to be a bit out of date, and because I want to customize it for my own needs.

Installation

npm install --save-dev typedoc-md-theme

Usage

node_modules/typedoc-md-theme/bin/typedoc --options typedoc.json --source src

Note that bin/typedoc its not the typedoc cli itself, but a node script wrapper that leverages the typedoc api. This is a workaround for modifying typedoc's theming code in order to get correct md extensions and link urls.

Sample typedoc.json

{
  "theme": "node_modules/typedoc-md-theme/bin",
  "mode": "modules",
  "moduleResolution": "node",
  "tsconfig": "tsconfig.json",
  "includeDeclarations": true,
  "ignoreCompilerErrors": true,
  "excludePrivate": true,
  "excludeExternals": true,
  "out": "docs/markdown"
}

About

A simple markdown theme for typedoc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 58.0%
  • JavaScript 29.4%
  • TypeScript 12.6%