Fix render script filename extension bug
This commit is contained in:
parent
be02fa45d2
commit
cafe804d71
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
6190
docs/architecture.md
6190
docs/architecture.md
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -122,7 +122,7 @@ main() {
|
||||||
# 2. Render Modular Docs
|
# 2. Render Modular Docs
|
||||||
for tmpl in "${TEMPLATES_DIR}"/*.tmpl; do
|
for tmpl in "${TEMPLATES_DIR}"/*.tmpl; do
|
||||||
[[ -e "$tmpl" ]] || continue
|
[[ -e "$tmpl" ]] || continue
|
||||||
local filename=$(basename "$tmpl" .tmpl)
|
local filename=$(basename "$tmpl" .md.tmpl)
|
||||||
local output_file="${DOCS_DIR}/${filename}.md"
|
local output_file="${DOCS_DIR}/${filename}.md"
|
||||||
|
|
||||||
if [[ "${mode}" == "check" ]]; then
|
if [[ "${mode}" == "check" ]]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue