Skip to content

Commit ad28c5b

Browse files
committed
chore: update makefile
fix: pingmessage.py warning chore: optimization chore: fix action rm: directory flag
1 parent 3e746e7 commit ad28c5b

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.github/workflows/docs-verify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ jobs:
2828
run: sudo apt-get update && sudo apt-get install -y doxygen
2929

3030
- name: Build docs
31-
run: make -C docs test
31+
run: make -C docs test BUILDDIR="_build/$output_dir"
3232

brping/pingmessage.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,7 @@ def parse_byte(self, msg_byte):
390390
'msg_byte' is the byte to parse.
391391
If it completes a valid message, returns PingParser.NEW_MESSAGE.
392392
The decoded PingMessage will be available in the self.rx_msg attribute
393-
until a new message is decoded.
394-
393+
until a new message is decoded.
395394
"""
396395
# Apply the relevant parsing method for the current state.
397396
# (offset by 1 because NEW_MESSAGE isn't processed - start at WAIT_START)

docs/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ setupenv:
2727
setup:
2828
$(POETRY) install --all-extras
2929
cd $(ROOT_DIR) && git submodule update --init
30-
cd $(ROOT_DIR) && $(POETRY) --directory docs run python generate/generate-python.py --output-dir=brping
31-
30+
$(POETRY) run python $(ROOT_DIR)/generate/generate-python.py --output-dir=$(ROOT_DIR)/brping
3231

3332
.PHONY: update
3433
update:
@@ -55,6 +54,7 @@ preview: setup
5554
# Testing commands
5655
.PHONY: test
5756
test: setup
57+
$(SPHINXBUILD) -b dirhtml $(TESTSPHINXOPTS) $(BUILDDIR)/dirhtml
5858
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
5959

6060
.PHONY: linkcheck

0 commit comments

Comments
 (0)