From f94b2df49cb1649dfb87c1ac74b9fd6c6e0307e2 Mon Sep 17 00:00:00 2001 From: Simone Carletti Date: Fri, 18 Sep 2026 08:26:46 +0200 Subject: [PATCH] Fix stale developer site links Point each doc comment link at the page and the anchor that developer.dnsimple.com serves today. --- dnsimple/service/billing.py | 2 +- dnsimple/service/domains.py | 6 +++--- dnsimple/service/registrar.py | 16 ++++++++-------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/dnsimple/service/billing.py b/dnsimple/service/billing.py index 0bfef54a..25ee93a6 100644 --- a/dnsimple/service/billing.py +++ b/dnsimple/service/billing.py @@ -9,7 +9,7 @@ def list_charges(self, account: int, *, start_date=None, end_date=None, sort=Non """ Lists the billing charges for the account. - See https://developer.dnsimple.com/v2/billing/#listCharges + See https://developer.dnsimple.com/v2/billing-charges/#listCharges :param account: The account id diff --git a/dnsimple/service/domains.py b/dnsimple/service/domains.py index 7e1fffc1..b783d78b 100644 --- a/dnsimple/service/domains.py +++ b/dnsimple/service/domains.py @@ -20,7 +20,7 @@ def list_domains(self, account_id, sort=None, filter=None, page=None, per_page=N """ Lists the domains in the account. - See https://developer.dnsimple.com/v2/domains/#list + See https://developer.dnsimple.com/v2/domains/#listDomains :param account_id: int The account ID @@ -53,7 +53,7 @@ def create_domain(self, account_id, domain_name): """ Creates a domain in the account. - See https://developer.dnsimple.com/v2/domains/#create + See https://developer.dnsimple.com/v2/domains/#createDomain :param account_id: int The account ID @@ -334,7 +334,7 @@ def initiate_push(self, account_id, domain, push_input): """ Initiate a push for the domain. - See https://developer.dnsimple.com/v2/domains/pushes/#initiate + See https://developer.dnsimple.com/v2/domains/pushes/#initiateDomainPush :param account_id: int The account ID diff --git a/dnsimple/service/registrar.py b/dnsimple/service/registrar.py index 83c693a6..7265fcbf 100644 --- a/dnsimple/service/registrar.py +++ b/dnsimple/service/registrar.py @@ -361,7 +361,7 @@ def list_registrant_changes(self, account: int, options=None): """ List registrant changes in the account. - See https://developer.dnsimple.com/v2/registrar/#listRegistrantChanges + See https://developer.dnsimple.com/v2/registrar/registrant-changes/#listRegistrantChanges :param account: The account id @@ -377,7 +377,7 @@ def create_registrant_change( """ Start registrant change. - See https://developer.dnsimple.com/v2/registrar/#createRegistrantChange + See https://developer.dnsimple.com/v2/registrar/registrant-changes/#createRegistrantChange :param account: The account id @@ -391,7 +391,7 @@ def check_registrant_change( """ Retrieves the requirements of a registrant change. - See https://developer.dnsimple.com/v2/registrar/#checkRegistrantChange + See https://developer.dnsimple.com/v2/registrar/registrant-changes/#checkRegistrantChange :param account: The account id @@ -403,7 +403,7 @@ def get_registrant_change(self, account: int, registrantchange: int): """ Retrieves the details of an existing registrant change. - See https://developer.dnsimple.com/v2/registrar/#getRegistrantChange + See https://developer.dnsimple.com/v2/registrar/registrant-changes/#getRegistrantChange :param account: The account id @@ -419,7 +419,7 @@ def delete_registrant_change(self, account: int, registrantchange: int): """ Cancel an ongoing registrant change from the account. - See https://developer.dnsimple.com/v2/registrar/#deleteRegistrantChange + See https://developer.dnsimple.com/v2/registrar/registrant-changes/#deleteRegistrantChange :param account: The account id @@ -437,7 +437,7 @@ def get_domain_transfer_lock(self, account, domain): """ Gets the transfer lock status for a domain. - See https://developer.dnsimple.com/v2/registrar/#getDomainTransferLock + See https://developer.dnsimple.com/v2/registrar/transfer-lock/#getDomainTransferLock :param account: The account id @@ -451,7 +451,7 @@ def enable_domain_transfer_lock(self, account, domain): """ Locks the domain to prevent unauthorized transfers. - See https://developer.dnsimple.com/v2/registrar/#enableDomainTransferLock + See https://developer.dnsimple.com/v2/registrar/transfer-lock/#enableDomainTransferLock :param account: The account id @@ -465,7 +465,7 @@ def disable_domain_transfer_lock(self, account, domain): """ Unlocks the domain to allow domain transfers. - See https://developer.dnsimple.com/v2/registrar/#disableDomainTransferLock + See https://developer.dnsimple.com/v2/registrar/transfer-lock/#disableDomainTransferLock :param account: The account id