ibm-cloud-docs / log-analysis

Documentation repository for log-analysis
1 stars 10 forks source link

INFRA-5846: Automate the generation of the endpoints #34

Closed mindjiver closed 1 year ago

mindjiver commented 1 year ago

Instead of manually updating the endpoints.md document we look up all the IPs from DNS and then generate all the tables. The final document is rendered from a jinj2 template.

The script is easiest run inside a virtual enviornment and by piping the output to the wanted markdown file.

virtualenv venv
source ./venv/bin/activate
pip install .
./venv/bin/generate_endpoints_markdown_document > endpoints.md