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 5c02ef8 commit b6c2609Copy full SHA for b6c2609
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="bme280"
4
CONFIG=/boot/config.txt
5
DATESTAMP=`date "+%Y-%m-%d-%H-%M-%S"`
6
CONFIG_BACKUP=false
@@ -280,7 +281,7 @@ printf "\n"
280
281
if confirm "Would you like to generate documentation?"; then
282
pip_pkg_install pdoc
283
printf "Generating documentation.\n"
- $PYTHON -m pdoc $LIBRARY_NAME -o $RESOURCES_DIR/docs > /dev/null
284
+ $PYTHON -m pdoc $MODULE_NAME -o $RESOURCES_DIR/docs > /dev/null
285
if [ $? -eq 0 ]; then
286
inform "Documentation saved to $RESOURCES_DIR/docs"
287
success "Done!"
0 commit comments