Flask Docs Workflow for Alfred
Search the Flask documentation using Alfred.
Installation
- Download the latest version
- Install the workflow by double-clicking the
.alfredworkflow
file - You can add the workflow to a category, then click "Import" to finish importing. You'll now see the workflow listed in the left sidebar of your Workflows preferences pane.
Usage
Just type flask
followed by your search query.
flask jsonify
Either press ⌘Y
to Quick Look the result, or press <enter>
to open it in your web browser.
Changing Branches
The workflow supports searching the documentation all the active branches, that is v0.12
, v1
, v1.1
, and v2
.
By default, it searches the v2
branch. To search branch v1.1
simply type v1.1
anywhere in your query, like so:
flask jsonify v1.1
Note
Built using Alfred-Workflow. The lightning fast search is powered by Algolia which was generous enough to hand me a big enough plan for all these Alfred Workflows. A big thank you to @redox from @algolia :innocent: :beers: :heart:
The index for Algolia was compiled from the Flask Sphinx HTML documentation using a simple Python script I wrote.