Skip to content

A simple and opinionated TypeScript docs generator

Notifications You must be signed in to change notification settings

albizures/vyke-tsdocs

Repository files navigation

@vyke/tsdocs

A simple and opinionated TypeScript docs generator designed to effortlessly create comprehensive API documentation for your TypeScript projects. Embracing a straightforward approach, this tool leverages JSDoc annotations within your codebase, automating the process of generating clear, organized, and easily navigable documentation for your APIs.

Installation

npm i @vyke/tsdocs -D

Add a script to your package.json for easy execution:

{
	"scripts": {
		"generate-docs": "tsdocs"
	}
}

Make sure you have a API section in your README.md file

<!-- README.md -->
 ## API

API

generateApi

Generates api docs base on the jsdocs on the exports functions

replaceApiSection

Replace the old api section with the given one

Others vyke projects