Understand Verso deployment overlays
mainThe overlay.py script applies unified changes to all deployed versions in the postdeploy branch. This allows for global updates without modifying historical version tags.
Current Overlays:
noindexmeta tag: Injected into all HTML files in versioned directories exceptlatest/to prevent search engine indexing of old versions.- Canonical URL: Injected into all HTML files to point to the authoritative version under
latest/.
Best Practices for Overlays:
- Overlays should ideally be monotonic (only adding data, not changing existing contracts).
- Documents should fail gracefully if expected injected data is missing.