Django Docs Workflow for Alfred
Search the Django 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 dj
followed by your search query.
dj FormView
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 of all the currently officially supported branches.
By default, it searches the latest stable branch. To search branch 2.2
or 1.11
simply type v2.2
or v1.11
anywhere in your query, like so:
dj v1.11 as_p
Note
Built using Alfred-Workflow. The lightning fast search is powered by Algolia which was generous enough to hand me a big enough plan to fit all the indices for the officially supported Django documentation versions. A big thank you to @redox from @algolia :innocent: :beers: :heart:
The index for Algolia was compiled from the zipped Django HTML documentation using a simple Python script I wrote.