diff --git a/scripts/generate_docs.sh b/scripts/generate_docs.sh index 9db101953..f2772e89a 100755 --- a/scripts/generate_docs.sh +++ b/scripts/generate_docs.sh @@ -1,9 +1,9 @@ #!/bin/sh # Run the generator inside gdb so everything resolves correctly. -uv run --group docs gdb --batch -nx --ex "source ./gdbinit.py" \ - --ex "set exception-verbose on" \ - --ex "source ./scripts/_gen_command_docs.py" \ - --ex "source ./scripts/_gen_configuration_docs.py" \ - --ex "source ./scripts/_gen_function_docs.py" \ - --quiet +uv run --group docs gdb --batch -nx -ix ./gdbinit.py \ + -iex "set exception-verbose on" \ + -ix ./scripts/_gen_command_docs.py \ + -ix ./scripts/_gen_configuration_docs.py \ + -ix ./scripts/_gen_function_docs.py \ + -nx diff --git a/scripts/verify_docs.sh b/scripts/verify_docs.sh index 5284b7ad6..844768b1a 100755 --- a/scripts/verify_docs.sh +++ b/scripts/verify_docs.sh @@ -3,9 +3,9 @@ # Tell the script to verify instead of generate files. export PWNDBG_GEN_DOC_JUST_VERIFY=1 # Run the verifier inside gdb so everything resolves correctly. -uv run --group docs gdb --batch -nx --ex "source ./gdbinit.py" \ - --ex "set exception-verbose on" \ - --ex "source ./scripts/_gen_command_docs.py" \ - --ex "source ./scripts/_gen_configuration_docs.py" \ - --ex "source ./scripts/_gen_function_docs.py" \ - --quiet +uv run --group docs gdb --batch -nx -ix ./gdbinit.py \ + -iex "set exception-verbose on" \ + -ix ./scripts/_gen_command_docs.py \ + -ix ./scripts/_gen_configuration_docs.py \ + -ix ./scripts/_gen_function_docs.py \ + -nx