Initial commit
This commit is contained in:
commit
e4c8a6fbf4
186 changed files with 29501 additions and 0 deletions
17
scripts/tfplugindocs.sh
Executable file
17
scripts/tfplugindocs.sh
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
# Pre-requisites: tfplugindocs
|
||||
set -eo pipefail
|
||||
|
||||
ROOT_DIR=$(git rev-parse --show-toplevel)
|
||||
EXAMPLES_DIR="${ROOT_DIR}/examples"
|
||||
PROVIDER_NAME="stackit"
|
||||
|
||||
# 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 "stackit"
|
||||
Loading…
Add table
Add a link
Reference in a new issue