diff --git a/.github/workflows/static_pages.yml b/.github/workflows/static_pages.yml index 55c874a..2e8d916 100644 --- a/.github/workflows/static_pages.yml +++ b/.github/workflows/static_pages.yml @@ -110,7 +110,7 @@ jobs: - name: Highlight API code and update HTML run: | - pygmentize -f html -l lua -O noclasses,style=monokai ./config.lua > _docs/pages/temp_api_code.html + pygmentize -f html -l lua -O noclasses,style=monokai classes/api/SpearheadApiDoc.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 @@ -118,7 +118,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_config_code.html + pygmentize -f html -l lua -O noclasses,style=monokai ./config.lua > _docs/pages/temp_config_code.html # Insert the highlighted code into the placeholder in spearheadapi.html sed -i '/@@CONFIG_CODE@@/r _docs/pages/temp_config_code.html' _docs/pages/reference.html sed -i '/@@CONFIG_CODE@@/d' _docs/pages/reference.html