Add schema-compliant automated settings rendering#2909
Open
theletterf wants to merge 3 commits intomainfrom
Open
Add schema-compliant automated settings rendering#2909theletterf wants to merge 3 commits intomainfrom
theletterf 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 |
Contributor
Author
|
@kilfoyle @florent-leborgne @bmorelli25 First attempt at rendering the new settings schema with nesting and applies_to support. Please stress test this thing. :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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