Skip to content

Commit

Permalink
[DOCS] Remove [testenv="gold+"] attributes (#79309) (#79959)
Browse files Browse the repository at this point in the history
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 <[email protected]>

Co-authored-by: edh-oss <[email protected]>
  • Loading branch information
jrodewig and edh-oss authored Oct 27, 2021
1 parent 20ede64 commit c212de0
Show file tree
Hide file tree
Showing 13 changed files with 2 additions and 26 deletions.
2 changes: 0 additions & 2 deletions docs/reference/commands/certgen.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
[role="xpack"]
[testenv="gold+"]
[[certgen]]
== elasticsearch-certgen

Expand Down
2 changes: 0 additions & 2 deletions docs/reference/commands/certutil.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
[role="xpack"]
[testenv="gold+"]
[[certutil]]
== elasticsearch-certutil

Expand Down
2 changes: 0 additions & 2 deletions docs/reference/commands/croneval.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
[role="xpack"]
[testenv="gold+"]
[[elasticsearch-croneval]]
== elasticsearch-croneval

Expand Down
2 changes: 0 additions & 2 deletions docs/reference/commands/saml-metadata.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
[role="xpack"]
[testenv="gold+"]
[[saml-metadata]]
== elasticsearch-saml-metadata

Expand Down
2 changes: 0 additions & 2 deletions docs/reference/commands/service-tokens-command.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
[role="xpack"]
[testenv="gold+"]
[[service-tokens-command]]
== elasticsearch-service-tokens

Expand Down
2 changes: 0 additions & 2 deletions docs/reference/commands/setup-passwords.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
[role="xpack"]
[testenv="gold+"]
[[setup-passwords]]
== elasticsearch-setup-passwords

Expand Down
2 changes: 0 additions & 2 deletions docs/reference/commands/syskeygen.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
[role="xpack"]
[testenv="gold+"]
[[syskeygen]]
== elasticsearch-syskeygen

Expand Down
2 changes: 0 additions & 2 deletions docs/reference/commands/users-command.asciidoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
[role="xpack"]
[testenv="gold+"]
[[users-command]]
== elasticsearch-users

Expand Down
3 changes: 1 addition & 2 deletions docs/reference/ilm/index-rollover.asciidoc
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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

Expand Down
3 changes: 0 additions & 3 deletions docs/reference/ingest/enrich.asciidoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
[role="xpack"]
[testenv="basic"]
[[ingest-enriching-data]]
== Enrich your data
Expand Down Expand Up @@ -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

Expand Down
3 changes: 1 addition & 2 deletions docs/reference/snapshot-restore/register-repository.asciidoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[[snapshots-register-repository]]
[testenv="basic"]
== Register a snapshot repository
++++
<titleabbrev>Register a repository</titleabbrev>
Expand Down Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion docs/reference/sql/endpoints/odbc.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
:odbc: {es-sql} ODBC Driver

[role="xpack"]
[testenv="platinum"]
[[sql-odbc]]
== SQL ODBC
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
[role="xpack"]
[testenv="gold+"]
[[auditing-search-queries]]
=== Auditing search queries

Expand Down

0 comments on commit c212de0

Please sign in to comment.