MkDocs plugin to generate documentation from TypeScript source code using TypeDoc.
Project description
Mkdocs-Typedoc Plugin
The Mkdocs-Typedoc Plugin is designed to integrate TypeDoc documentation with your MkDocs project.
Installation
Install the plugin using pip from PyPI:
pip install mkdocs-typedoc
Ensure that you have Node.js installed in your system. If not, you can download it from the official website.
Also, install TypeDoc using NPM:
npm install typedoc typescript --save-dev
Usage
Add the following lines to your mkdocs.yml:
plugins:
- typedoc:
source: './ts-examples/@types/*.d.ts'
output_dir: 'typedocApi'
tsconfig: './ts-examples/tsconfig.json'
options: 'typedoc.json'
name: 'API Doc'
disable_system_check: False
title_link: "/" # optional, default: '/'
source
(required): The path to your TypeScript source code.output_dir
(optional): The directory where you want to output your docs. Default is "typedoc".tsconfig
(required): The path to the tsconfig file for your project.options
(optional): The path to the typedoc.json options file with more options.name
(optional): The name for the generated documentation. Default is "TypeDoc API".disable_system_check
(optional): Disable the TypeScript system check. Default is False.title_link
(optional): The link from TypeDoc back to the main page. Default is "/".
The plugin will generate TypeDoc documentation into the output directory specified.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Do You Enjoy My Work?
Then you can consider:
License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mkdocs_typedoc-1.0.4.tar.gz
.
File metadata
- Download URL: mkdocs_typedoc-1.0.4.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 839b54c51a64bbb77c1c253eb81baad12462ea5cf38d361e262f5cfa8a45567a |
|
MD5 | 382d749f6b8df7233a90ee89f551886e |
|
BLAKE2b-256 | 4b5aaa639db38633f0608c81ae6fb501e61083b06ee5ff8684e970087773a8aa |
File details
Details for the file mkdocs_typedoc-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: mkdocs_typedoc-1.0.4-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9601d6b04ed4fd5658c7170c58a3a52f584357be2a3c1e39995c6eed3712b1e |
|
MD5 | 10d966ff1e0fc1a6a9f952dc7f81d0bc |
|
BLAKE2b-256 | cabd63f4dc5baec203dfc694f820559b8ad7935546e182ce596f377ea44476dd |