This is an automated email from the ASF dual-hosted git repository.

shazwazza pushed a commit to branch docs-poc
in repository https://gitbox.apache.org/repos/asf/lucenenet.git


The following commit(s) were added to refs/heads/docs-poc by this push:
     new 355a668  adds spatial, suggest and demo
355a668 is described below

commit 355a6689383132056e05d7f51673572362e94862
Author: Shannon <[email protected]>
AuthorDate: Mon Jun 29 14:49:25 2020 +1000

    adds spatial, suggest and demo
---
 websites/apidocs/docfx.demo.json     | 76 +++++++++++++++++++++++++++++++++
 websites/apidocs/docfx.site.json     |  5 ++-
 websites/apidocs/docfx.spatial.json  | 82 ++++++++++++++++++++++++++++++++++++
 websites/apidocs/docfx.suggest.json  | 82 ++++++++++++++++++++++++++++++++++++
 websites/apidocs/docs.ps1            |  5 ++-
 websites/apidocs/toc/demo/toc.yml    |  3 ++
 websites/apidocs/toc/spatial/toc.yml |  3 ++
 websites/apidocs/toc/suggest/toc.yml |  3 ++
 8 files changed, 257 insertions(+), 2 deletions(-)

diff --git a/websites/apidocs/docfx.demo.json b/websites/apidocs/docfx.demo.json
new file mode 100644
index 0000000..f27b974
--- /dev/null
+++ b/websites/apidocs/docfx.demo.json
@@ -0,0 +1,76 @@
+{
+  "metadata": [
+    {
+      "src": [
+        {
+          "files": [
+            "Lucene.Net.Demo/Lucene.Net.Demo.csproj"
+          ],
+          "exclude": [
+            "**/obj/**",
+            "**/bin/**"
+          ],
+          "src": "../../src"
+        }
+      ],
+      "dest": "obj/docfx/api/Demo",
+      "properties": {
+        "TargetFramework": "netstandard2.0"
+      }
+    }
+  ],
+  "build": {
+    "content": [             
+      {
+        "files": [
+          "**.yml",
+          "**.md"
+        ],
+        "src": "obj/docfx/api/demo"
+      },   
+      {
+        "files": [
+          "toc.yml",
+          "demo/toc.yml"
+        ],
+        "src": "toc"
+      }
+    ],    
+    "overwrite": [   
+      {
+        "files": [
+          "**/package.md",
+          "**/overview.md"
+        ],
+        "src": "../../src/Lucene.Net.Demo",
+        "exclude": [
+          "package.md"
+        ]
+      },     
+      {
+        "files": [
+          "apiSpec/demo/**/*.md"
+        ]
+      }
+    ],
+    "xref": [
+      "_site/api/core/xrefmap.yml"
+    ],
+    "dest": "_site/api/demo",
+    "globalMetadataFiles": [
+      "docfx.global.json",
+      "docfx.global.subsite.json"
+    ],
+    "template": [
+      "Templates/DefaultTemplateNoAssets",
+      "Templates/LuceneTemplate",
+      "Templates/LuceneApiDocs"
+    ],
+    "postProcessors": [],
+    "markdownEngineName": "dfm",
+    "noLangKeyword": false,
+    "keepFileLink": false,
+    "cleanupCacheHistory": false,
+    "disableGitFeatures": false
+  }
+}
\ No newline at end of file
diff --git a/websites/apidocs/docfx.site.json b/websites/apidocs/docfx.site.json
index f45f5d0..325a436 100644
--- a/websites/apidocs/docfx.site.json
+++ b/websites/apidocs/docfx.site.json
@@ -42,7 +42,10 @@
       "_site/api/queryparser/xrefmap.yml",
       "_site/api/replicator/xrefmap.yml",
       "_site/api/sandbox/xrefmap.yml",
-      "_site/api/test-framework/xrefmap.yml"      
+      "_site/api/spatial/xrefmap.yml",
+      "_site/api/suggest/xrefmap.yml",      
+      "_site/api/test-framework/xrefmap.yml",
+      "_site/api/demo/xrefmap.yml"
     ],
     "dest": "_site",
     "globalMetadataFiles": ["docfx.global.json"],
