From 3282d2faca68558bb0f90bbff07f93e17dad2825 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s?= Date: Tue, 5 Mar 2019 02:31:46 +0100 Subject: [PATCH] Use new script --- bin/generate-docs.sh | 11 ----------- bin/update-readmes.js | 1 + 2 files changed, 1 insertion(+), 11 deletions(-) delete mode 100755 bin/generate-docs.sh diff --git a/bin/generate-docs.sh b/bin/generate-docs.sh deleted file mode 100755 index 2a43ca7e6799e0..00000000000000 --- 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 c094bc57a5b2bc..7fa3b9f6bd1c8a 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;