elastic / elastic/docs-builder

Applies_to in LlmMarkdown output is not working

Open
#2,438 4 comments 2 reactions 2 assignees Claimed by @reakaleek View on GitHub
ai-triaged bug stale
Dominant language
C#
Stars
24
Forks
44
Avg merge
1d 7h
Merged PRs (30d)
146

Description

### Describe the bug

The page level applies_to definition is not shown in LLM markdown output.

and inline applies_to only shows the actual yaml for the source.

### Expected behavior

The LlmMarkdownRenderer should also handle applies_to from frontmatter and from directives and roles.

It should print a readable list similar to the applies_to dropdown content.

### Steps to reproduce

_No response_

### Tooling

- [x] docs-builder
- [ ] migration tooling
- [ ] I'm not sure

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.