diff --git a/docs/docfx.json b/docs/docfx.json index c1ed3c2..af91303 100644 --- a/docs/docfx.json +++ b/docs/docfx.json @@ -4,9 +4,9 @@ "src": [ { "files": [ - "doji.midas.csproj" + "**/*.cs" ], - "src": "../projects/Midas" + "src": "../com.doji.midas" } ], "dest": "api", @@ -17,7 +17,7 @@ "namespaceLayout": "flattened", "memberLayout": "samePage", "EnumSortOrder": "declaringOrder", - "allowCompilationErrors": false, + "allowCompilationErrors": true, "globalNamespaceId": "Global", "filter": "filterConfig.yml" } diff --git a/docs/filterConfig.yml b/docs/filterConfig.yml index dd1aaba..8b39213 100644 --- a/docs/filterConfig.yml +++ b/docs/filterConfig.yml @@ -4,4 +4,8 @@ apiRules: type: Namespace - include: uidRegex: ^Global - type: Namespace \ No newline at end of file + type: Namespace +- exclude: + uidRegex: ^Midas\.Editor +- exclude: + uidRegex: ^Midas\.Samples \ No newline at end of file diff --git a/docs/manual/getting-started.md b/docs/manual/getting-started.md index 537ab1c..88aa43a 100644 --- a/docs/manual/getting-started.md +++ b/docs/manual/getting-started.md @@ -11,7 +11,7 @@ To start, create a new 'Midas' instance: var midas = new Midas(); ``` -Then you can pass in a Texture2D to @Midas.Midas.EstimateDepth(UnityEngine.Texture,System.Boolean) +Then you can pass in a Texture2D to @Midas.Midas.EstimateDepth(Texture,System.Boolean) ```CSharp // Estimate depth from an input texture