Skip to content

updateReadme

updateReadme(readmePath, searchPhrase, repoUrl?, split?): Promise<void>

Defined in: readme-tsdoc.js:630

Update README file with auto-generated TypeScript documentation

string

Path to the README file to update

string

The phrase to search for in the README to mark sections for auto-generation

string

Optional repository URL for generating deep links (e.g., ‘https://github.com/vanviegen/readme-tsdoc’)

boolean

When true, generate split documentation with brief overview in main file and details in separate files

Promise<void>