Browse files

Implemented better support for Dash. Closes #217.

Dash can take advantage of appledoc generated documentation sets by displaying TOC and click to copy. To be able to do so, it requires `--docset--platform-family` value to be `appledoc`. Current documentation set reference doesn't mention this key anymore, so it seems safe to hijack it. If this isn't desired, you can still revert to empty string or whichever value you want by explicitly using the cmd line switch (of course, you can also do it inside project or global settings plist files).
  • Loading branch information...
1 parent 32782c9 commit 308c92383d0118bb6aeda580414e493e328f2f53 @tomaz committed May 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Application/GBApplicationSettingsProvider.m
@@ -123,7 +123,7 @@ - (id)init {
self.docsetFeedURL = @"";
self.docsetPackageURL = @"";
self.docsetMinimumXcodeVersion = @"3.0";
- self.docsetPlatformFamily = @"";
+ self.docsetPlatformFamily = @"appledoc"; // this makes docset TOC usable from within Dash -
self.docsetPublisherIdentifier = [NSString stringWithFormat:@"%@.documentation", kGBTemplatePlaceholderCompanyID];
self.docsetPublisherName = [NSString stringWithFormat:@"%@", kGBTemplatePlaceholderCompany];
self.docsetCopyrightMessage = [NSString stringWithFormat:@"Copyright © %@ %@. All rights reserved.", kGBTemplatePlaceholderYear, kGBTemplatePlaceholderCompany];

0 comments on commit 308c923

Please sign in to comment.