Skip to content

Commit 8ae8df6

Browse files
committed
[CHANGE] Added script for generating docs
1 parent c90b64d commit 8ae8df6

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

bin/generate_docs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
3+
set -o errexit
4+
set -o pipefail
5+
set -o nounset
6+
7+
SCRIPT_PATH=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
8+
BASE_PATH=$( cd -- "$( dirname -- "${SCRIPT_PATH}" )" &> /dev/null && pwd )
9+
10+
REPO_OWNER="${REPO_OWNER:-RouL}"
11+
REPO_NAME="${REPO_NAME:-devcontainer-features}"
12+
SRC_FOLDER="${SRC_FOLDER:-src}"
13+
14+
cd $BASE_PATH
15+
16+
devcontainer features generate-docs --project-folder $SRC_FOLDER --namespace $REPO_OWNER/$REPO_NAME --github-owner $REPO_OWNER --github-repo $REPO_NAME

0 commit comments

Comments
 (0)