Docset
TheDocset class represents a single documentation set in Zeal. It handles loading docset metadata, managing symbols, and performing searches within the docset.
Header
Namespace
Constructor
Docset()
path- The file system path to the docset directory
Validation
isValid()
true if the docset is valid, false otherwise
Metadata Methods
name()
title()
keywords()
version()
revision()
feedUrl()
Path and Resource Methods
path()
documentPath()
icon()
symbolTypeIcon()
symbolType- The type of symbol
indexFileUrl()
Symbol Methods
symbolCounts()
symbolCount()
symbolType- The type of symbol to count
symbols()
symbolType- The type of symbols to retrieve
Search Methods
search()
query- The search query stringtoken- Cancellation token to allow aborting the search
relatedLinks()
url- The URL to find related links for
searchResultUrl()
result- The search result to create a URL for
Base URL Methods
baseUrl()
setBaseUrl()
baseUrl- The base URL to set
Search Settings
isFuzzySearchEnabled()
true if fuzzy search is enabled
setFuzzySearchEnabled()
enabled- Whether to enable fuzzy search
isJavaScriptEnabled()
true if JavaScript is enabled
Public Members
hasUpdate
Related Classes
- SearchResult - Result structure returned by search methods
- DocsetRegistry - Registry for managing multiple docsets