zeal/README.md

68 lines
3.3 KiB
Markdown
Raw Normal View History

2013-01-20 05:49:25 +04:00
# Zeal
**zeal**
*noun*
1. a feeling of strong eagerness (usually in favor of a person or cause)
2. excessive fervor to do something or accomplish some end
3. prompt willingness
(from WordNet 3.0)
2013-02-01 00:01:03 +04:00
Zeal is a simple documentation browser inspired by [Dash](http://kapeli.com/dash/).
2013-01-20 05:49:25 +04:00
![Screenshot](http://i.imgur.com/SiLvpz8.png)
2013-03-21 04:48:20 +04:00
[More screenshots (imgur)](http://imgur.com/a/eVi97)
2013-03-30 18:45:30 +04:00
## Download
For details about binary packages (currently available for Windows and Ubuntu) see [downloads page](http://zealdocs.org/download.html).
2013-01-20 05:49:25 +04:00
## How to use
After installing/compiling it you need to download docsets. It can be done automatically by clicking 'Edit', 'Options', 'Docsets', 'Download...'.
2013-03-07 02:50:11 +04:00
Currently there are docsets available from Django, jQuery, Ruby 1 and 2 [1], Appcelerator Titanium, ExtJS 4.1, Python 2.7.3, Sencha Touch 2.1, Qt 5 [2].
2013-01-20 05:49:25 +04:00
2013-03-17 04:26:18 +04:00
[1] thanks to Dash's [docset exchange programme](https://github.com/jkozera/zeal/issues/1#issuecomment-13357189)
[2] generated using scripts from `gendoctests` directory
2013-01-20 05:49:25 +04:00
2013-03-17 04:26:18 +04:00
You can also use Dash's docsets by putting `.docset` directories in `$HOME/.local/share/zeal/docsets/` (Linux) or `C:\Users\[your username]\AppData\Local\zeal\docsets\` (Windows).
2013-02-01 00:01:03 +04:00
2013-03-07 02:50:11 +04:00
## How to compile
2013-03-30 18:45:30 +04:00
If you prefer to compile Zeal manually, currently it requires Qt 5.0. To compile it, run `qmake` and `make` in the `zeal` directory.
2013-03-07 02:50:11 +04:00
2013-01-20 05:49:25 +04:00
## TODO
* Support for global hotkeys under platforms other than Linux/X11 and Windows (OSX)
2013-01-20 05:49:25 +04:00
* Search enhancements - some ideas:
1. Allow selecting subset of docsets to search in.
2013-02-01 00:01:03 +04:00
2. Grouping of similar results (like overloaded functions)
3. Better docsets formatting (without headers, sidebars etc.)
* More docsets
2013-03-07 02:50:11 +04:00
* Code cleanup
* `MainWindow::MainWindow` probably should be shorter than 200+ lines.
* Refactoring to reuse common code between `ZealDocsetsRegistry` and `ZealListModel`
2013-01-20 05:49:25 +04:00
2013-02-10 23:00:17 +04:00
## Creating your own docsets
For creating new docsets, you have three choices of index format supported by Zeal.
1. `ZEAL` format, as generated by scripts in `gendocsets/{python273,qt5}` directories. It's essentially a single sqlite table with `type`, `name`, `path` and `parent` columns.
2013-02-10 23:00:17 +04:00
2. `DASH` format, which is also similar single table, without the `parent` column.
3. 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](https://github.com/jkozera/zeal/issues/1#issuecomment-13357189) 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.
2013-01-20 05:49:25 +04:00
2013-05-24 23:56:21 +04:00
## Contributions / Project Status
2013-01-20 05:49:25 +04:00
2013-05-24 23:56:21 +04:00
Any feedback, feature requests, or pull requests are welcome. However the project is not under active development at the moment, so unless someone is interested in contributing code, no new features are expected.
2013-01-20 05:49:25 +04:00
2013-05-24 23:56:21 +04:00
I'm going to continue updating docsets that are part of Dash/Zeal exchange programme, and try to fix critical stability/compatibility issues if any arise, to keep the project somewhat alive, but will not implement new features in foreseeable future. Anyway, I should be able to review pull requests.
2013-02-08 05:13:53 +04:00
2013-05-24 23:56:21 +04:00
Please keep in mind I'm not an experienced C++ programmer, so the code quality might be not great.
2013-02-08 05:13:53 +04:00
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/jkozera/zeal/trend.png)](https://bitdeli.com/free "Bitdeli Badge")