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
tile_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.tile_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.3.tar.gz
.
File metadata
- Download URL: mkdocs_typedoc-1.0.3.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 | 0e70ca433300f2a6be9403b2690bd3e9de4165c83f357f8d40302e6087a56af6 |
|
MD5 | cb5d99cfcb8cd0b4fbedc34d85bb88f6 |
|
BLAKE2b-256 | 5762b3cc490bac4f079c3bd5e8d544f0dc2a5ecacafe2f770b3c23e8dfff5593 |
File details
Details for the file mkdocs_typedoc-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: mkdocs_typedoc-1.0.3-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 | cc0833ba1feb2bf5ed55c327e08bb45c6cd747c9f989868d07f841e11e03f0ec |
|
MD5 | d14bbec6a463a1cb259a42f82899c5eb |
|
BLAKE2b-256 | cd0218efda3cf8725f3f66850b7fc7553366451516bebf1d49ac46d5c72ee5d8 |