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