* fix: remove license header from files * fix: updated docs and sample --------- Co-authored-by: Marcel S. Henselin <marcel.henselin@stackit.cloud>
17 lines
424 B
Bash
Executable file
17 lines
424 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# Pre-requisites: tfplugindocs
|
|
set -eo pipefail
|
|
|
|
ROOT_DIR=$(git rev-parse --show-toplevel)
|
|
EXAMPLES_DIR="${ROOT_DIR}/examples"
|
|
PROVIDER_NAME="stackitprivatepreview"
|
|
|
|
# Create a new empty directory for the docs
|
|
if [ -d ${ROOT_DIR}/docs ]; then
|
|
rm -rf ${ROOT_DIR}/docs
|
|
fi
|
|
mkdir -p ${ROOT_DIR}/docs
|
|
|
|
echo ">> Generating documentation"
|
|
tfplugindocs generate \
|
|
--provider-name "stackitprivatepreview"
|