gendocsets | ||
zeal | ||
.gitignore | ||
COPYING | ||
docsets.txt | ||
README.md |
Zeal
zeal
noun
- a feeling of strong eagerness (usually in favor of a person or cause)
- excessive fervor to do something or accomplish some end
- prompt willingness
(from WordNet 3.0)
Zeal is a simple documentation browser inspired by Dash.
How to use
After installing/compiling it you need to download docsets. It can be done automatically by clicking 'Options', 'Docsets', 'Download...'.
You can also put them manually in $HOME/.local/share/zeal/docsets/
(Linux) or C:\Users\[your username]\AppData\Local\zeal\docsets\
(Windows) -- after creating the directory first. Currently there are docsets available from Qt 5 and Python 2.7.3, generated using scripts from gendoctests
directory. They can be also downloaded from Dropbox: (failover in case Google Drive URLs from docsets.txt
stop working.)
- Qt5.tar.bz2 (55M)
- python-2.7.3-docs-html.tar.bz2 (4.3M)
Do tar -jxvf file.tar.bz2
in docsets directory to enable given docset.
You can also use Dash's docsets by putting .docset
directories in the same directory as above.
Binary packages
An Ubuntu PPA is available with Ubuntu Quantal and Precise packages. (Tested only with Quantal - please let me know if the Precise package works.)
Also a 32-bit Windows binary with all dependencies is available to download from Dropbox - zeal.zip (29M).
How to compile
Currently Zeal requires Qt 5.0. To compile it, run qmake
and make
in the zeal
directory.
TODO
- Support for global hotkeys under platforms other than Linux/X11 and Windows (OSX)
- Search enhancements - some ideas:
- Allow selecting subset of docsets to search in.
- Grouping of similar results (like overloaded functions)
- Better docsets formatting (without headers, sidebars etc.)
- More docsets
- Code cleanup
MainWindow::MainWindow
probably should be shorter than 200+ lines.- Refactoring to reuse common code between
ZealDocsetsRegistry
andZealListModel
Creating your own docsets
For creating new docsets, you have three choices of index format supported by Zeal.
ZEAL
format, as generated by scripts ingendocsets
directory. It's essentially a single sqlite table withtype
,name
,path
andparent
columns.DASH
format, which is also similar single table, without theparent
column.- So-called
ZDASH
, which is a more complex Xcode docset format, implemented in Zeal to allow reusing Dash's docsets.
Author of Dash has suggested a "docset exchange programme", allowing Zeal to use one Dash docset in return for each new generated-for-Zeal docset, so it's recommended to use the DASH
format.
Contributions
Any feedback, feature requests, or pull requests are welcome. Before starting to implement anything larger, especially items from the TODO list above, it would be good to contact me at jerzy dot kozera at gmail, to avoid duplicating work.
Please keep in mind I'm not an experienced C++ programmer, so the code quality might be not great.
Also you can send bitcoins to 1Zea1QhPV5CGp8SNMpb2RHUvRrfNhKqGV to encourage development.