• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

dteoh/devdocs-macos: An unofficial DevDocs API Documentation viewer for macOS.

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

dteoh/devdocs-macos

开源软件地址(OpenSource Url):

https://github.com/dteoh/devdocs-macos

开源编程语言(OpenSource Language):

Swift 78.2%

开源软件介绍(OpenSource Introduction):

DevDocs for macOS

Release Release Date

An unofficial DevDocs API Documentation viewer for macOS.

App screenshot

Features

  • Tabs
  • Global shortcut (Option + Space), customizable
  • Automatic dark/light mode UI
  • Protocol handler integration (handle devdocs-macos://, http://, and https:// URLs)
  • Page search (Cmd + F)

Protocol handler integration

Protocol handler integration allows you to control DevDocs through scripts. For example:

$ osascript -e 'tell application "DevDocs" to open location "devdocs-macos://search?doc=rails&term=stro"'

... will tell DevDocs to open a new window and search the Rails documentation for the term stro.

The app supports the following commands. When required parameters are not supplied, the command is ignored.

devdocs-macos://search

This is for launching a search query in a new window.

Query Parameter Required Description
term Yes The search term, eg. stro
doc No Documentation scope, eg. rails

devdocs-macos://newWindow

This opens a new window.

http:// and https://

DevDocs will open a new window only for URLs on the devdocs.io domain. For example:

$ osascript -e 'tell application "DevDocs" to open location "https://devdocs.io/#q=rails+stro"'

Other domains are ignored.

Download & Install

Pre-built binaries can be downloaded from the releases page.

Unzip, drag the app to Applications, and then run it.

Homebrew

If you wish to install the application from Homebrew:

$ brew install --cask dteoh-devdocs

The application will live at /Applications/DevDocs.app.

Migrating from project tap to the default tap

The application had a tap maintained by the project. To migrate to the default tap:

$ brew cask uninstall devdocs-macos
$ brew untap dteoh/devdocs
$ brew cask install dteoh-devdocs

Compatibility

The app is currently developed on Big Sur and only support for Big Sur can be provided.

If you are using Mojave (10.14) or Catalina (10.15), please use version 0.5.2.

License

DevDocs for macOS

Copyright (C) 2021 Douglas Teoh

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

App Icon

The app icon is a contribution courtesy of @mickimnet (#1, #42).




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap