Skip to content

Commit 43ee56a

Browse files
authored
Add main branch to elasticsearch-ruby repo to docs build (#2198)
1 parent d8acfc4 commit 43ee56a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

conf.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -298,13 +298,14 @@ contents:
298298
repo: elasticsearch-ruby
299299
path: docs/examples/guide
300300
exclude_branches: [ 7.x, 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 ]
301+
map_branches: &mapMasterToMain
302+
master: main
301303
-
302304
alternatives: { source_lang: console, alternative_lang: go }
303305
repo: go-elasticsearch
304306
path: .doc/examples/doc/
305307
exclude_branches: [ 7.x, 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 ]
306-
map_branches: &mapMasterToMain
307-
master: main
308+
map_branches: *mapMasterToMain
308309
-
309310
repo: docs
310311
path: shared/versions/stack/{version}.asciidoc
@@ -455,8 +456,8 @@ contents:
455456
- title: Ruby API
456457
prefix: ruby-api
457458
current: 7.x
458-
branches: [ master, 7.x ]
459-
live: [ master, 7.x ]
459+
branches: [ {main: master}, 7.x ]
460+
live: [ main, 7.x ]
460461
index: docs/index.asciidoc
461462
chunk: 1
462463
tags: Clients/Ruby

0 commit comments

Comments
 (0)