mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-09 04:37:41 -04:00
copy woofhud.md to wiki, update CMDLINE.template.md
This commit is contained in:
parent
7c22eba4ba
commit
d69f9468f1
3
.github/workflows/update_wiki.yml
vendored
3
.github/workflows/update_wiki.yml
vendored
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user