Point all non-versioned documentation to latest and add permalinks (#6042)

* Point all non-versioned documentation to latest and add permalinks

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Fix links

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Add a permalink to the main page

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

---------

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
This commit is contained in:
kolchfa-aws 2024-01-05 08:58:23 -05:00 committed by GitHub
parent 8e35488077
commit 8b80980959
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 10 additions and 9 deletions

View File

@ -5,11 +5,11 @@ nav_order: 1
has_children: false
has_toc: false
nav_exclude: true
permalink: /about/
redirect_from:
- /docs/opensearch/
- /opensearch/
- /opensearch/index/
- /about/
---
{%- comment -%}The `/docs/opensearch/` redirect is specifically to support the UI links in OpenSearch Dashboards 1.0.0.{%- endcomment -%}
@ -20,7 +20,7 @@ This section contains documentation for OpenSearch and OpenSearch Dashboards.
## Getting started
- [Intro to OpenSearch]({{site.url}}{{site.baseurl}}/about/intro/)
- [Intro to OpenSearch]({{site.url}}{{site.baseurl}}/intro/)
- [Quickstart]({{site.url}}{{site.baseurl}}/quickstart/)
- [Install OpenSearch]({{site.url}}{{site.baseurl}}/install-and-configure/install-opensearch/index/)
- [Install OpenSearch Dashboards]({{site.url}}{{site.baseurl}}/install-and-configure/install-dashboards/index/)

View File

@ -2,6 +2,7 @@
layout: default
title: Intro to OpenSearch
nav_order: 2
permalink: /intro/
---
# Introduction to OpenSearch

View File

@ -2,9 +2,9 @@
layout: default
title: Quickstart
nav_order: 3
permalink: /quickstart/
redirect_from:
- /opensearch/install/quickstart/
- /quickstart/
---
# Quickstart

View File

@ -168,7 +168,7 @@ Parameter | Description | Type | Required
}
```
For information about setting replicas, see [Primary and replica shards]({{site.url}}{{site.baseurl}}/about/intro/#primary-and-replica-shards).
For information about setting replicas, see [Primary and replica shards]({{site.url}}{{site.baseurl}}/intro/#primary-and-replica-shards).
### shrink

View File

@ -10,14 +10,14 @@
<div class="card">
<a href="{{site.url}}{{site.baseurl}}/data-prepper/" class='card-link'></a>
<a href="{{site.url}}/docs/latest/data-prepper/" class='card-link'></a>
<p class="heading">Data Prepper</p>
<p class="description">Prepare your data for OpenSearch</p>
<button class="last-link" >Documentation &#x2192;</button>
</div>
<div class="card">
<a href="{{site.url}}{{site.baseurl}}/clients/" class='card-link'></a>
<a href="{{site.url}}/docs/latest/clients/" class='card-link'></a>
<p class="heading">Clients</p>
<p class="description">OpenSearch in your programming language</p>
<button class="last-link">Documentation &#x2192;</button>
@ -25,7 +25,7 @@
<div class="card">
<a href="{{site.url}}{{site.baseurl}}/benchmark/" class='card-link'></a>
<a href="{{site.url}}/docs/latest/benchmark/" class='card-link'></a>
<p class="heading">Benchmark</p>
<p class="description">Track OpenSearch performance</p>
<button class="last-link">Documentation &#x2192;</button>

View File

@ -64,7 +64,7 @@ layout: table_wrappers
<a href="{{site.url}}{{site.baseurl}}/{{ page.section}}/" class="site-category">{{ page.section-name }}</a>
{% endif %}
<a href="{{site.url}}{{site.baseurl}}/" class="back-link">&#x2190; Back to docs home</a>
<a href="{{site.url}}/docs/latest/" class="back-link">&#x2190; Back to docs home</a>
{% if page.section == "opensearch" %}
<version-selector selected="{{ site.data.versions.current }}"></version-selector>

View File

@ -99,4 +99,4 @@ The default parameters work on a broader set of use cases, but make sure to run
The standard k-NN query and custom scoring option perform differently. Test with a representative set of documents to see if the search results and latencies match your expectations.
Custom scoring works best if the initial filter reduces the number of documents to no more than 20,000. Increasing shard count can improve latency, but be sure to keep shard size within the [recommended guidelines]({{site.url}}{{site.baseurl}}/about/intro/#primary-and-replica-shards).
Custom scoring works best if the initial filter reduces the number of documents to no more than 20,000. Increasing shard count can improve latency, but be sure to keep shard size within the [recommended guidelines]({{site.url}}{{site.baseurl}}/intro/#primary-and-replica-shards).