mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2025-07-23 06:41:02 -04:00
ci: Complete dev container configuration (#3052)
This commit is contained in:
parent
1c3f22015c
commit
fd0d995cf8
18 changed files with 404 additions and 538 deletions
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue