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 23:49:35 UTC
[lucenenet] 01/02: _rel fixes and a couple more hard coded paths
This is an automated email from the ASF dual-hosted git repository.
shazwazza pushed a commit to branch docs/4.8.0-beta00009
in repository https://gitbox.apache.org/repos/asf/lucenenet.git
commit ed0f7dd61f2fea4a07e85a5539944e87badaa728
Author: Shannon <sd...@gmail.com>
AuthorDate: Wed Jul 1 09:49:00 2020 +1000
_rel fixes and a couple more hard coded paths
---
.../apidocs/Templates/LuceneApiDocs/partials/breadcrumb.tmpl.partial | 2 +-
websites/apidocs/Templates/LuceneTemplate/partials/logo.tmpl.partial | 2 +-
websites/apidocs/docfx.global.subsite.json | 2 +-
websites/apidocs/toc.yml | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/websites/apidocs/Templates/LuceneApiDocs/partials/breadcrumb.tmpl.partial b/websites/apidocs/Templates/LuceneApiDocs/partials/breadcrumb.tmpl.partial
index 8320e92..3a669f0 100644
--- a/websites/apidocs/Templates/LuceneApiDocs/partials/breadcrumb.tmpl.partial
+++ b/websites/apidocs/Templates/LuceneApiDocs/partials/breadcrumb.tmpl.partial
@@ -4,7 +4,7 @@
<div class="container hide-when-search">
<ul class="level0 breadcrumb">
<li>
- <a href="/">API</a>
+ <a href="{{_rel}}">API</a>
<span id="breadcrumb">
<ul class="breadcrumb">
<li>{{_tocTitle}}</li>
diff --git a/websites/apidocs/Templates/LuceneTemplate/partials/logo.tmpl.partial b/websites/apidocs/Templates/LuceneTemplate/partials/logo.tmpl.partial
index 8209615..f2b652b 100644
--- a/websites/apidocs/Templates/LuceneTemplate/partials/logo.tmpl.partial
+++ b/websites/apidocs/Templates/LuceneTemplate/partials/logo.tmpl.partial
@@ -1,5 +1,5 @@
{{!Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.}}
-<a class="navbar-brand" href="{{_rel}}index.html">
+<a class="navbar-brand" href="/">
<img id="logo" class="svg" src="{{_rel}}{{{_appLogoPath}}}{{^_appLogoPath}}logo.svg{{/_appLogoPath}}" alt="{{_appName}}" >
</a>
diff --git a/websites/apidocs/docfx.global.subsite.json b/websites/apidocs/docfx.global.subsite.json
index e169f9e..f9025e5 100644
--- a/websites/apidocs/docfx.global.subsite.json
+++ b/websites/apidocs/docfx.global.subsite.json
@@ -1,3 +1,3 @@
{
- "_rel": "/"
+ "_rel": "https://lucenenet.apache.org/docs/4.8.0-beta00009/"
}
diff --git a/websites/apidocs/toc.yml b/websites/apidocs/toc.yml
index d8c4edd..f07b8f7 100644
--- a/websites/apidocs/toc.yml
+++ b/websites/apidocs/toc.yml
@@ -1,5 +1,5 @@
- name: Lucene.Net API
- topicHref: /
+ topicHref: https://lucenenet.apache.org/docs/4.8.0-beta00009/
- name: Lucene.Net CLI
href: ../../src/dotnet/tools/lucene-cli/docs/
topicHref: ../../src/dotnet/tools/lucene-cli/docs/index.md