You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by sh...@apache.org on 2020/06/30 06:48:16 UTC

[lucenenet] branch docs-poc updated: fixes spatial, fixes memory toc, hard codes some links

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 c218309  fixes spatial, fixes memory toc, hard codes some links
c218309 is described below

commit c21830913512f860ba1fed79ba7ceef4fbb61aea
Author: Shannon <sd...@gmail.com>
AuthorDate: Tue Jun 30 16:48:00 2020 +1000

    fixes spatial, fixes memory toc, hard codes some links
---
 websites/apidocs/docfx.spatial.json | 10 ++--------
 websites/apidocs/docs.ps1           |  5 +++--
 websites/apidocs/toc/memory/toc.yml |  2 +-
 websites/apidocs/toc/toc.yml        |  6 +++---
 4 files changed, 9 insertions(+), 14 deletions(-)

diff --git a/websites/apidocs/docfx.spatial.json b/websites/apidocs/docfx.spatial.json
index 88287ab..995bd96 100644
--- a/websites/apidocs/docfx.spatial.json
+++ b/websites/apidocs/docfx.spatial.json
@@ -20,13 +20,7 @@
     }
   ],
   "build": {
-    "content": [     
-      {
-        "files": [
-          "overview.md"
-        ],
-        "src": "../../src/Lucene.Net.Spatial"
-      },             
+    "content": [          
       {
         "files": [
           "**.yml",
@@ -50,7 +44,7 @@
         ],
         "src": "../../src/Lucene.Net.Spatial",
         "exclude": [
-          "overview.md"
+          "package.md"
         ]
       },     
       {
diff --git a/websites/apidocs/docs.ps1 b/websites/apidocs/docs.ps1
index f1077b9..0cde7e9 100644
--- a/websites/apidocs/docs.ps1
+++ b/websites/apidocs/docs.ps1
@@ -116,7 +116,9 @@ $DocFxJsonContent._appTitle = "Apache Lucene.NET $LuceneNetVersion Documentation
 $DocFxJsonContent._gitContribute.branch = "docs/$LuceneNetVersion"
 $DocFxJsonContent | ConvertTo-Json -depth 100 | Set-Content $DocFxGlobalJson
 
+# NOTE: The order of these depends on if one of the projects requries the xref map of another, normally all require the core xref map
 $DocFxJsonMeta = @(
+    "docfx.codecs.json",
     "docfx.core.json",
     "docfx.analysis-common.json",
     "docfx.analysis-kuromoji.json",
@@ -126,8 +128,7 @@ $DocFxJsonMeta = @(
     "docfx.analysis-smartcn.json",
     "docfx.analysis-stempel.json",
     "docfx.benchmark.json",
-    "docfx.classification.json",
-    "docfx.codecs.json",
+    "docfx.classification.json",    
     "docfx.expressions.json",
     "docfx.facet.json",
     "docfx.grouping.json",
diff --git a/websites/apidocs/toc/memory/toc.yml b/websites/apidocs/toc/memory/toc.yml
index 42a3da6..ee9e1a3 100644
--- a/websites/apidocs/toc/memory/toc.yml
+++ b/websites/apidocs/toc/memory/toc.yml
@@ -1,3 +1,3 @@
 - name: Memory
   href: ../../obj/docfx/api/memory/toc.yml
-  topicUid: Lucene.Net.Memory
\ No newline at end of file
+  topicUid: Lucene.Net.Index.Memory
\ No newline at end of file
diff --git a/websites/apidocs/toc/toc.yml b/websites/apidocs/toc/toc.yml
index 7d9e324..20413f9 100644
--- a/websites/apidocs/toc/toc.yml
+++ b/websites/apidocs/toc/toc.yml
@@ -1,6 +1,6 @@
 - name: Lucene.Net API
-  topicHref: /
+  topicHref: https://lucenenet.apache.org/docs/4.8.0-beta00009
 - name: Lucene.Net CLI
-  href: /cli/index.html
+  topicHref: https://lucenenet.apache.org/docs/4.8.0-beta00009/cli/index.html
 - name: Lucene.Net Website
-  href: https://lucenenet.apache.org/
\ No newline at end of file
+  topicHref: https://lucenenet.apache.org/
\ No newline at end of file