Skip to content

Commit

Permalink
make sure docs build correctly on CI
Browse files Browse the repository at this point in the history
no UnityEngine references though :(
  • Loading branch information
julienkay committed Dec 22, 2023
1 parent 94540bc commit 0cd5391
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"src": [
{
"files": [
"doji.midas.csproj"
"**/*.cs"
],
"src": "../projects/Midas"
"src": "../com.doji.midas"
}
],
"dest": "api",
Expand All @@ -17,7 +17,7 @@
"namespaceLayout": "flattened",
"memberLayout": "samePage",
"EnumSortOrder": "declaringOrder",
"allowCompilationErrors": false,
"allowCompilationErrors": true,
"globalNamespaceId": "Global",
"filter": "filterConfig.yml"
}
Expand Down
6 changes: 5 additions & 1 deletion docs/filterConfig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ apiRules:
type: Namespace
- include:
uidRegex: ^Global
type: Namespace
type: Namespace
- exclude:
uidRegex: ^Midas\.Editor
- exclude:
uidRegex: ^Midas\.Samples
2 changes: 1 addition & 1 deletion docs/manual/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0cd5391

Please sign in to comment.