We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b87f55e commit 8d1ed4bCopy full SHA for 8d1ed4b
install.sh
@@ -1,5 +1,6 @@
1
#!/bin/bash
2
LIBRARY_NAME=$(grep -m 1 name pyproject.toml | awk -F" = " '{print substr($2,2,length($2)-2)}')
3
+MODULE_NAME="ioexpander"
4
CONFIG_FILE=config.txt
5
CONFIG_DIR="/boot/firmware"
6
DATESTAMP=$(date "+%Y-%m-%d-%H-%M-%S")
@@ -341,7 +342,7 @@ if confirm "Would you like to generate documentation?"; then
341
342
inform "Installing pdoc. Please wait..."
343
pip_pkg_install pdoc
344
inform "Generating documentation.\n"
- if $PYTHON -m pdoc "$LIBRARY_NAME" -o "$RESOURCES_DIR/docs" > /dev/null; then
345
+ if $PYTHON -m pdoc "$MODULE_NAME" -o "$RESOURCES_DIR/docs" > /dev/null; then
346
inform "Documentation saved to $RESOURCES_DIR/docs"
347
success "Done!"
348
else
0 commit comments