1.0.0 • Published 3 years ago

dash-webgen v1.0.0

Weekly downloads
10
License
MIT
Repository
github
Last release
3 years ago

dash-webgen

Generate a simple docset in Dash that just links to a URL.

Dash is a fantastic macOS app for browsing API documentation. Unfortunately not all documentation is supported yet which may cause you to frequently switch between the Dash app and your web browser.

This CLI lets you create a simple docset in Dash that just links to a URL. You can then use Dash as a basic web browser for reading that site. Searching and filtering won't work but it allows you to view all your documentation in one place: Dash.

  1. Generate and install a new docset by running npx dash-webgen and providing a name and a url. Examples:
npx dash-webgen --name "React Bootstrap" --url https://react-bootstrap.github.io
npx dash-webgen --name "AWS Amplify" --url https://docs.amplify.aws/lib/q/platform/js
  1. Tell Dash to rescan it's docsets:
Dash -> Preferences -> Docsets -> Rescan
  1. If you want to remove the docset later do this:
  • Delete the directory ~/Library/Application Support/Dash/DocSets/${DOCSET_NAME}
  • Dash -> Preferences -> Docsets -> ${DOCSET_NAME} -> Remove
1.0.0

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago