@openctx/provider-devdocs
TypeScript icon, indicating that this package has built-in type declarations

0.0.13 • Public • Published

DevDocs page context provider for OpenCtx

This is a context provider for OpenCtx that fetches contents from https://devdocs.io/ pages by name for use as context.

Usage

Add the following to your settings in any OpenCtx client:

"openctx.providers": {
    // ...other providers...
    "https://openctx.org/npm/@openctx/provider-devdocs": true,
},

This will use the default documentation sets as used by https://devdocs.io/. To specify the documentation use a configuration like:

"openctx.providers": {
    // ...other providers...
    "https://openctx.org/npm/@openctx/provider-devdocs": {
        "urls": ["https://devdocs.io/go/", "https://devdocs.io/angular~16/"]
    }
},

A URL is any top-level documentation URL on https://devdocs.io/.

Development

Readme

Keywords

none

Package Sidebar

Install

npm i @openctx/provider-devdocs

Weekly Downloads

9

Version

0.0.13

License

Apache-2.0

Unpacked Size

446 kB

Total Files

5

Last publish

Collaborators

  • sqs
  • sourcegraph-bot
  • mualam
  • keegan-src