Appendix: Scripts

Scripts

All scripts in the domus-captures repository.

Build and Navigation Scripts

Script Purpose Usage

sync-nav.sh

Synchronize nav.adoc with content changes

make sync-nav or ./sync-nav.sh

sync-worklog-nav.sh

Update worklog entries in chronicle navigation

Called by sync-nav.sh for chronological sections

update-carryover-days.sh

Calculate days-since-origin for tracker partials

make update-days or ./update-carryover-days.sh

update-monthly-index.sh

Generate monthly index pages from worklog entries

make update-index or ./update-monthly-index.sh

Audit and Migration Scripts

Script Purpose Usage

audit-worklogs.sh

Validate worklog completeness and structure

./audit-worklogs.sh

migrate-quijote.sh

Content migration utility for Don Quijote literature pages

./migrate-quijote.sh

mdn-cleanup-macros.sh (v1/v2/v3)

Migration cleanup scripts for MDN web docs content

./mdn-cleanup-macros-v3.sh

reMarkable Scripts

40+ Python scripts in scripts/remarkable/ for reMarkable PDF generation.

Category Purpose Usage

Vocabulary generators

Generate vocabulary study PDFs from word lists

make rm-vocab

Grammar generators

Generate grammar exercise PDFs

make rm-grammar

Dashboard generators

Generate study dashboard PDFs

make rm-dashboard

Worklog exporters

Convert daily worklogs to reMarkable-formatted PDFs

make rm-worklog

Certification material

Generate cert study guide PDFs

make rm-certs

Regex drills

Generate regex practice PDFs

make rm-regex

Upload utilities

Transfer generated PDFs to reMarkable tablet

make rm-upload