-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI] Support code-snippet extraction and docs-updating (#3948)
- Loading branch information
Showing
12 changed files
with
69 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -26,3 +26,6 @@ assets/jsconfig.json | |
|
||
# Webstorm | ||
/.idea/** | ||
|
||
.dart_tool | ||
pubspec.lock |
This file contains 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
Submodule opentelemetry-go
added at
eabcef
This file contains 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 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,4 @@ | ||
# Examples | ||
|
||
The files in this folder are used to extract code snippets that are used in the | ||
docs. |
This file contains 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 @@ | ||
../content-modules/opentelemetry-go/example |
This file contains 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 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,11 @@ | ||
# Tools for handling code excerpts | ||
|
||
This directory contains the tooling, config, and data sources for managing code | ||
excerpts. This functionality is currently experimental, and used only by site | ||
maintainers. | ||
|
||
## Dependencies | ||
|
||
- **Dart**: for installation instructions, see [Get the Dart SDK]. | ||
|
||
[Get the Dart SDK]: https://dart.dev/get-dart |
This file contains 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,12 @@ | ||
targets: | ||
$default: | ||
sources: | ||
include: | ||
- examples/** | ||
# The following are included to avoid "required resources" tool warnings: | ||
- $package$ | ||
- lib/$lib$ | ||
# exclude: ['**/.*/**'] | ||
builders: | ||
code_excerpter|code_excerpter: | ||
enabled: true |
This file contains 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 @@ | ||
../../content/en/docs/languages/go |
This file contains 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 @@ | ||
../examples |
This file contains 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,16 @@ | ||
name: otel_io_excerpts | ||
publish_to: none | ||
|
||
environment: | ||
sdk: ^3.2.0 | ||
|
||
dev_dependencies: | ||
build_runner: ^2.4.6 | ||
code_excerpter: | ||
git: | ||
url: https://github.com/chalin/site-shared | ||
path: packages/code_excerpter | ||
code_excerpt_updater: | ||
git: | ||
url: https://github.com/chalin/site-shared | ||
path: packages/code_excerpt_updater |