diff --git a/websites/apidocs/docfx.spatial.json 
b/websites/apidocs/docfx.spatial.json
new file mode 100644
index 0000000..88287ab
--- /dev/null
+++ b/websites/apidocs/docfx.spatial.json
@@ -0,0 +1,82 @@
+{
+  "metadata": [
+    {
+      "src": [
+        {
+          "files": [
+            "Lucene.Net.Spatial/Lucene.Net.Spatial.csproj"
+          ],
+          "exclude": [
+            "**/obj/**",
+            "**/bin/**"
+          ],
+          "src": "../../src"
+        }
+      ],
+      "dest": "obj/docfx/api/spatial",
+      "properties": {
+        "TargetFramework": "netstandard2.0"
+      }
+    }
+  ],
+  "build": {
+    "content": [     
+      {
+        "files": [
+          "overview.md"
+        ],
+        "src": "../../src/Lucene.Net.Spatial"
+      },             
+      {
+        "files": [
+          "**.yml",
+          "**.md"
+        ],
+        "src": "obj/docfx/api/spatial"
+      },   
+      {
+        "files": [
+          "toc.yml",
+          "spatial/toc.yml"
+        ],
+        "src": "toc"
+      }
+    ],    
+    "overwrite": [   
+      {
+        "files": [
+          "**/package.md",
+          "**/overview.md"
+        ],
+        "src": "../../src/Lucene.Net.Spatial",
+        "exclude": [
+          "overview.md"
+        ]
+      },     
+      {
+        "files": [
+          "apiSpec/spatial/**/*.md"
+        ]
+      }
+    ],
+    "xref": [
+      "_site/api/core/xrefmap.yml"
+    ],
+    "dest": "_site/api/spatial",
+    "globalMetadataFiles": [
+      "docfx.global.json",
+      "docfx.global.subsite.json"
+    ],
+    "template": [
+      "Templates/DefaultTemplateNoAssets",
+      "Templates/LuceneTemplate",
+      "Templates/LuceneApiDocs"
+    ],
+    "postProcessors": [],
+    "markdownEngineName": "dfm",
+    "noLangKeyword": false,
+    "keepFileLink": false,
+    "cleanupCacheHistory": false,
+    "disableGitFeatures": false
+  }
+}
\ No newline at end of file
diff --git a/websites/apidocs/docfx.suggest.json 
b/websites/apidocs/docfx.suggest.json
new file mode 100644
index 0000000..aa6d396
--- /dev/null
+++ b/websites/apidocs/docfx.suggest.json
@@ -0,0 +1,82 @@
+{
+  "metadata": [
+    {
+      "src": [
+        {
+          "files": [
+            "Lucene.Net.Suggest/Lucene.Net.Suggest.csproj"
+          ],
+          "exclude": [
+            "**/obj/**",
+            "**/bin/**"
+          ],
+          "src": "../../src"
+        }
+      ],
+      "dest": "obj/docfx/api/Suggest",
+      "properties": {
+        "TargetFramework": "netstandard2.0"
+      }
+    }
+  ],
+  "build": {
+    "content": [     
+      {
+        "files": [
+          "overview.md"
+        ],
+        "src": "../../src/Lucene.Net.Suggest"
+      },             
+      {
+        "files": [
+          "**.yml",
+          "**.md"
+        ],
+        "src": "obj/docfx/api/suggest"
+      },   
+      {
+        "files": [
+          "toc.yml",
+          "suggest/toc.yml"
+        ],
+        "src": "toc"
+      }
+    ],    
+    "overwrite": [   
+      {
+        "files": [
+          "**/package.md",
+          "**/overview.md"
+        ],
+        "src": "../../src/Lucene.Net.Suggest",
+        "exclude": [
+          "overview.md"
+        ]
+      },     
+      {
+        "files": [
+          "apiSpec/suggest/**/*.md"
+        ]
+      }
+    ],
+    "xref": [
+      "_site/api/core/xrefmap.yml"
+    ],
+    "dest": "_site/api/suggest",
+    "globalMetadataFiles": [
+      "docfx.global.json",
+      "docfx.global.subsite.json"
+    ],
+    "template": [
+      "Templates/DefaultTemplateNoAssets",
+      "Templates/LuceneTemplate",
+      "Templates/LuceneApiDocs"
+    ],
+    "postProcessors": [],
+    "markdownEngineName": "dfm",
+    "noLangKeyword": false,
+    "keepFileLink": false,
+    "cleanupCacheHistory": false,
+    "disableGitFeatures": false
+  }
+}
\ No newline at end of file
diff --git a/websites/apidocs/docs.ps1 b/websites/apidocs/docs.ps1
index 75dcf34..e4dc2eb 100644
--- a/websites/apidocs/docs.ps1
+++ b/websites/apidocs/docs.ps1
@@ -142,7 +142,10 @@ $DocFxJsonMeta = @(
     "docfx.queryparser.json",
     "docfx.replicator.json",
     "docfx.sandbox.json",
-    "docfx.test-framework.json"    
+    "docfx.spatial.json",
+    "docfx.suggest.json",
+    "docfx.test-framework.json",
+    "docfx.demo.json"
 )
 $DocFxJsonSite = Join-Path -Path $ApiDocsFolder "docfx.site.json"
 
diff --git a/websites/apidocs/toc/demo/toc.yml 
b/websites/apidocs/toc/demo/toc.yml
new file mode 100644
index 0000000..ba8dcfb
--- /dev/null
+++ b/websites/apidocs/toc/demo/toc.yml
@@ -0,0 +1,3 @@
+- name: Demo
+  href: ../../obj/docfx/api/demo/toc.yml
+  topicUid: Lucene.Net.Demo
\ No newline at end of file
diff --git a/websites/apidocs/toc/spatial/toc.yml 
b/websites/apidocs/toc/spatial/toc.yml
new file mode 100644
index 0000000..6fac1df
--- /dev/null
+++ b/websites/apidocs/toc/spatial/toc.yml
@@ -0,0 +1,3 @@
+- name: Spatial
+  href: ../../obj/docfx/api/spatial/toc.yml
+  topicUid: Lucene.Net.Spatial
\ No newline at end of file
diff --git a/websites/apidocs/toc/suggest/toc.yml 
b/websites/apidocs/toc/suggest/toc.yml
new file mode 100644
index 0000000..948e91d
--- /dev/null
+++ b/websites/apidocs/toc/suggest/toc.yml
@@ -0,0 +1,3 @@
+- name: Suggest
+  href: ../../obj/docfx/api/suggest/toc.yml
+  topicUid: Lucene.Net.Suggest
\ No newline at end of file

Reply via email to