Deploying
Ship the add-on without tests/. docs/ ships. Dev tooling (PHPUnit, Composer, test scripts) lives outside the add-on in metacraft-dev/ and is never deployed.
rsync -a --delete \
--exclude 'tests/' \
--exclude '.DS_Store' \
system/user/addons/metacraft/ user@server:/path/to/site/system/user/addons/metacraft/
The same in a deploy tool's exclude list:
system/user/addons/metacraft/tests/
metacraft-dev/
To keep page content fresh for suggestions, add the capture command to cron (Reading pages).
On the real site, create its own sitemap.xml template and route (XML sitemaps).