Skip to content

Commit

Permalink
[DOCS] Fix hard-coded mapping type doc link (#33319)
Browse files Browse the repository at this point in the history
Relates to elastic/docs#2521

This PR fixes a hard-coded docmentation link that will cease to work when we move away from "master" URLS:

> 17:07:03 INFO:build_docs:  /tmp/docsbuild/target_repo/html/en/beats/devguide/6.0/metricset-details.html contains broken links to:
17:07:03 INFO:build_docs:   - en/elasticsearch/reference/master/mapping-types.html

NOTE: This fix needs to be backported all the way to 6.0
(cherry picked from commit 916fab0)
  • Loading branch information
lcawl authored and mergify[bot] committed Oct 28, 2022
1 parent 06989df commit 9915c57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/devguide/metricset-details.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ include::../../metricbeat/module/mysql/_meta/fields.yml[]
+
* `metricbeat/module/{module}/{metricset}/_meta/fields.yml`: Contains all fields definitions retrieved by the metricset.
As field types, each field must have a core data type
https://www.elastic.co/guide/en/elasticsearch/reference/master/mapping-types.html#_core_datatypes[supported by elasticsearch]. Here's a very basic example that shows one group from the MySQL `status` metricset:
{ref}/mapping-types.html#_core_datatypes[supported by elasticsearch]. Here's a very basic example that shows one group from the MySQL `status` metricset:
+
[source,yaml]
----
Expand Down

0 comments on commit 9915c57

Please sign in to comment.