donate -> docs
This commit is contained in:
parent
b07322e846
commit
768c6c78f8
|
@ -271,10 +271,10 @@ include_questions(){
|
|||
/# Include{resources}/ { for (i=0;i<n;++i) print a[i]; next }
|
||||
1' templates/questions/resources.yaml ${target}/questions.yaml > "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml
|
||||
|
||||
# Replace # Include{donate} with the standard donate codesnippet
|
||||
# Replace # Include{documentation} with the standard documentation codesnippet
|
||||
awk 'NR==FNR { a[n++]=$0; next }
|
||||
/# Include{donate}/ { for (i=0;i<n;++i) print a[i]; next }
|
||||
1' templates/questions/donate.yaml ${target}/questions.yaml > "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml
|
||||
/# Include{documentation}/ { for (i=0;i<n;++i) print a[i]; next }
|
||||
1' templates/questions/documentation.yaml ${target}/questions.yaml > "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml
|
||||
|
||||
}
|
||||
export -f include_questions
|
||||
|
|
|
@ -22,4 +22,3 @@
|
|||
# schema:
|
||||
# type: boolean
|
||||
# default: true
|
||||
|
|
@ -363,10 +363,10 @@ include_questions(){
|
|||
/# Include{resources}/ { for (i=0;i<n;++i) print a[i]; next }
|
||||
1' templates/questions/resources.yaml ${target}/questions.yaml > "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml
|
||||
|
||||
# Replace # Include{donate} with the standard resources codesnippet
|
||||
# Replace # Include{documentation} with the standard resources codesnippet
|
||||
awk 'NR==FNR { a[n++]=$0; next }
|
||||
/# Include{donate}/ { for (i=0;i<n;++i) print a[i]; next }
|
||||
1' templates/questions/donate.yaml ${target}/questions.yaml > "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml
|
||||
/# Include{documentation}/ { for (i=0;i<n;++i) print a[i]; next }
|
||||
1' templates/questions/documentation.yaml ${target}/questions.yaml > "tmp${chartname}" && mv "tmp${chartname}" ${target}/questions.yaml
|
||||
|
||||
}
|
||||
export -f include_questions
|
||||
|
|
Loading…
Reference in New Issue