Docset Format
Zeal is compatible with Dash docsets, which are structured bundles containing:- HTML documentation files
- SQLite database for search indexing
- Metadata and icons
- Configuration files
Docset Structure
A typical docset has the following structure:Supported Database Formats
Zeal supports two docset database formats:- Dash Format
- ZDash Format
Standard Dash format using the
searchIndex table:Most publicly available docsets use this format.
Creating Docsets
To create your own docsets, follow the official Dash Docset Generation Guide:Dash Docset Generation Guide
Complete guide to creating Dash-compatible docsets
- Setting up the docset structure
- Generating the search index
- Creating the Info.plist configuration
- Adding icons and metadata
Quick Start
-
Create the directory structure:
-
Add your HTML documentation to the
Documents/folder -
Create the Info.plist file:
-
Create the SQLite index:
-
Optional: Add metadata (meta.json):
Info.plist Configuration
Required Keys
Display name of the docset
Unique identifier for the docset
Optional Keys
Primary keyword for filtering searchesExample:
python, javascript, javaAdditional keyword for search filtering
Plugin-specific keyword
Path to the index file relative to Documents/Example:
index.htmlEnable JavaScript execution in documentation pages
Family classification (e.g.,
cheatsheet, dashtoc)Entry Types
Zeal recognizes the following entry types in the search index:Common Types
Common Types
ClassMethodFunctionConstantPropertyTypeVariable
Object-Oriented
Object-Oriented
ConstructorAttributeInterfaceProtocolStructEnumeration
Documentation
Documentation
GuideCategorySection
Other
Other
MacroEventFieldOperatorNamespaceBinding
Zeal normalizes type aliases automatically. For example,
func, clm, and instm are all mapped to their standard equivalents.Docset Storage
Zeal stores docsets in a platform-specific location:- Linux
- Windows
- macOS
- Portable
docsets.path.
Installing Docsets
There are several ways to install docsets:Via Zeal GUI
- Go to Tools → Docsets
- Select docsets from the available list
- Click Download
Manual Installation
- Download or create a
.docsetbundle - Copy it to the docset storage directory
- Restart Zeal or reload docsets
From User Contributions
The Zeal community maintains additional docsets at:Zeal User Contributions
Community-contributed docsets compatible with Zeal
Testing Your Docset
- Copy your
.docsetbundle to the docset storage directory - Restart Zeal
- Verify the docset appears in the sidebar
- Test search functionality
- Check that icons and metadata display correctly
Troubleshooting
Docset not appearing
Docset not appearing
- Verify the directory structure is correct
- Check that
Info.plistis valid XML - Ensure
docSet.dsidxexists and is a valid SQLite database - Check Zeal’s logs for errors
Search not working
Search not working
- Verify the
searchIndextable exists - Check that entries have non-empty names and paths
- Ensure the index is properly created
- Rebuild the database if needed
Icon not showing
Icon not showing
- Ensure
icon.pngis in the root of the.docsetbundle - Try different image formats (PNG is preferred)
- Check file permissions
Advanced Features
URL Fragments
For the ZDash format, you can specify URL fragments for more precise linking:Keywords
Support multiple search keywords by adding them tometa.json:
Custom Index File
Specify a custom index page inmeta.json:
For more details on the docset format and advanced features, refer to the official Dash documentation.