Skip to content

azu/documentationjs-markdown-api-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

documentationjs-markdown-api-example

An example for documentationjs + markdown reference.

Update Usage

Automatically, update "Usage" section with documentation result.

npm install
npm run update:docs

Usage

Table of Contents

hello

Return Hello message

Parameters

Examples

hello("john"); // => "Hello, john"

Returns string

updateProp

update property with propertyValue if the propertyName does not exists

Parameters

  • object any
  • propertyName string
  • propertyValue string
  • options {force: boolean} (optional, default {force:false})

Examples

const object = {};
update(object, "key", "value", { force: true })
console.log(object); // { key: "value" }

Myclass

report

report message

Parameters

Changelog

See Releases page.

Running tests

Install devDependencies and Run npm test:

npm test

Contributing

Pull requests and stars are always welcome.

For bugs and feature requests, please create an issue.

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

License

MIT © azu

About

An example for documentationjs + markdown reference.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published