-
Notifications
You must be signed in to change notification settings - Fork 294
(feat) Migrate all markdown generation to use JINJA snippets #1000
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
Merged
jsuereth
merged 52 commits into
open-telemetry:main
from
jsuereth:wip-weaver-snippet-generation
May 15, 2024
Merged
Changes from 50 commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
4c5619a
Update makefile so weaver generates ALL snippets using templates.
jsuereth 92761a4
Update snippet templates to be more accurate.
jsuereth ca094cc
Run table generation.
jsuereth 1990a9f
Update to use new sorting for attributes.
jsuereth 8b9263b
Cleanup some whitespace issues.
jsuereth e4d209c
Appropriately render instrument types.
jsuereth 350fb4a
Fix attribute registry links.
jsuereth cc54cb7
Add tag filtering to template.
jsuereth 7df545f
Also filter enums by tag.
jsuereth f0931af
Fix enum table values.
jsuereth e1eb1c4
Share enum table macro between registry and snippets.
jsuereth 72548c0
Remove odd passing of dependency.
jsuereth 3119f1d
Fix requirement level.
jsuereth 092be4e
Update requirement to optionally do notes.
jsuereth 68fd3f5
Update snippet start/end.
jsuereth 8412a09
Fix example ordering logic.
jsuereth d80446c
remove some unneeded whitespace.
jsuereth bdecec7
Remove another whitespace issue.
jsuereth 2fd885c
Remove newline on enum table template.
jsuereth c6a4d27
Fix enum table to use id instead of value when no description.
jsuereth b5d99ec
more attempted whitespace fixes and cleanups.
jsuereth b86530d
Fix more whitespace issues around enum tables.
jsuereth 6f244c2
Disbale markdown linter on autogen code.
jsuereth e934db7
update table check to use jinja templates.
jsuereth c2bb2f6
Actually disable markdown lint on snippets.
jsuereth e0d5dc3
Fix markdownlint enable/disable.
jsuereth b0cbc77
Add changelog.
jsuereth 613292e
Merge remote-tracking branch 'origin/main' into wip-weaver-snippet-ge…
jsuereth 8b5c7ad
Fix merge issues.
jsuereth 009106d
Fix enum filtering and not rendering empty tables.
jsuereth 0631394
Add sampling relevant attributes.
jsuereth 5c1b4e2
Move sampling relevant sections to the right location.
jsuereth a831fd5
Clean up enum table rendering.
jsuereth e8e789f
Merge remote-tracking branch 'origin/main' into wip-weaver-snippet-ge…
jsuereth f2e7a39
Fixes from merge of main.
jsuereth 0aed8ba
Merge remote-tracking branch 'origin/main' into wip-weaver-snippet-ge…
jsuereth 086a4ad
Fix markdown from latest merge.
jsuereth d9ea0a2
Clean up templates to use more macros in consistent locatoins.
jsuereth 391c736
Sort sampling relevant attributes for consistent rendering.
jsuereth c98339e
Merge main.
jsuereth 03d5b6f
Merge main.
jsuereth b2801c9
Fix sorting for sampling attributes to be stable.
jsuereth 4d6994d
Merge remote-tracking branch 'origin/main' into wip-weaver-snippet-ge…
jsuereth bead7e1
merge main.
jsuereth b201acd
Pull in fix for markdown snippet id parsing.
jsuereth cb699b9
Merge main.
jsuereth f2daaee
Merge main.
jsuereth ba22e4b
Add end of lines to macros files.
jsuereth a41e88f
Render event names again.
jsuereth c2076be
Fix event name logic.
jsuereth 3ded9df
Update docs to link to weaver for markdown gen
jsuereth 1e94921
Fix link
jsuereth File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| change_type: enhancement | ||
|
|
||
| component: all | ||
|
|
||
| note: Markdown snippets are now generated by jinja templates in the `templates` directory. | ||
|
|
||
| issues: [1000] |
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.