22 lines
578 B
Python
22 lines
578 B
Python
#!/usr/bin/env python3
|
|
from pathlib import Path
|
|
import sys
|
|
|
|
out = Path(sys.argv[1])
|
|
out.parent.mkdir(parents=True, exist_ok=True)
|
|
out.write_text(
|
|
"""# Generated Documentation
|
|
|
|
This directory contains documentation generated automatically from repository configuration.
|
|
|
|
## Files
|
|
|
|
- [Compose file list](compose-files.txt)
|
|
- [Resolved Docker Compose config](docker-compose.resolved.yml)
|
|
- [Compose inventory](compose-inventory.md)
|
|
- [Traefik routes](traefik-routes.md)
|
|
- [Prometheus rules](prometheus-rules.md)
|
|
- [Docker Compose diagram](../diagrams/docker-compose.svg)
|
|
"""
|
|
)
|