项目作者: uesteibar

项目描述 :
(UNSUPPORTED) Get docs right in your hyper terminal.
高级语言: JavaScript
项目地址: git://github.com/uesteibar/hyperdocs.git
创建时间: 2017-04-09T15:45:05Z
项目社区:https://github.com/uesteibar/hyperdocs

开源协议:Other

下载


hyperdocs

Standard Version
npm version
Code Climate
npm

Get docs right in your hyper terminal.

demo

Install

Asuming you alredy use hyper and hpm] (If you don’t, please, go check them out)

  1. hpm install hyperdocs

else, add it to your ~/.hyper.js file

  1. plugins: ['hyperdocs']

Enjoy =)

Usage

  1. hyperdocs {language or framework}

for example:

  1. hyperdocs react

If the documentation is found, it will open it right away. If it’s not, it will open a duckduckgo search instead (currently broken due to duckduckgo not allowing to be shown in an iframe anymore #14).

Running locally

Go to your hyper plugins folder

  1. cd ~/.hyper_plugins/local

Clone the repository

  1. git clone --depth=1 git@github.com:uesteibar/hyperdocs.git

Install dependencies

  1. cd hyperdocs
  2. npm install

Add to your .hyper.js file

  1. localPlugins: ['hyperdocs']

Every time you make a change, you have to

  1. npm run build

and refresh your hyper terminal.

Contributing

Pull request are welcome to add more docs =)
Just add the urls to src/constants/urls.js.

The project uses [standard-version][standard-version] to update the [CHANGELOG][] with each commit message and upgrade the package version. For that reason every contribution should have a title and body that follows the [conventional-changelog-standard][] conventions.

So this is a step by step guide to contributing to the project (mostly extracted from the [standard-version][standard-version] docs):

  1. when you land commits on your master branch, select the Rebase and Merge option.
  2. add a title and body that follows the [conventional-changelog-standard conventions][conventional-changelog-standard].
  3. when you’re ready to release a new version:
    1. git checkout master; git pull origin master
    2. run npm run release

Helpers/Tools

Maintainers