diff --git a/.github/workflows/update_wiki.yml b/.github/workflows/update_wiki.yml index 1694266a..cd013909 100644 --- a/.github/workflows/update_wiki.yml +++ b/.github/workflows/update_wiki.yml @@ -26,6 +26,7 @@ jobs: run: | python3 "./code/man/docgen" -M "./code/man/CMDLINE.template.md" \ "./code/src/" > "./wiki/Command-Line-Parameters.md" + cp -af "./code/docs/woofhud.md" "./wiki/Custom-HUD.md" - name: Push to wiki env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} @@ -34,4 +35,4 @@ jobs: git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git add . - git diff-index --quiet HEAD || git commit -m "Update CMDLINE.md" && git push + git diff-index --quiet HEAD || git commit -m "Update wiki" && git push diff --git a/man/CMDLINE.template.md b/man/CMDLINE.template.md index b7c800a7..dc97acfd 100644 --- a/man/CMDLINE.template.md +++ b/man/CMDLINE.template.md @@ -1,5 +1,3 @@ -# Command line parameters - This is a full list of the supported command line parameters. A number of additional parameters are supported in addition to those present in the DOS version. diff --git a/man/WoofInstall.cmake.in b/man/WoofInstall.cmake.in index 29b17cbb..143d66dd 100644 --- a/man/WoofInstall.cmake.in +++ b/man/WoofInstall.cmake.in @@ -14,12 +14,6 @@ if(Python3_EXECUTABLE) WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" OUTPUT_FILE "CMDLINE.txt") - execute_process(COMMAND - "${Python3_EXECUTABLE}" docgen -M CMDLINE.template.md - "${PROJECT_SOURCE_DIR}/src" - WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" - OUTPUT_FILE "CMDLINE.md") - if(UNIX AND NOT APPLE) execute_process(COMMAND "${Python3_EXECUTABLE}" docgen