-
Notifications
You must be signed in to change notification settings - Fork 176
[ON week] Add language client examples to get-started/index-basics.md #3908
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
🔍 Preview links for changed docs |
915c963 to
75ccb18
Compare
- Extract code examples into _snippets/index-basics/ directory - Replace inline code blocks with include directives - Generate snippet files
|
It's necessary to pull all the examples into separate snippets and include them, otherwise it balloons the source page enormously. However, I'm on the fence about whether the The latest iteration of my script has a |
|
Putting this up for review for anybody interested in the approach, all feedback is welcome :) |
Uses https://github.com/elastic/request-converter
I've got a hacky Python script that automates adding multi-language code examples to docs pages.
Works around two bugs found in the converter itself(fixed in meantime!)I'll share and "document" the script itself as part of ON week summary.