Skip to content

Commit

Permalink
Fix docs generation
Browse files Browse the repository at this point in the history
Signed-off-by: Heinz N. Gies <[email protected]>
  • Loading branch information
Licenser committed Apr 9, 2024
1 parent 8474d2f commit 931da7c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ extractor-docs:
scripts/gen.sh tremor-script/src/extractor extractors

connector-docs:
scripts/gen.sh tremor-connectors/src/impls connectors
scripts/gen.sh tremor-connectors/src/impls connectors
scripts/gen.sh tremor-connectors-gcp/src connectors
scripts/gen.sh tremor-connectors-aws/src connectors
2 changes: 1 addition & 1 deletion docs/scripts/gen.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BASE=$1 # src/codec
TARGET=$2 # codecs
for f in $(find ../${BASE}/*.rs | grep -v "/test.rs$" | sed -e "s;../${BASE}/;;g" -e 's;.rs$;;')
for f in $(find ../${BASE}/*.rs | grep -v "/test.rs$" | grep -v "/lib.rs$" | grep -v "/utils.rs$" | sed -e "s;../${BASE}/;;g" -e 's;.rs$;;')
do
name=$(echo ${f} | sed -e 's/_/-/g')
file="../${BASE}/${f}.rs"
Expand Down

0 comments on commit 931da7c

Please sign in to comment.