From 476f9ed9100ed25d7a4c37eb6946d7831e3a9e09 Mon Sep 17 00:00:00 2001 From: Andrew Imeson Date: Mon, 19 May 2025 16:22:10 -0400 Subject: [PATCH] docs(cPanel): fix examples (#2529) --- docs/content/dns/zz_gen_cpanel.md | 14 +++++++------- providers/dns/cpanel/cpanel.toml | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/content/dns/zz_gen_cpanel.md b/docs/content/dns/zz_gen_cpanel.md index 2cbc5030c..48cb229e7 100644 --- a/docs/content/dns/zz_gen_cpanel.md +++ b/docs/content/dns/zz_gen_cpanel.md @@ -28,17 +28,17 @@ Here is an example bash command using the CPanel/WHM provider: ```bash ### CPANEL (default) -CPANEL_USERNAME = "yyyy" -CPANEL_TOKEN = "xxxx" -CPANEL_BASE_URL = "https://example.com:2083" \ +CPANEL_USERNAME="yyyy" \ +CPANEL_TOKEN="xxxx" \ +CPANEL_BASE_URL="https://example.com:2083" \ lego --email you@example.com --dns cpanel -d '*.example.com' -d example.com run ## WHM -CPANEL_MODE = whm -CPANEL_USERNAME = "yyyy" -CPANEL_TOKEN = "xxxx" -CPANEL_BASE_URL = "https://example.com:2087" \ +CPANEL_MODE=whm \ +CPANEL_USERNAME="yyyy" \ +CPANEL_TOKEN="xxxx" \ +CPANEL_BASE_URL="https://example.com:2087" \ lego --email you@example.com --dns cpanel -d '*.example.com' -d example.com run ``` diff --git a/providers/dns/cpanel/cpanel.toml b/providers/dns/cpanel/cpanel.toml index 6b7359e41..faed2abe2 100644 --- a/providers/dns/cpanel/cpanel.toml +++ b/providers/dns/cpanel/cpanel.toml @@ -7,17 +7,17 @@ Since = "v4.16.0" Example = ''' ### CPANEL (default) -CPANEL_USERNAME = "yyyy" -CPANEL_TOKEN = "xxxx" -CPANEL_BASE_URL = "https://example.com:2083" \ +CPANEL_USERNAME="yyyy" \ +CPANEL_TOKEN="xxxx" \ +CPANEL_BASE_URL="https://example.com:2083" \ lego --email you@example.com --dns cpanel -d '*.example.com' -d example.com run ## WHM -CPANEL_MODE = whm -CPANEL_USERNAME = "yyyy" -CPANEL_TOKEN = "xxxx" -CPANEL_BASE_URL = "https://example.com:2087" \ +CPANEL_MODE=whm \ +CPANEL_USERNAME="yyyy" \ +CPANEL_TOKEN="xxxx" \ +CPANEL_BASE_URL="https://example.com:2087" \ lego --email you@example.com --dns cpanel -d '*.example.com' -d example.com run '''