浏览代码

[DOCS] Remove `[testenv="gold+"]` attributes (#79309)

Changes:

* Removes several `[testenv="gold+"]` attributes from the docs. `gold+` is not a valid [subscription level](https://www.elastic.co/subscriptions) or testenv value.
* Moves two `[testenv="basic"]` attributes to the file header. This makes the `testenv` placement consistent and fixes the yml file generated from `docs/reference/snapshot-restore/register-repository.asciidoc`.

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
edh-oss 4 年之前
父节点
当前提交
3c23a9e9cd

+ 0 - 2
docs/reference/commands/certgen.asciidoc

@@ -1,5 +1,3 @@
-[role="xpack"]
-[testenv="gold+"]
 [[certgen]]
 == elasticsearch-certgen
 

+ 0 - 2
docs/reference/commands/certutil.asciidoc

@@ -1,5 +1,3 @@
-[role="xpack"]
-[testenv="gold+"]
 [[certutil]]
 == elasticsearch-certutil
 

+ 0 - 2
docs/reference/commands/croneval.asciidoc

@@ -1,5 +1,3 @@
-[role="xpack"]
-[testenv="gold+"]
 [[elasticsearch-croneval]]
 == elasticsearch-croneval
 

+ 0 - 2
docs/reference/commands/saml-metadata.asciidoc

@@ -1,5 +1,3 @@
-[role="xpack"]
-[testenv="gold+"]
 [[saml-metadata]]
 == elasticsearch-saml-metadata
 

+ 0 - 2
docs/reference/commands/service-tokens-command.asciidoc

@@ -1,5 +1,3 @@
-[role="xpack"]
-[testenv="gold+"]
 [[service-tokens-command]]
 == elasticsearch-service-tokens
 

+ 0 - 2
docs/reference/commands/setup-passwords.asciidoc

@@ -1,5 +1,3 @@
-[role="xpack"]
-[testenv="gold+"]
 [[setup-passwords]]
 == elasticsearch-setup-passwords
 

+ 0 - 2
docs/reference/commands/syskeygen.asciidoc

@@ -1,5 +1,3 @@
-[role="xpack"]
-[testenv="gold+"]
 [[syskeygen]]
 == elasticsearch-syskeygen
 

+ 0 - 2
docs/reference/commands/users-command.asciidoc

@@ -1,5 +1,3 @@
-[role="xpack"]
-[testenv="gold+"]
 [[users-command]]
 == elasticsearch-users
 

+ 1 - 2
docs/reference/ilm/index-rollover.asciidoc

@@ -1,4 +1,5 @@
 [[index-rollover]]
+[testenv="basic"]
 === Rollover
 
 When indexing time series data like logs or metrics, you can't write to a single index indefinitely. 
@@ -39,8 +40,6 @@ This is the active index that handles all write requests.
 On each rollover, the new index becomes the write index.
 
 [discrete]
-[role="xpack"]
-[testenv="basic"]
 [[ilm-automatic-rollover]]
 === Automatic rollover
 

+ 0 - 3
docs/reference/ingest/enrich.asciidoc

@@ -1,4 +1,3 @@
-[role="xpack"]
 [testenv="basic"]
 [[ingest-enriching-data]]
 == Enrich your data
@@ -79,8 +78,6 @@ properties to help streamline them:
 * They are <<indices-forcemerge,force merged>> for fast retrieval.
 --
 
-[role="xpack"]
-[testenv="basic"]
 [[enrich-setup]]
 === Set up an enrich processor
 

+ 1 - 2
docs/reference/snapshot-restore/register-repository.asciidoc

@@ -1,4 +1,5 @@
 [[snapshots-register-repository]]
+[testenv="basic"]
 == Register a snapshot repository
 ++++
 <titleabbrev>Register a repository</titleabbrev>
@@ -191,8 +192,6 @@ NOTE: URLs using the `ftp`, `http`, `https`, or `jar` protocols do not need to
 be registered in the `path.repo` setting.
 
 [discrete]
-[role="xpack"]
-[testenv="basic"]
 [[snapshots-source-only-repository]]
 === Source only repository
 

+ 0 - 1
docs/reference/sql/endpoints/odbc.asciidoc

@@ -1,6 +1,5 @@
 :odbc: {es-sql} ODBC Driver
 
-[role="xpack"]
 [testenv="platinum"]
 [[sql-odbc]]
 == SQL ODBC

+ 0 - 2
x-pack/docs/en/security/auditing/auditing-search-queries.asciidoc

@@ -1,5 +1,3 @@
-[role="xpack"]
-[testenv="gold+"]
 [[auditing-search-queries]]
 === Auditing search queries