Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xamarin/macdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremie Laval <jeremie.laval@gmail.com>2012-03-14 20:23:23 +0400
committerJeremie Laval <jeremie.laval@gmail.com>2012-03-14 20:23:23 +0400
commit26e0f6b0fbe42bbaf98c9cbd013603d816c58377 (patch)
tree98cc3ca74a5b40a66db2d9427ddf7e3cfb7debaf /AppleDocWizard
parent4137da71acaeac048a64ad327048098aa1ec1c28 (diff)
[AppleDocWizard] Clean paths
Diffstat (limited to 'AppleDocWizard')
-rw-r--r--AppleDocWizard/AppleDocHandler.cs7
1 files changed, 2 insertions, 5 deletions
diff --git a/AppleDocWizard/AppleDocHandler.cs b/AppleDocWizard/AppleDocHandler.cs
index eb18751..256e485 100644
--- a/AppleDocWizard/AppleDocHandler.cs
+++ b/AppleDocWizard/AppleDocHandler.cs
@@ -38,10 +38,7 @@ namespace macdoc
"/Library/Developer/Shared/Documentation/DocSets/",
"/Developer/Platforms/iPhoneOS.platform/Developer/Documentation/DocSets/"
};
- /*readonly string[] searchPaths = new[] {
- "/Users/jeremie/mono/doctest"
- };*/
- const string MonodocLibPath = "/Library/Frameworks/Mono.framework/Versions/Current/lib/monodoc/";
+ const string MonodocLibPath = "/Library/Frameworks/Mono.framework/External/monodoc/";
const string MonoTouchLibPath = "/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll";
public const string IosAtomFeed = "https://developer.apple.com/rss/com.apple.adc.documentation.AppleiPhone5_0.atom";
@@ -192,7 +189,7 @@ namespace macdoc
var evtArgs = new AppleDocEventArgs () { Stage = ProcessStage.Merging };
FireAppleDocEvent (evtArgs);
- var mdocArchive = MDocZipArchive.ExtractAndLoad (Path.Combine (MonodocLibPath, "sources", "MonoTouch-lib.zip"));
+ var mdocArchive = MDocZipArchive.ExtractAndLoad (Path.Combine (MonodocLibPath, "MonoTouch-lib.zip"));
var merger = new AppleDocMerger (new AppleDocMerger.Options () {
DocBase = Path.Combine (searchPaths.First (), infos.ID + ".docset", "Contents/Resources/Documents/documentation"),
Assembly = System.Reflection.Assembly.ReflectionOnlyLoadFrom (MonoTouchLibPath),