12 changed files with 63 additions and 33 deletions
@ -1,6 +1,7 @@ |
|||
import { callable } from './common/utils.ts' |
|||
import MarkdownItClass from './markdownit.ts' |
|||
|
|||
/** @category Main */ |
|||
const MarkdownIt = callable(MarkdownItClass) |
|||
|
|||
export default MarkdownIt |
|||
|
|||
@ -0,0 +1,28 @@ |
|||
export default { |
|||
entryPoints: ['src/index.ts'], |
|||
|
|||
projectDocuments: [ |
|||
'docs/architecture.md', |
|||
'docs/development.md' |
|||
], |
|||
alwaysCreateEntryPointModule: false, |
|||
|
|||
plugin: ['typedoc-plugin-missing-exports'], |
|||
excludeExternals: true, |
|||
placeInternalsInOwningModule: true, |
|||
|
|||
out: 'apidoc', |
|||
includeVersion: true, |
|||
markdownLinkExternal: true, |
|||
sourceLinkExternal: true, |
|||
sourceLinkTemplate: 'https://github.com/markdown-it/markdown-it/blob/{gitRevision:short}/{path}#L{line}', |
|||
navigationLinks: { |
|||
GitHub: 'https://github.com/markdown-it/markdown-it' |
|||
}, |
|||
defaultCategory: 'Plugin API', |
|||
categoryOrder: ['Main', 'Plugin API', 'Development', '*'], |
|||
sort: ['source-order'], |
|||
navigation: { |
|||
includeCategories: true |
|||
} |
|||
} |
|||
@ -1,19 +0,0 @@ |
|||
{ |
|||
"$schema": "https://typedoc.org/schema.json", |
|||
"entryPoints": ["src/index.ts"], |
|||
"plugin": ["typedoc-plugin-missing-exports"], |
|||
"out": "apidoc", |
|||
"includeVersion": true, |
|||
"markdownLinkExternal": true, |
|||
"sourceLinkExternal": true, |
|||
"sourceLinkTemplate": "https://github.com/markdown-it/markdown-it/blob/{gitRevision:short}/{path}#L{line}", |
|||
"navigationLinks": { |
|||
"GitHub": "https://github.com/markdown-it/markdown-it" |
|||
}, |
|||
"defaultCategory": "markdown-it", |
|||
"categoryOrder": ["markdown-it", "*"], |
|||
"sort": ["source-order"], |
|||
"navigation": { |
|||
"includeCategories": true |
|||
} |
|||
} |
|||
Loading…
Reference in new issue