Skip to content

Commit c633be0

Browse files
committed
Merge remote-tracking branch 'upstream/master' into feature/apm-server-neutral-naming
* upstream/master: [DOCS] 8.0.0-rc2 version attributes. (elastic#2345) Rename master to main for Beats project (elastic#2337) Fixes .net book generation. (elastic#2367) Add main branch to elasticsearch-net repo to docs build. (elastic#2196) Update attributes.asciidoc (elastic#2365) update stack ecs pointer adding in new ecs options per the 8.2 sff Note that the full path is required for local doc build (elastic#2364) Bump current version to 7.17 (elastic#2333) moves old file back to bottom add new path for kibana links check
2 parents 8182756 + 392ac6c commit c633be0

9 files changed

+48
-54
lines changed

README.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ generate the HTML version of the docs:
7070
[source,bash]
7171
----------------------------
7272
cd path/to/your/repo
73-
~/path/to/docs/repo/build_docs --doc path/to/index.asciidoc
73+
~/path/to/docs/repo/build_docs --doc /full/path/to/index.asciidoc
7474
----------------------------
7575

7676
Each Elastic project may need its own documentation book build command.

build_docs.pl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,9 @@ sub check_kibana_links {
422422
say " Branch: $branch, Version: $version";
423423
my $links_file;
424424
my $source = eval {
425+
$links_file = "packages/kbn-doc-links/src/get_doc_links.ts";
426+
$repo->show_file( $link_check_name, $branch, $links_file );
427+
} || eval {
425428
$links_file = $src_path . ".js";
426429
$repo->show_file( $link_check_name, $branch, $links_file );
427430
} || eval {

conf.yaml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ contents_title: Elastic Stack and Product Documentation
7171
# <key>: &<variable> <value>
7272
# The keys don't really matter, but by convention the are the same as the variable.
7373
variables:
74-
stackcurrent: &stackcurrent 7.16
75-
stacklive: &stacklive [ master, 8.0, 7.17, 7.16, 6.8 ]
74+
stackcurrent: &stackcurrent 7.17
75+
stacklive: &stacklive [ master, 8.0, 7.17, 6.8 ]
7676

77-
stacklivemain: &stacklivemain [ main, 8.0, 7.17, 7.16, 6.8 ]
77+
stacklivemain: &stacklivemain [ main, 8.0, 7.17, 6.8 ]
7878

7979
cloudSaasCurrent: &cloudSaasCurrent ms-68
8080

@@ -156,7 +156,6 @@ contents:
156156
repo: beats
157157
path: libbeat/docs
158158
exclude_branches: [ 6.8, 6.7, 6.6, 6.5, 6.4, 6.3, 6.2, 6.1, 6.0, 5.6, 5.5, 5.4, 5.3, 5.2, 5.1, 5.0 ]
159-
map_branches: *mapMainToMaster
160159
-
161160
repo: elasticsearch
162161
path: docs/
@@ -256,8 +255,8 @@ contents:
256255
- title: Elastic Common Schema (ECS) Reference
257256
prefix: en/ecs
258257
current: 1.12
259-
branches: [ {main: master}, 8.1, 8.0, 1.12, 1.11, 1.10, 1.9, 1.8, 1.7, 1.6, 1.5, 1.4, 1.3, 1.2, 1.1, 1.0 ]
260-
live: [ main, 8.0, 1.12 ]
258+
branches: [ {main: master}, 8.2, 8.1, 8.0, 1.12, 1.11, 1.10, 1.9, 1.8, 1.7, 1.6, 1.5, 1.4, 1.3, 1.2, 1.1, 1.0 ]
259+
live: [ main, 8.2, 8.1, 8.0, 1.12 ]
261260
index: docs/index.asciidoc
262261
chunk: 2
263262
tags: Elastic Common Schema (ECS)/Reference
@@ -354,6 +353,7 @@ contents:
354353
repo: elasticsearch-net
355354
path: examples
356355
exclude_branches: [ 7.17, 7.16, 7.15, 7.14, 7.13, 7.12, 7.11, 7.10, 7.9, 7.8, 7.7, 7.6, 7.5, 7.4, 7.3, 7.2, 7.1, 7.0, 6.8, 6.7, 6.6, 6.5, 6.4, 6.3, 6.2, 6.1, 6.0, 5.6, 5.5, 5.4, 5.3, 5.2, 5.1, 5.0, 2.4, 2.3, 2.2, 2.1, 2.0, 1.7, 1.6, 1.5, 1.4, 1.3, 0.90 ]
356+
map_branches: *mapMasterToMain
357357
-
358358
alternatives: { source_lang: console, alternative_lang: python }
359359
repo: elasticsearch-py
@@ -542,10 +542,11 @@ contents:
542542
path: .doc/
543543
- title: .NET Clients
544544
prefix: net-api
545+
# The elasticsearch-net repo only keeps .x branches. Do not
546+
# bump these with the rest of the stack.
545547
current: 7.16
546-
# need to keep 7.x until all tooling is switched over to 7.16
547-
branches: [ master, 8.0, 7.17, 7.16, 7.x, 6.x, 5.x, 2.x, 1.x ]
548-
live: [ master, 8.0, 7.17, 7.16, 7.x ]
548+
branches: [ {main: master}, 8.0, 7.17, 7.16, 7.x, 6.x, 5.x, 2.x, 1.x ]
549+
live: [ main, 8.0, 7.17, 7.16, 7.x ]
549550
index: docs/index.asciidoc
550551
tags: Clients/.Net
551552
subject: Clients
@@ -653,9 +654,9 @@ contents:
653654
exclude_branches: [ 6.2, 6.1, 6.0, 5.6, 5.5, 5.4, 5.3, 5.2, 5.1, 5.0, 2.4, 2.3, 2.2, 2.1, 2.0, 1.7, 1.6, 1.5, 1.4, 1.3, 0.90 ]
654655
- title: Java Transport Client (deprecated)
655656
prefix: java-api
656-
current: *stackcurrent
657+
current: 7.17
657658
branches: [ 7.17, 7.16, 7.15, 7.14, 7.13, 7.12, 7.11, 7.10, 7.9, 7.8, 7.7, 7.6, 7.5, 7.4, 7.3, 7.2, 7.1, 7.0, 6.8, 6.7, 6.6, 6.5, 6.4, 6.3, 6.2, 6.1, 6.0, 5.6, 5.5, 5.4, 5.3, 5.2, 5.1, 5.0, 2.4, 2.3, 2.2, 2.1, 2.0, 1.7, 1.6, 1.5, 1.4, 1.3, 0.90 ]
658-
live: *stacklive
659+
live: [7.17, 6.8]
659660
index: docs/java-api/index.asciidoc
660661
tags: Clients/Java
661662
subject: Clients
@@ -1200,7 +1201,6 @@ contents:
12001201
repo: beats
12011202
path: libbeat/docs
12021203
exclude_branches: [ 6.8, 6.7, 6.6, 6.5, 6.4, 6.3, 6.2, 6.1, 6.0, 5.6, 5.5, 5.4, 5.3, 5.2, 5.1, 5.0 ]
1203-
map_branches: *mapMainToMaster
12041204
-
12051205
repo: docs
12061206
path: shared/versions/stack/{version}.asciidoc
@@ -1794,8 +1794,8 @@ contents:
17941794
prefix: en/beats/libbeat
17951795
index: libbeat/docs/index.asciidoc
17961796
current: *stackcurrent
1797-
branches: [ master, 8.0, 7.17, 7.16, 7.15, 7.14, 7.13, 7.12, 7.11, 7.10, 7.9, 7.8, 7.7, 7.6, 7.5, 7.4, 7.3, 7.2, 7.1, 7.0, 6.8, 6.7, 6.6, 6.5, 6.4, 6.3, 6.2, 6.1, 6.0, 5.6, 5.5, 5.4, 5.3, 5.2, 5.1, 5.0, 1.3, 1.2, 1.1, 1.0.1]
1798-
live: *stacklive
1797+
branches: [ {main: master}, 8.0, 7.17, 7.16, 7.15, 7.14, 7.13, 7.12, 7.11, 7.10, 7.9, 7.8, 7.7, 7.6, 7.5, 7.4, 7.3, 7.2, 7.1, 7.0, 6.8, 6.7, 6.6, 6.5, 6.4, 6.3, 6.2, 6.1, 6.0, 5.6, 5.5, 5.4, 5.3, 5.2, 5.1, 5.0, 1.3, 1.2, 1.1, 1.0.1]
1798+
live: *stacklivemain
17991799
chunk: 1
18001800
tags: Libbeat/Reference
18011801
subject: libbeat
@@ -1819,8 +1819,8 @@ contents:
18191819
prefix: en/beats/auditbeat
18201820
index: auditbeat/docs/index.asciidoc
18211821
current: *stackcurrent
1822-
branches: [ master, 8.0, 7.17, 7.16, 7.15, 7.14, 7.13, 7.12, 7.11, 7.10, 7.9, 7.8, 7.7, 7.6, 7.5, 7.4, 7.3, 7.2, 7.1, 7.0, 6.8, 6.7, 6.6, 6.5, 6.4, 6.3, 6.2, 6.1, 6.0 ]
1823-
live: *stacklive
1822+
branches: [ {main: master}, 8.0, 7.17, 7.16, 7.15, 7.14, 7.13, 7.12, 7.11, 7.10, 7.9, 7.8, 7.7, 7.6, 7.5, 7.4, 7.3, 7.2, 7.1, 7.0, 6.8, 6.7, 6.6, 6.5, 6.4, 6.3, 6.2, 6.1, 6.0 ]
1823+
live: *stacklivemain
18241824
chunk: 1
18251825
tags: Auditbeat/Reference
18261826
respect_edit_url_overrides: true
@@ -1872,8 +1872,8 @@ contents:
18721872
prefix: en/beats/filebeat
18731873
index: filebeat/docs/index.asciidoc
18741874
current: *stackcurrent
1875-
branches: [ master, 8.0, 7.17, 7.16, 7.15, 7.14, 7.13, 7.12, 7.11, 7.10, 7.9, 7.8, 7.7, 7.6, 7.5, 7.4, 7.3, 7.2, 7.1, 7.0, 6.8, 6.7, 6.6, 6.5, 6.4, 6.3, 6.2, 6.1, 6.0, 5.6, 5.5, 5.4, 5.3, 5.2, 5.1, 5.0, 1.3, 1.2, 1.1, 1.0.1]
1876-
live: *stacklive
1875+
branches: [ {main: master}, 8.0, 7.17, 7.16, 7.15, 7.14, 7.13, 7.12, 7.11, 7.10, 7.9, 7.8, 7.7, 7.6, 7.5, 7.4, 7.3, 7.2, 7.1, 7.0, 6.8, 6.7, 6.6, 6.5, 6.4, 6.3, 6.2, 6.1, 6.0, 5.6, 5.5, 5.4, 5.3, 5.2, 5.1, 5.0, 1.3, 1.2, 1.1, 1.0.1]
1876+
live: *stacklivemain
18771877
chunk: 1
18781878
tags: Filebeat/Reference
18791879
respect_edit_url_overrides: true
@@ -1927,8 +1927,8 @@ contents:
19271927
prefix: en/beats/functionbeat
19281928
current: *stackcurrent
19291929
index: x-pack/functionbeat/docs/index.asciidoc
1930-
branches: [ master, 8.0, 7.17, 7.16, 7.15, 7.14, 7.13, 7.12, 7.11, 7.10, 7.9, 7.8, 7.7, 7.6, 7.5, 7.4, 7.3, 7.2, 7.1, 7.0, 6.8, 6.7, 6.6, 6.5 ]
1931-
live: *stacklive
1930+
branches: [ {main: master}, 8.0, 7.17, 7.16, 7.15, 7.14, 7.13, 7.12, 7.11, 7.10, 7.9, 7.8, 7.7, 7.6, 7.5, 7.4, 7.3, 7.2, 7.1, 7.0, 6.8, 6.7, 6.6, 6.5 ]
1931+
live: *stacklivemain
19321932
chunk: 1
19331933
tags: Functionbeat/Reference
19341934
respect_edit_url_overrides: true
@@ -1976,8 +1976,8 @@ contents:
19761976
prefix: en/beats/heartbeat
19771977
current: *stackcurrent
19781978
index: heartbeat/docs/index.asciidoc
1979-
branches: [ master, 8.0, 7.17, 7.16, 7.15, 7.14, 7.13, 7.12, 7.11, 7.10, 7.9, 7.8, 7.7, 7.6, 7.5, 7.4, 7.3, 7.2, 7.1, 7.0, 6.8, 6.7, 6.6, 6.5, 6.4, 6.3, 6.2, 6.1, 6.0, 5.6, 5.5, 5.4, 5.3, 5.2 ]
1980-
live: *stacklive
1979+
branches: [ {main: master}, 8.0, 7.17, 7.16, 7.15, 7.14, 7.13, 7.12, 7.11, 7.10, 7.9, 7.8, 7.7, 7.6, 7.5, 7.4, 7.3, 7.2, 7.1, 7.0, 6.8, 6.7, 6.6, 6.5, 6.4, 6.3, 6.2, 6.1, 6.0, 5.6, 5.5, 5.4, 5.3, 5.2 ]
1980+
live: *stacklivemain
19811981
chunk: 1
19821982
tags: Heartbeat/Reference
19831983
respect_edit_url_overrides: true
@@ -2023,8 +2023,8 @@ contents:
20232023
prefix: en/beats/metricbeat
20242024
index: metricbeat/docs/index.asciidoc
20252025
current: *stackcurrent
2026-
branches: [ master, 8.0, 7.17, 7.16, 7.15, 7.14, 7.13, 7.12, 7.11, 7.10, 7.9, 7.8, 7.7, 7.6, 7.5, 7.4, 7.3, 7.2, 7.1, 7.0, 6.8, 6.7, 6.6, 6.5, 6.4, 6.3, 6.2, 6.1, 6.0, 5.6, 5.5, 5.4, 5.3, 5.2, 5.1, 5.0 ]
2027-
live: *stacklive
2026+
branches: [ {main: master}, 8.0, 7.17, 7.16, 7.15, 7.14, 7.13, 7.12, 7.11, 7.10, 7.9, 7.8, 7.7, 7.6, 7.5, 7.4, 7.3, 7.2, 7.1, 7.0, 6.8, 6.7, 6.6, 6.5, 6.4, 6.3, 6.2, 6.1, 6.0, 5.6, 5.5, 5.4, 5.3, 5.2, 5.1, 5.0 ]
2027+
live: *stacklivemain
20282028
chunk: 1
20292029
tags: Metricbeat/Reference
20302030
respect_edit_url_overrides: true
@@ -2080,8 +2080,8 @@ contents:
20802080
prefix: en/beats/packetbeat
20812081
index: packetbeat/docs/index.asciidoc
20822082
current: *stackcurrent
2083-
branches: [ master, 8.0, 7.17, 7.16, 7.15, 7.14, 7.13, 7.12, 7.11, 7.10, 7.9, 7.8, 7.7, 7.6, 7.5, 7.4, 7.3, 7.2, 7.1, 7.0, 6.8, 6.7, 6.6, 6.5, 6.4, 6.3, 6.2, 6.1, 6.0, 5.6, 5.5, 5.4, 5.3, 5.2, 5.1, 5.0, 1.3, 1.2, 1.1, 1.0.1]
2084-
live: *stacklive
2083+
branches: [ {main: master}, 8.0, 7.17, 7.16, 7.15, 7.14, 7.13, 7.12, 7.11, 7.10, 7.9, 7.8, 7.7, 7.6, 7.5, 7.4, 7.3, 7.2, 7.1, 7.0, 6.8, 6.7, 6.6, 6.5, 6.4, 6.3, 6.2, 6.1, 6.0, 5.6, 5.5, 5.4, 5.3, 5.2, 5.1, 5.0, 1.3, 1.2, 1.1, 1.0.1]
2084+
live: *stacklivemain
20852085
chunk: 1
20862086
tags: Packetbeat/Reference
20872087
respect_edit_url_overrides: true
@@ -2123,8 +2123,8 @@ contents:
21232123
prefix: en/beats/winlogbeat
21242124
index: winlogbeat/docs/index.asciidoc
21252125
current: *stackcurrent
2126-
branches: [ master, 8.0, 7.17, 7.16, 7.15, 7.14, 7.13, 7.12, 7.11, 7.10, 7.9, 7.8, 7.7, 7.6, 7.5, 7.4, 7.3, 7.2, 7.1, 7.0, 6.8, 6.7, 6.6, 6.5, 6.4, 6.3, 6.2, 6.1, 6.0, 5.6, 5.5, 5.4, 5.3, 5.2, 5.1, 5.0, 1.3, 1.2, 1.1 ]
2127-
live: *stacklive
2126+
branches: [ {main: master}, 8.0, 7.17, 7.16, 7.15, 7.14, 7.13, 7.12, 7.11, 7.10, 7.9, 7.8, 7.7, 7.6, 7.5, 7.4, 7.3, 7.2, 7.1, 7.0, 6.8, 6.7, 6.6, 6.5, 6.4, 6.3, 6.2, 6.1, 6.0, 5.6, 5.5, 5.4, 5.3, 5.2, 5.1, 5.0, 1.3, 1.2, 1.1 ]
2127+
live: *stacklivemain
21282128
chunk: 1
21292129
tags: Winlogbeat/Reference
21302130
respect_edit_url_overrides: true
@@ -2165,9 +2165,9 @@ contents:
21652165
- title: Beats Developer Guide
21662166
prefix: en/beats/devguide
21672167
index: docs/devguide/index.asciidoc
2168-
current: master
2169-
branches: [ master, 8.0, 7.17, 7.16, 7.15, 7.14, 7.13, 7.12, 7.11, 7.10, 7.9, 7.8, 7.7, 7.6, 7.5, 7.4, 7.3, 7.2, 7.1, 7.0, 6.8, 6.7, 6.6, 6.5, 6.4, 6.3, 6.2, 6.1, 6.0 ]
2170-
live: *stacklive
2168+
current: main
2169+
branches: [ {main: master}, 8.0, 7.17, 7.16, 7.15, 7.14, 7.13, 7.12, 7.11, 7.10, 7.9, 7.8, 7.7, 7.6, 7.5, 7.4, 7.3, 7.2, 7.1, 7.0, 6.8, 6.7, 6.6, 6.5, 6.4, 6.3, 6.2, 6.1, 6.0 ]
2170+
live: *stacklivemain
21712171
chunk: 1
21722172
tags: Devguide/Reference
21732173
subject: Beats
@@ -2197,7 +2197,7 @@ contents:
21972197
prefix: en/beats/loggingplugin
21982198
current: *stackcurrent
21992199
index: x-pack/dockerlogbeat/docs/index.asciidoc
2200-
branches: [ master, 8.0, 7.17, 7.16, 7.15, 7.14, 7.13, 7.12, 7.11, 7.10, 7.9, 7.8, 7.7, 7.6 ]
2200+
branches: [ {main: master}, 8.0, 7.17, 7.16, 7.15, 7.14, 7.13, 7.12, 7.11, 7.10, 7.9, 7.8, 7.7, 7.6 ]
22012201
chunk: 1
22022202
tags: Elastic Logging Plugin/Reference
22032203
respect_edit_url_overrides: true

shared/attributes.asciidoc

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
:ref: https://www.elastic.co/guide/en/elasticsearch/reference/{branch}
22
:ref-bare: https://www.elastic.co/guide/en/elasticsearch/reference
33
:ref-80: https://www.elastic.co/guide/en/elasticsearch/reference/master
4-
:ref-7x: https://www.elastic.co/guide/en/elasticsearch/reference/7.16
4+
:ref-7x: https://www.elastic.co/guide/en/elasticsearch/reference/7.17
55
:ref-70: https://www.elastic.co/guide/en/elasticsearch/reference/7.0
66
:ref-60: https://www.elastic.co/guide/en/elasticsearch/reference/6.0
77
:ref-64: https://www.elastic.co/guide/en/elasticsearch/reference/6.4
@@ -61,7 +61,7 @@ Elastic-level pages
6161
:defguide: https://www.elastic.co/guide/en/elasticsearch/guide/2.x
6262
:painless: https://www.elastic.co/guide/en/elasticsearch/painless/{branch}
6363
:plugins: https://www.elastic.co/guide/en/elasticsearch/plugins/{branch}
64-
:plugins-7x: https://www.elastic.co/guide/en/elasticsearch/plugins/7.16
64+
:plugins-7x: https://www.elastic.co/guide/en/elasticsearch/plugins/7.17
6565
:plugins-6x: https://www.elastic.co/guide/en/elasticsearch/plugins/6.8
6666
:glossary: https://www.elastic.co/guide/en/elastic-stack-glossary/current
6767
:upgrade_guide: https://www.elastic.co/products/upgrade_guide
@@ -427,12 +427,3 @@ Legacy definitions
427427
:apm-overview-ref-70: https://www.elastic.co/guide/en/apm/get-started/7.0
428428
:apm-overview-ref-m: https://www.elastic.co/guide/en/apm/get-started/master
429429
:infra-guide: https://www.elastic.co/guide/en/infrastructure/guide/{branch}
430-
///////
431-
Temporarily reroute APM Agent links to the new APM documentation book
432-
///////
433-
ifeval::["{branch}"=="7.16"]
434-
:apm-server-ref: {apm-guide-ref}
435-
:apm-server-ref-v: {apm-guide-ref}
436-
:apm-overview-ref-v: {apm-guide-ref}
437-
:apm-get-started-ref: {apm-guide-ref}
438-
endif::[]

shared/versions/stack/7.16.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ release-state can be: released | prerelease | unreleased
2222
//////////
2323
is-current-version can be: true | false
2424
//////////
25-
:is-current-version: true
25+
:is-current-version: false
2626

2727
//////////
2828
hide-xpack-tags defaults to "false" (they are shown unless set to "true")

shared/versions/stack/7.17.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ bare_version never includes -alpha or -beta
1717
//////////
1818
release-state can be: released | prerelease | unreleased
1919
//////////
20-
:release-state: unreleased
20+
:release-state: released
2121

2222
//////////
2323
is-current-version can be: true | false
2424
//////////
25-
:is-current-version: false
25+
:is-current-version: true
2626

2727
//////////
2828
hide-xpack-tags defaults to "false" (they are shown unless set to "true")

shared/versions/stack/8.0.asciidoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
:version: 8.0.0-rc1
1+
:version: 8.0.0-rc2
22
////
33
bare_version never includes -alpha or -beta
44
////
55
:bare_version: 8.0.0
6-
:logstash_version: 8.0.0-rc1
7-
:elasticsearch_version: 8.0.0-rc1
8-
:kibana_version: 8.0.0-rc1
9-
:apm_server_version: 8.0.0-rc1
6+
:logstash_version: 8.0.0-rc2
7+
:elasticsearch_version: 8.0.0-rc2
8+
:kibana_version: 8.0.0-rc2
9+
:apm_server_version: 8.0.0-rc2
1010
:branch: 8.0
1111
:minor-version: 8.0
1212
:major-version: 8.x
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
include::7.16.asciidoc[]
1+
include::7.17.asciidoc[]

shared/versions/stack/master.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ bare_version never includes -alpha or -beta
1313
:prev-major-version: 7.x
1414
:prev-major-last: 7.17
1515
:major-version-only: 8
16-
:ecs_version: 8.1
16+
:ecs_version: 8.2
1717

1818
//////////
1919
release-state can be: released | prerelease | unreleased

0 commit comments

Comments
 (0)