Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
NotificationsYou must be signed in to change notification settings

documentationjs/documentation-theme-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Greenkeeper badge

Circle CICoverage Status

Utilities that help in the process of building theme modulesfor documentation.js.

API

link

Helper used to automatically link items to global JS documentation or to internaldocumentation.

Parameters

  • textString text to potentially link
  • getHref[function] a function that triesto find a URL to point a named link to
  • description

Examples

link('string').url// => 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String'

ReturnsObjectmdast node

formatType

Helper used to format JSDoc-style type definitions into HTML or Markdown.

Parameters

  • nodeObject type object in doctrine style
  • getHreffunction a function that triesto find a URL to point a named link to

Examples

formatType({type:'NameExpression',name:'String'})[0].url// => 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String'

ReturnsArray<Object> array ofmdast syntax trees

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp