Skip to content

Commit f455df1

Browse files
committed
ci: check OPTIONS.rst freshness [no changelog]
1 parent 1e27d5d commit f455df1

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,11 @@ docs_summary_check: ## check if there are unlinked documentation files
169169
@echo [DOCS-SUMMARY-MARKDOWN-CHECK]
170170
python3 tools/check_docs_summary.py
171171

172+
options_check: ## check that trezorctl OPTIONS.rst is up to date
173+
@echo [OPTIONS-RST-CHECK]
174+
$(MAKE) -C python doc
175+
git diff --exit-code -- python/docs/OPTIONS.rst
176+
172177
vendorheader: ## generate vendor header
173178
./core/tools/generate_vendorheader.sh --quiet
174179

@@ -201,7 +206,7 @@ hsm_keys_check:
201206

202207
gen: templates mocks icons protobuf vendorheader solana_templates bootloader_hashes lsgen tropic_model_config hsm_keys ## regenerate auto-generated files from sources
203208

204-
gen_check: templates_check mocks_check icons_check protobuf_check vendorheader_check solana_templates_check bootloader_hashes_check lsgen_check tropic_model_config_check hsm_keys_check ## check validity of auto-generated files
209+
gen_check: templates_check mocks_check icons_check protobuf_check options_check vendorheader_check solana_templates_check bootloader_hashes_check lsgen_check tropic_model_config_check hsm_keys_check ## check validity of auto-generated files
205210

206211
uvlock_check: ## check that uv.lock is up to date
207212
@echo [UVLOCK-CHECK]

python/docs/OPTIONS.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ Miscellaneous debug features.
197197
optiga-set-sec-max Set Optiga's security event counter to maximum.
198198
prodtest-t1 Perform a prodtest on Model One.
199199
record Record screen changes into a specified directory.
200+
set-battery-state Set emulated battery/power state (emulator only).
200201
set-log-filter Set logging filter string.
201202
202203
Device management commands - setup, recover seed, wipe, etc.
@@ -312,6 +313,7 @@ Evolu commands.
312313
Commands:
313314
get-delegated-identity-key Request the delegated identity key of this device.
314315
get-node Return the SLIP-21 node for Evolu.
316+
index-management
315317
sign-registration-request Sign a registration request for this device to be registered at...
316318
317319
FIDO2, U2F and WebAuthN management commands.

0 commit comments

Comments
 (0)