diff --git a/MAINTAINING.md b/MAINTAINING.md
index 52f9ba20..4aef65ab 100644
--- a/MAINTAINING.md
+++ b/MAINTAINING.md
@@ -11,15 +11,14 @@ Repository:
- Update RELEASENOTES file with relevant changes, attributed by contributor (if external). Set date.
- Update CONTRIBUTORS file (via `git shortlog -sn`)
- Create and publish a new annotated git tag for the release, e.g. `git tag -a v2.5.0 -m "v2.5.0"`
-- Consider to resync the subtree in the native provider repository.
- Consider to update the repository mirrors at codeplex, gitorious and google ([how to](http://christoph.ruegg.name/blog/2013/1/26/git-howto-mirror-a-github-repository-without-pull-refs.html)).
Publish:
- Generate manual release build from internal TeamCity
- Update release notes in NuGet packages (using package explorer)
-- Create new codeplex release, attach Zip files
- Upload NuGet packages to the NuGet Gallery
+- Create new Codeplex and GitHub release, attach Zip files
Misc:
diff --git a/build.fsx b/build.fsx
index 02a95334..7963b4c1 100644
--- a/build.fsx
+++ b/build.fsx
@@ -5,10 +5,8 @@
#I @"packages/FAKE/tools"
#r @"packages/FAKE/tools/FakeLib.dll"
-open Fake
-open Fake.Git
-open Fake.AssemblyInfoFile
-open Fake.ReleaseNotesHelper
+open Fake
+open Fake.DocuHelper
open System
Environment.CurrentDirectory <- __SOURCE_DIRECTORY__
@@ -113,6 +111,20 @@ Target "DocsDev" (fun _ ->
==> "DocsDev"
+// API REFERENCE
+
+Target "CleanApi" (fun _ -> CleanDirs ["out" @@ "api"])
+
+Target "Api" (fun _ ->
+ !! "out/lib/Net40/MathNet.Numerics.dll"
+ |> Docu (fun p ->
+ { p with
+ ToolPath = "tools/docu/docu.exe"
+ TemplatesPath = "tools/docu/templates/"
+ TimeOut = TimeSpan.FromMinutes 10.
+ OutputPath = "out/api/" }))
+
+
// NUGET
Target "NuGet" (fun _ ->
diff --git a/tools/docu/Spark.dll b/tools/docu/Spark.dll
new file mode 100644
index 00000000..d62e9207
Binary files /dev/null and b/tools/docu/Spark.dll differ
diff --git a/tools/docu/docu.exe b/tools/docu/docu.exe
new file mode 100644
index 00000000..4af7e928
Binary files /dev/null and b/tools/docu/docu.exe differ
diff --git a/tools/docu/docu.exe.config b/tools/docu/docu.exe.config
new file mode 100644
index 00000000..c5e1daef
--- /dev/null
+++ b/tools/docu/docu.exe.config
@@ -0,0 +1,3 @@
+
+
Type ${h(Type.PrettyName)}
+Namespace ${Namespace.Name}
+Parent ${Format(Type.ParentType)}
+Interfaces ${WriteInterfaces(Type.Interfaces)}
+${Format(content)}
+
+ return ${Format(field.ReturnType)}
+ |
+
${Format(param.Reference)} ${param.Name}${Format(method.ReturnType)}${Format(property.ReturnType)}+ ${Format(content)} +\ No newline at end of file diff --git a/tools/docu/templates/!namespace/_types.spark b/tools/docu/templates/!namespace/_types.spark new file mode 100644 index 00000000..18723fe2 --- /dev/null +++ b/tools/docu/templates/!namespace/_types.spark @@ -0,0 +1,14 @@ +
+ Value: ${Format(content)} +\ No newline at end of file diff --git a/tools/docu/templates/!namespace/index.htm.spark b/tools/docu/templates/!namespace/index.htm.spark new file mode 100644 index 00000000..3dc243cc --- /dev/null +++ b/tools/docu/templates/!namespace/index.htm.spark @@ -0,0 +1,40 @@ + + + +
Namespace ${Namespace.Name}
+This namespace is empty.
+${WriteProductName(Assemblies[0])} Documentation
+