Skip to content

Commit

Permalink
Implemented better support for Dash. Closes tomaz#217.
Browse files Browse the repository at this point in the history
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
tomaz committed May 18, 2012
1 parent 32782c9 commit 308c923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Application/GBApplicationSettingsProvider.m
Original file line number Diff line number Diff line change
Expand Up @@ -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 - http://kapeli.com/dash/
self.docsetPublisherIdentifier = [NSString stringWithFormat:@"%@.documentation", kGBTemplatePlaceholderCompanyID];
self.docsetPublisherName = [NSString stringWithFormat:@"%@", kGBTemplatePlaceholderCompany];
self.docsetCopyrightMessage = [NSString stringWithFormat:@"Copyright © %@ %@. All rights reserved.", kGBTemplatePlaceholderYear, kGBTemplatePlaceholderCompany];
Expand Down

0 comments on commit 308c923

Please sign in to comment.