Socket
Socket
Sign inDemoInstall

docsify-tools

Package Overview
Dependencies
69
Maintainers
7
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    docsify-tools

Quickly document your (typescript or otherwise) projects!


Version published
Weekly downloads
3.4K
decreased by-2.17%
Maintainers
7
Install size
6.24 MB
Created
Weekly downloads
 

Readme

Source

docsify-tools

Quickly document your (typescript or otherwise) projects!

  • docsify-init provides a client-side Docsify based markdown documentation site with full text search
  • generate-ts-doc generates markdown documentation from api-extractor api.json files
  • docsify-auto-sidebar automatically populates the sidebar from the resulting docs tree

docsify-init

Usage:

docsify-init [-r repoDir] [-d docsDir]

Initializes docsify in the specified repo and docs sub-directory. By default, the repo is the current directory and the subdirectory is "docs".

You can use docsify-init -r . -d . to initialize in a pure-documentation repo.

docsify-auto-sidebar

Usage:

docsify-auto-sidebar -d docs

Generates a new _sidebar.md for docsify. You can prefix directories with a number and a dash to control the ordering, the number and dash will not appear in the sidebar text. For example:

1-Guides
2-API

will result with "Guides" and "API" items in the sidebar.

Other dashes will be replaced with spaces

generate-ts-doc

Like api-documenter, but it doesn't generate separate files for methods or properties. Create the .api.json files in a directory (e.g. in docs/2-API) and then run it:

generate-ts-doc markdown -i docs/2-API -o docs/2-API

Notes

Don't forget to setup your repo so that github generates a documentation site

FAQs

Last updated on 20 Mar 2020

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc