mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2025-07-01 17:22:39 +00:00
ci: Complete dev container configuration (#3052)
This commit is contained in:
25
run.sh
25
run.sh
@ -113,31 +113,8 @@ fi
|
||||
|
||||
# Set theme if insiders
|
||||
if $insiders ; then
|
||||
random_num=$RANDOM
|
||||
export BUILD_INSIDERS=true
|
||||
cmd_flags+=("--config-file=$PWD/.mkdocs-insiders-$random_num.yml")
|
||||
touch "$PWD/.mkdocs-insiders-$random_num.yml"
|
||||
cat <<EOT >> "$PWD/.mkdocs-insiders-$random_num.yml"
|
||||
INHERIT: mkdocs.yml
|
||||
|
||||
watch:
|
||||
- theme
|
||||
- includes
|
||||
- mkdocs.yml
|
||||
|
||||
markdown_extensions:
|
||||
material.extensions.preview:
|
||||
sources:
|
||||
exclude:
|
||||
- index.md
|
||||
- tools.md
|
||||
- about.md
|
||||
- about/*
|
||||
targets:
|
||||
exclude:
|
||||
- about/contributors.md
|
||||
EOT
|
||||
trap 'rm $PWD/.mkdocs-insiders-$random_num.yml' EXIT
|
||||
cmd_flags+=("--config-file=$PWD/mkdocs.insiders.yml")
|
||||
fi
|
||||
|
||||
# Run the command with the specified language
|
||||
|
Reference in New Issue
Block a user