|
|
|
|
|
by rgrau
3166 days ago
|
|
you definitely can do it because the only thing that is in the docsets is a uri starting with https?:// or file:/// . It seems there are some docsets already doing that[1]. Creating your own docsets is dead easy. just a simple sqlite3 file with a single table. You can find an example I hacked myself here[2] (very hackish). It's basically creating a table: create table searchIndex(id INTEGER PRIMARY KEY, name TEXT, type TEXT, path TEXT);
CREATE UNIQUE INDEX anchr ON searchIndex (name, type, path);
And filling it with data: insert into searchIndex(name,type,path) VALUES ('foo','function','https://example.com')
[1]. https://github.com/areina/helm-dash/issues/65 .[2]. https://github.com/kidd/AllegroLisp.docset |
|