elastic / elastic/docs-builder

[Feature Request]: Set the current docs branch to a tag instead of a branch name

Open
#1,783 2 comments 0 reactions 1 assignee Claimed by @reakaleek View on GitHub
ai-triaged ai:eng-question enhancement stale
Dominant language
C#
Stars
24
Forks
44
Avg merge
1d 7h
Merged PRs (30d)
146

Description

### Prerequisites

- [x] I have searched existing issues to ensure this feature hasn't already been requested
- [x] I have tested using the latest version of docs-builder

### What problem are you trying to solve?

We currently have the option of setting a different publication branch per assembled repo. @SergeyKleyman suggested that we could instead use tags based on the current version in `versions.yml` as an option. That would ensure that the docs from the latest release are served instead of main's.

### Proposed Solution

In a snippet like this:

```
ecs:
current: 9.1 # releases do not always align with the Stack version
next: main
```

9.1 could be either the branch of the tag.

### Examples and Research

_No response_

### Alternative Solutions

_No response_

### Additional Context

_No response_

### How important is this feature to you?

Nice to have

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.