mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 14:15:55 -06:00
docs: use scripts to bypass bugs in the readthedocs build system
Signed-off-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
This commit is contained in:
parent
9f69a755fa
commit
467f4cebc1
2 changed files with 5 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ build:
|
|||
python: "3.8"
|
||||
jobs:
|
||||
post_install:
|
||||
- sed -i -E 's/^ process identity for every yielded instance$/ \0/' "$(python3 -c "print(__import__('psutil').__file__)")"
|
||||
- bash docs/source/fix-psutil-docstring.sh
|
||||
|
||||
# Build documentation in the docs/ directory with Sphinx
|
||||
sphinx:
|
||||
|
|
|
|||
4
docs/source/fix-psutil-docstring.sh
Executable file
4
docs/source/fix-psutil-docstring.sh
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# shellcheck disable=SC2312
|
||||
exec sed -i -E 's/^ process identity for every yielded instance$/ \0/' "$(python3 -c "print(__import__('psutil').__file__)")"
|
||||
Loading…
Add table
Add a link
Reference in a new issue