From 57731e78a68f407402b524cdb6c70d985d434024 Mon Sep 17 00:00:00 2001 From: Matthew Leibowitz Date: Wed, 19 Oct 2016 00:50:16 +0200 Subject: [PATCH] Updates to the documentation bits --- Makefile | 4 +--- build.cake | 4 +++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 87b01cc2..47b081c9 100644 --- a/Makefile +++ b/Makefile @@ -2,9 +2,7 @@ all: echo You can use "make update-docs" to update the docs, "or make assemble-docs" to assemble for deployment update-docs: - (cd binding; xbuild SkiaSharp.Generic.sln) - mdoc update --out=docs/en binding/SkiaSharp.Generic/bin/Debug/SkiaSharp.dll - (cd docs; mdoc assemble --out=SkiaSharp en) + echo Not supported anymore, just "make assemble-docs" assemble-docs: mdoc assemble --out=docs/SkiaSharp docs/en diff --git a/build.cake b/build.cake index 47bc4fb2..7bff990d 100644 --- a/build.cake +++ b/build.cake @@ -241,6 +241,8 @@ Task ("docs") if (!DirectoryExists ("./output/docs/mdoc/")) CreateDirectory ("./output/docs/mdoc/"); RunMdocAssemble (DOCS_PATH, "./output/docs/mdoc/SkiaSharp"); + + CopyFileToDirectory ("./docs/SkiaSharp.source", "./output/docs/mdoc/"); }); // we can only update the docs on the platform machines @@ -250,7 +252,7 @@ Task ("update-docs") .Does (() => { // the reference folders to locate assemblies - var refs = new DirectoryPath [] { + IEnumerable refs = new DirectoryPath [] { // you never know }; // add windows-specific references