updated configuration documentation automation

This commit is contained in:
2025-05-10 17:37:44 +02:00
parent dc8ff93a8c
commit 0ea1e35cae
+1 -1
View File
@@ -110,7 +110,7 @@ jobs:
- name: Highlight API code and update HTML
run: |
pygmentize -f html -l lua -O noclasses,style=monokai classes/api/SpearheadApiDoc.lua > _docs/pages/temp_api_code.html
pygmentize -f html -l lua -O noclasses,style=monokai ./config.lua > _docs/pages/temp_api_code.html
# Insert the highlighted code into the placeholder in spearheadapi.html
sed -i '/@@API_CODE@@/r _docs/pages/temp_api_code.html' _docs/pages/spearheadapi.html
sed -i '/@@API_CODE@@/d' _docs/pages/spearheadapi.html