Sha256: 6ac33ca208eb68c113b3342a0ba1ec2e828f74d89d3f122eee1a1833010d99c9

Contents?: true

Size: 272 Bytes

Versions: 7

Compression:

Stored size: 272 Bytes

Contents

#!/usr/bin/env bash

OUTPUT=${1:-examples}
VERSIONS=${2:-v1,v2}

cd ${0%/*}

VERSIONS=(${VERSIONS//,/ })

for version in "${VERSIONS[@]}"; do
    ls docs/$version/*API.md | grep -v IPPrefixesAPI.md | xargs -n1 ./extract-code-blocks.awk -v output="${OUTPUT}/$version"
done

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
datadog_api_client-1.6.0 extract-code-blocks.sh
datadog_api_client-1.5.0 extract-code-blocks.sh
datadog_api_client-1.4.0 extract-code-blocks.sh
datadog_api_client-1.3.0 extract-code-blocks.sh
datadog_api_client-1.2.0 extract-code-blocks.sh
datadog_api_client-1.1.0 extract-code-blocks.sh
datadog_api_client-1.0.0 extract-code-blocks.sh