diff --git a/bin/generate-docs.sh b/bin/generate-docs.sh deleted file mode 100755 index 2a43ca7e6799e..0000000000000 --- a/bin/generate-docs.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -declare -a packages=( - "e2e-test-utils" - "shortcode" -) - -for package in "${packages[@]}" -do - npx docgen packages/${package}/src/index.js --output packages/${package}/README.md --to-token; -done diff --git a/bin/update-readmes.js b/bin/update-readmes.js index c094bc57a5b2b..7fa3b9f6bd1c8 100755 --- a/bin/update-readmes.js +++ b/bin/update-readmes.js @@ -5,6 +5,7 @@ const childProcess = require( 'child_process' ); const packages = [ 'e2e-test-utils', + 'shortcode', ]; let aggregatedExitCode = 0;