github | A link to the package on github Usage: inside a ts-docs comment block: [[[github caption?]]]
|
githubBuildStatus | A github build status badge Usage: inside a ts-docs comment block: [[[githubBuildStatus]]]
|
githubPages | A link to the project's github pages Usage: inside a ts-docs comment block: [[[githubPages uri? caption?]]]
where uri can be an inner page if caption is provided a markdown link will be created, otherwise the raw root URL will replace the macro |
gitRepo | Project's current package name, in a url friendly format Usage: inside a ts-docs comment block: [[[gitRepo field?]]]
where field can be: host | org | repo | pages | github |
h | Heading - since ts-docs to not natively allow for markdown formatting, this macro is used to create a #, ##, ## etc Usage: inside a ts-docs comment block: [[[h level title]]]
|
include | Include another markdown file (that may also have macros) Usage: inside a ts-docs comment block: [[[include path]]]
|
listMacros | Lists all the available macros Usage: inside a ts-docs comment block: [[[listMacros]]]
|
npmBadge | A npm version badge Usage: inside a ts-docs comment block: [[[npmBadge]]]
|
packageName | Project's current package name Usage: inside a ts-docs comment block of a package: @wixc3/docs
Will be replace by the full package name, i.e @wixc3/docs-macros |
packageNameUrl | Project's current package name, in a url friendly format Usage: inside a ts-docs comment block of a package: [[[packageNameUrl]]]
This is useful for generating links and badges |
rootPackageName | Project's root package name Usage: inside a ts-docs comment block: [[[rootPackageName]]]
|
unscopedPackageName | Project's current package name, unscoped Usage: inside a ts-docs comment block of a package: *docs Will be replace by the full package name, i.e bla for @wixc3/bla |