Add schema-compliant automated settings rendering#2909
Add schema-compliant automated settings rendering#2909theletterf wants to merge 3 commits intomainfrom
Conversation
…finitions. Implement the new automated settings schema across HTML and LLM output, normalize legacy [source,*] snippets to markdown fences, and expand docs/tests with comprehensive applies_to and nested-setting examples. Co-authored-by: OpenAI Assistant <assistant@openai.com> Made-with: Cursor
🔍 Preview links for changed docs |
|
@kilfoyle @florent-leborgne @bmorelli25 First attempt at rendering the new settings schema with nesting and applies_to support. Please stress test this thing. :) |
|
This looks great! I added six test Kibana YAML-formatted settings files via commit 47a847f. Those files caused a ton of errors. Sorry! In a short check, the errors seem to me to fall into four categories:
If we can achieve a clean build using these six test files, it would be good to check the internal links within and across files. Here's an example of each: Within-file linking In the file Cross-file linking In file If it helps for testing, I'd be happy to port these yaml files into a kibana-alert-action-settings.yml |
Summary
applies_to, metadata, and setting-level admonitions/examples[source,*]snippets in settings text to markdown fenced code blocks, and expand docs/examples/tests for the new schema behaviorCloses #760
Contributes to elastic/docs-content#5355
Test plan
dotnet test tests/Elastic.Markdown.Tests/Elastic.Markdown.Tests.csproj --filter \"FullyQualifiedName~SettingsInclusion\"dotnet test tests/authoring/authoring.fsproj --filter \"FullyQualifiedName~settings directive\"http://localhost:3000/syntax/automated_settingsfor nested setting tip/admonition rendering and no raw:::artifactsMade with Cursor