You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This creates the README.md files in `python/example_code/s3` and other folders.
@@ -147,3 +158,32 @@ And yes, building all readmes for all languages after changing metadata or templ
147
158
```
148
159
python -m writeme
149
160
```
161
+
162
+
### Catalog
163
+
Catalog.py is a tool to automatically generate service-level example catalogs (examples_catalog.json) from metadata using shared document generation tools.
164
+
165
+
This is an internal tool intended for use only by the AWS code examples team.
166
+
167
+
## Generate a Catalog
168
+
169
+
> These instructions assume you're running the commands from the `.tools/scanners`
170
+
> directory, using the venv installed there.
171
+
172
+
WRITEME creates content primarily from metadata you have already
173
+
authored for the SOS project. After you have authored metadata and snippet tags
174
+
for your examples, run the following command in the `.tools/scanners` folder:
Copy file name to clipboardExpand all lines: rustv1/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,7 @@ these examples in an isolated environment.
98
98
99
99
## Updating Rust Version
100
100
101
-
If a rust version releases (most likely) a clippy or has some other breaking change, the Weathertop dashboard will go red. The easiest way to handle this is to run `./tools/set_rust_version.py [rust_version]` (using a venv with the appropriate requirements), creating a commit with those updates, and then running `cargo clippy --fix` in the appropriate folder before making a second commit with those fixes. Line numbers will certainly change, so don't forget to run WRITEME - `./.tools/readmes/.venv/bin/python ./.tools/readmes/writeme.py --languages Rust:1`.
101
+
If a rust version releases (most likely) a clippy or has some other breaking change, the Weathertop dashboard will go red. The easiest way to handle this is to run `./tools/set_rust_version.py [rust_version]` (using a venv with the appropriate requirements), creating a commit with those updates, and then running `cargo clippy --fix` in the appropriate folder before making a second commit with those fixes. Line numbers will certainly change, so don't forget to run WRITEME - `./.tools/scanners/.venv/bin/python ./.tools/readmes/writeme.py --languages Rust:1`.
0 commit comments