Comments (3)
Thanks for this amazingly useful plugin, I have no idea how it works, but happy to contribute once I understand how that could be done.
You're welcome! It's not too complex, most of the work is done by Alfred. What this workflow does is to look through some sort of index of documentation sites (e.g. a /docs
folder in a GitHub repo) and re-format the list of files into a JSON file that Alfred understands. In most cases, this is less than 40 lines of code per documentation site. See for example the script fetching eslint
docs sites from the eslint
repo.
Those scripts do not need to be written in JavaScript, any language that outputs stringified JSON works. Though, it should be languages for which binaries are pre-installed on Mac, as this would otherwise introduce extra dependencies for this workflow to work. (Effectively, this means Python, JXA (Apple-flavored JavaScript), and Ruby I believe.)
Since I am not familiar with Kotlin, I'd refrain from creating the docs-search for it myself anyway, so you are welcome to add it! :)
from alfred-docs-searches.
I am going to close this since this issue is not actionable – however, you are nonetheless still welcome to contribute, as outlined above.
from alfred-docs-searches.
With version 2.0, this workflow has been overhauled to include all devdocs, meaning Kotlin is now supported.
from alfred-docs-searches.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alfred-docs-searches.