Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 1.06 KB

README.md

File metadata and controls

39 lines (33 loc) · 1.06 KB

@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