Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@wixc3/docs

Package Overview
Dependencies
Maintainers
85
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wixc3/docs

API

  • 3.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
29
decreased by-32.56%
Maintainers
85
Weekly downloads
 
Created
Source

npm version @wixc3/docs on Github

Home > @wixc3/docs

docs package

Tool + CLI for docs generation from TSDocs

Remarks

Templates

Site pages includes the following templates from docs-config:

  • index.md - main page header

  • package.md - packages root page header

  • item.md - header for other files

Macros

There are many awesome macros you can use in your TDDocs. Using macros look like this \[[[macro and args]]]

Available macros are:

  • [[[gitRepo]]]
  • [[[github]]]
  • [[[githubBuildStatus]]]
  • [[[githubPages]]]
  • [[[h]]]
  • [[[include]]]
  • [[[listMacros]]]
  • [[[npmBadge]]]
  • [[[packageName]]]
  • [[[packageNameUrl]]]
  • [[[rootPackageName]]]
  • [[[unscopedPackageName]]]

Example 1

Generate automatically updated github pages
yarn add @wixc3/docs
yarn docs init
git push

Example 2

Build documentation locally
yarn docs build

Example 3

Generate README.md in all packages (after docs build)
yarn docs readme

Functions

FunctionDescription
buildDocs(conf, skipAnalyze, macros)Build docs markdown
cli()
createReadme(conf, siteUrl)
init(config, force, overrideOrigin)

Initialize docs pre-requisites:

- Adds api-extractor.json to packages

- Adds git pages action

- Creates configs and templates in docs-config

FAQs

Package last updated on 02 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc