From 40b8cf0eca16cac18e81a96ab48a129193ad8805 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 1 Jan 2024 13:43:49 +0100 Subject: [PATCH] Support linkcheck ignore per module documentation If a linkcheck_ignore.json exists in the doc folder, it is loaded to extend the linkcheck_ignore configuration of Sphinx. --- .../{{ cookiecutter.module_name }}/doc/conf.py | 10 ++++++++++ modules/account/doc/conf.py | 10 ++++++++++ modules/account_asset/doc/conf.py | 10 ++++++++++ modules/account_be/doc/conf.py | 10 ++++++++++ modules/account_budget/doc/conf.py | 10 ++++++++++ modules/account_cash_rounding/doc/conf.py | 10 ++++++++++ modules/account_consolidation/doc/conf.py | 10 ++++++++++ modules/account_credit_limit/doc/conf.py | 10 ++++++++++ modules/account_de_skr03/doc/conf.py | 10 ++++++++++ modules/account_deposit/doc/conf.py | 10 ++++++++++ modules/account_dunning/doc/conf.py | 10 ++++++++++ modules/account_dunning_email/doc/conf.py | 10 ++++++++++ modules/account_dunning_fee/doc/conf.py | 10 ++++++++++ modules/account_dunning_letter/doc/conf.py | 10 ++++++++++ modules/account_es/doc/conf.py | 10 ++++++++++ modules/account_es_sii/doc/conf.py | 10 ++++++++++ modules/account_eu/doc/conf.py | 10 ++++++++++ modules/account_fr/doc/conf.py | 10 ++++++++++ modules/account_fr_chorus/doc/conf.py | 10 ++++++++++ modules/account_invoice/doc/conf.py | 10 ++++++++++ modules/account_invoice_correction/doc/conf.py | 10 ++++++++++ modules/account_invoice_defer/doc/conf.py | 10 ++++++++++ modules/account_invoice_history/doc/conf.py | 10 ++++++++++ modules/account_invoice_line_standalone/doc/conf.py | 10 ++++++++++ modules/account_invoice_secondary_unit/doc/conf.py | 10 ++++++++++ modules/account_invoice_stock/doc/conf.py | 10 ++++++++++ modules/account_invoice_watermark/doc/conf.py | 10 ++++++++++ modules/account_move_line_grouping/doc/conf.py | 10 ++++++++++ modules/account_payment/doc/conf.py | 10 ++++++++++ modules/account_payment_braintree/doc/conf.py | 10 ++++++++++ modules/account_payment_clearing/doc/conf.py | 10 ++++++++++ modules/account_payment_sepa/doc/conf.py | 10 ++++++++++ modules/account_payment_sepa_cfonb/doc/conf.py | 10 ++++++++++ modules/account_payment_stripe/doc/conf.py | 10 ++++++++++ modules/account_product/doc/conf.py | 10 ++++++++++ modules/account_receivable_rule/doc/conf.py | 10 ++++++++++ modules/account_rule/doc/conf.py | 10 ++++++++++ modules/account_statement/doc/conf.py | 10 ++++++++++ modules/account_statement_aeb43/doc/conf.py | 10 ++++++++++ modules/account_statement_coda/doc/conf.py | 10 ++++++++++ modules/account_statement_mt940/doc/conf.py | 10 ++++++++++ modules/account_statement_ofx/doc/conf.py | 10 ++++++++++ modules/account_statement_rule/doc/conf.py | 10 ++++++++++ modules/account_statement_sepa/doc/conf.py | 10 ++++++++++ modules/account_stock_anglo_saxon/doc/conf.py | 10 ++++++++++ modules/account_stock_continental/doc/conf.py | 10 ++++++++++ modules/account_stock_eu/doc/conf.py | 10 ++++++++++ modules/account_stock_landed_cost/doc/conf.py | 10 ++++++++++ modules/account_stock_landed_cost_weight/doc/conf.py | 10 ++++++++++ modules/account_stock_shipment_cost/doc/conf.py | 10 ++++++++++ modules/account_stock_shipment_cost_weight/doc/conf.py | 10 ++++++++++ modules/account_tax_cash/doc/conf.py | 10 ++++++++++ modules/account_tax_non_deductible/doc/conf.py | 10 ++++++++++ modules/account_tax_rule_country/doc/conf.py | 10 ++++++++++ modules/analytic_account/doc/conf.py | 10 ++++++++++ modules/analytic_budget/doc/conf.py | 10 ++++++++++ modules/analytic_invoice/doc/conf.py | 10 ++++++++++ modules/analytic_purchase/doc/conf.py | 10 ++++++++++ modules/analytic_sale/doc/conf.py | 10 ++++++++++ modules/attendance/doc/conf.py | 10 ++++++++++ modules/authentication_saml/doc/conf.py | 10 ++++++++++ modules/authentication_sms/doc/conf.py | 10 ++++++++++ modules/bank/doc/conf.py | 10 ++++++++++ modules/carrier/doc/conf.py | 10 ++++++++++ modules/carrier_carriage/doc/conf.py | 10 ++++++++++ modules/carrier_percentage/doc/conf.py | 10 ++++++++++ modules/carrier_subdivision/doc/conf.py | 10 ++++++++++ modules/carrier_weight/doc/conf.py | 10 ++++++++++ modules/commission/doc/conf.py | 10 ++++++++++ modules/commission_waiting/doc/conf.py | 10 ++++++++++ modules/company/doc/conf.py | 10 ++++++++++ modules/company_work_time/doc/conf.py | 10 ++++++++++ modules/country/doc/conf.py | 10 ++++++++++ modules/currency/doc/conf.py | 10 ++++++++++ modules/currency_ro/doc/conf.py | 10 ++++++++++ modules/currency_rs/doc/conf.py | 10 ++++++++++ modules/customs/doc/conf.py | 10 ++++++++++ modules/dashboard/doc/conf.py | 10 ++++++++++ modules/document_incoming/doc/conf.py | 10 ++++++++++ modules/document_incoming_invoice/doc/conf.py | 10 ++++++++++ modules/document_incoming_ocr/doc/conf.py | 10 ++++++++++ modules/document_incoming_ocr_typless/doc/conf.py | 10 ++++++++++ modules/edocument_uncefact/doc/conf.py | 10 ++++++++++ modules/edocument_unece/doc/conf.py | 10 ++++++++++ modules/google_maps/doc/conf.py | 10 ++++++++++ modules/inbound_email/doc/conf.py | 10 ++++++++++ modules/incoterm/doc/conf.py | 10 ++++++++++ modules/ldap_authentication/doc/conf.py | 10 ++++++++++ modules/marketing/doc/conf.py | 10 ++++++++++ modules/marketing_automation/doc/conf.py | 10 ++++++++++ modules/marketing_campaign/doc/conf.py | 10 ++++++++++ modules/marketing_email/doc/conf.py | 10 ++++++++++ modules/notification_email/doc/conf.py | 10 ++++++++++ modules/party/doc/conf.py | 10 ++++++++++ modules/party_avatar/doc/conf.py | 10 ++++++++++ modules/party_relationship/doc/conf.py | 10 ++++++++++ modules/party_siret/doc/conf.py | 10 ++++++++++ modules/product/doc/conf.py | 10 ++++++++++ modules/product_attribute/doc/conf.py | 10 ++++++++++ modules/product_classification/doc/conf.py | 10 ++++++++++ modules/product_classification_taxonomic/doc/conf.py | 10 ++++++++++ modules/product_cost_fifo/doc/conf.py | 10 ++++++++++ modules/product_cost_history/doc/conf.py | 10 ++++++++++ modules/product_cost_warehouse/doc/conf.py | 10 ++++++++++ modules/product_image/doc/conf.py | 10 ++++++++++ modules/product_image_attribute/doc/conf.py | 10 ++++++++++ modules/product_kit/doc/conf.py | 10 ++++++++++ modules/product_measurements/doc/conf.py | 10 ++++++++++ modules/product_price_list/doc/conf.py | 10 ++++++++++ modules/product_price_list_cache/doc/conf.py | 10 ++++++++++ modules/product_price_list_dates/doc/conf.py | 10 ++++++++++ modules/product_price_list_parent/doc/conf.py | 10 ++++++++++ modules/production/doc/conf.py | 10 ++++++++++ modules/production_outsourcing/doc/conf.py | 10 ++++++++++ modules/production_routing/doc/conf.py | 10 ++++++++++ modules/production_split/doc/conf.py | 10 ++++++++++ modules/production_work/doc/conf.py | 10 ++++++++++ modules/production_work_timesheet/doc/conf.py | 10 ++++++++++ modules/project/doc/conf.py | 10 ++++++++++ modules/project_invoice/doc/conf.py | 10 ++++++++++ modules/project_plan/doc/conf.py | 10 ++++++++++ modules/project_revenue/doc/conf.py | 10 ++++++++++ modules/purchase/doc/conf.py | 10 ++++++++++ modules/purchase_amendment/doc/conf.py | 10 ++++++++++ modules/purchase_blanket_agreement/doc/conf.py | 10 ++++++++++ modules/purchase_history/doc/conf.py | 10 ++++++++++ modules/purchase_invoice_line_standalone/doc/conf.py | 10 ++++++++++ modules/purchase_price_list/doc/conf.py | 10 ++++++++++ modules/purchase_product_quantity/doc/conf.py | 10 ++++++++++ modules/purchase_request/doc/conf.py | 10 ++++++++++ modules/purchase_request_quotation/doc/conf.py | 10 ++++++++++ modules/purchase_requisition/doc/conf.py | 10 ++++++++++ modules/purchase_secondary_unit/doc/conf.py | 10 ++++++++++ modules/purchase_shipment_cost/doc/conf.py | 10 ++++++++++ modules/quality/doc/conf.py | 10 ++++++++++ modules/sale/doc/conf.py | 10 ++++++++++ modules/sale_advance_payment/doc/conf.py | 10 ++++++++++ modules/sale_amendment/doc/conf.py | 10 ++++++++++ modules/sale_blanket_agreement/doc/conf.py | 10 ++++++++++ modules/sale_complaint/doc/conf.py | 10 ++++++++++ modules/sale_credit_limit/doc/conf.py | 10 ++++++++++ modules/sale_discount/doc/conf.py | 10 ++++++++++ modules/sale_extra/doc/conf.py | 10 ++++++++++ modules/sale_gift_card/doc/conf.py | 10 ++++++++++ modules/sale_history/doc/conf.py | 10 ++++++++++ modules/sale_invoice_date/doc/conf.py | 10 ++++++++++ modules/sale_invoice_grouping/doc/conf.py | 10 ++++++++++ modules/sale_opportunity/doc/conf.py | 10 ++++++++++ modules/sale_payment/doc/conf.py | 10 ++++++++++ modules/sale_point/doc/conf.py | 10 ++++++++++ modules/sale_price_list/doc/conf.py | 10 ++++++++++ modules/sale_product_customer/doc/conf.py | 10 ++++++++++ modules/sale_product_quantity/doc/conf.py | 10 ++++++++++ modules/sale_product_recommendation/doc/conf.py | 10 ++++++++++ .../doc/conf.py | 10 ++++++++++ modules/sale_promotion/doc/conf.py | 10 ++++++++++ modules/sale_promotion_coupon/doc/conf.py | 10 ++++++++++ modules/sale_promotion_coupon_payment/doc/conf.py | 10 ++++++++++ modules/sale_secondary_unit/doc/conf.py | 10 ++++++++++ modules/sale_shipment_cost/doc/conf.py | 10 ++++++++++ modules/sale_shipment_grouping/doc/conf.py | 10 ++++++++++ modules/sale_shipment_tolerance/doc/conf.py | 10 ++++++++++ modules/sale_stock_quantity/doc/conf.py | 10 ++++++++++ modules/sale_subscription/doc/conf.py | 10 ++++++++++ modules/sale_subscription_asset/doc/conf.py | 10 ++++++++++ modules/sale_supply/doc/conf.py | 10 ++++++++++ modules/sale_supply_drop_shipment/doc/conf.py | 10 ++++++++++ modules/sale_supply_production/doc/conf.py | 10 ++++++++++ modules/stock/doc/conf.py | 10 ++++++++++ modules/stock_assign_manual/doc/conf.py | 10 ++++++++++ modules/stock_consignment/doc/conf.py | 10 ++++++++++ modules/stock_forecast/doc/conf.py | 10 ++++++++++ modules/stock_inventory_location/doc/conf.py | 10 ++++++++++ modules/stock_location_move/doc/conf.py | 10 ++++++++++ modules/stock_location_sequence/doc/conf.py | 10 ++++++++++ modules/stock_lot/doc/conf.py | 10 ++++++++++ modules/stock_lot_sled/doc/conf.py | 10 ++++++++++ modules/stock_lot_unit/doc/conf.py | 10 ++++++++++ modules/stock_package/doc/conf.py | 10 ++++++++++ modules/stock_package_shipping/doc/conf.py | 10 ++++++++++ modules/stock_package_shipping_dpd/doc/conf.py | 10 ++++++++++ modules/stock_package_shipping_mygls/doc/conf.py | 10 ++++++++++ modules/stock_package_shipping_sendcloud/doc/conf.py | 10 ++++++++++ modules/stock_package_shipping_ups/doc/conf.py | 10 ++++++++++ modules/stock_product_location/doc/conf.py | 10 ++++++++++ modules/stock_quantity_early_planning/doc/conf.py | 10 ++++++++++ modules/stock_quantity_issue/doc/conf.py | 10 ++++++++++ modules/stock_secondary_unit/doc/conf.py | 10 ++++++++++ modules/stock_shipment_cost/doc/conf.py | 10 ++++++++++ modules/stock_shipment_cost_weight/doc/conf.py | 10 ++++++++++ modules/stock_shipment_measurements/doc/conf.py | 10 ++++++++++ modules/stock_split/doc/conf.py | 10 ++++++++++ modules/stock_supply/doc/conf.py | 10 ++++++++++ modules/stock_supply_day/doc/conf.py | 10 ++++++++++ modules/stock_supply_forecast/doc/conf.py | 10 ++++++++++ modules/stock_supply_production/doc/conf.py | 10 ++++++++++ modules/timesheet/doc/conf.py | 10 ++++++++++ modules/timesheet_cost/doc/conf.py | 10 ++++++++++ modules/user_role/doc/conf.py | 10 ++++++++++ modules/web_shop/doc/conf.py | 10 ++++++++++ modules/web_shop_shopify/doc/conf.py | 10 ++++++++++ modules/web_shop_vue_storefront/doc/conf.py | 10 ++++++++++ modules/web_shop_vue_storefront_stripe/doc/conf.py | 10 ++++++++++ modules/web_shortener/doc/conf.py | 10 ++++++++++ modules/web_user/doc/conf.py | 10 ++++++++++ 205 files changed, 2050 insertions(+) diff --git a/cookiecutter-module/{{ cookiecutter.module_name }}/doc/conf.py b/cookiecutter-module/{{ cookiecutter.module_name }}/doc/conf.py index c0cfbf6206..c93734a1a0 100644 --- a/cookiecutter-module/{{ cookiecutter.module_name }}/doc/conf.py +++ b/cookiecutter-module/{{ cookiecutter.module_name }}/doc/conf.py @@ -93,4 +93,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account/doc/conf.py b/modules/account/doc/conf.py index b6cf348991..a3bd6406bc 100644 --- a/modules/account/doc/conf.py +++ b/modules/account/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_asset/doc/conf.py b/modules/account_asset/doc/conf.py index 17ff54eb61..d4ed66c3d6 100644 --- a/modules/account_asset/doc/conf.py +++ b/modules/account_asset/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_be/doc/conf.py b/modules/account_be/doc/conf.py index 75f7a64ec0..1c7432c73d 100644 --- a/modules/account_be/doc/conf.py +++ b/modules/account_be/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_budget/doc/conf.py b/modules/account_budget/doc/conf.py index 63f9db4795..60bcdf1a87 100644 --- a/modules/account_budget/doc/conf.py +++ b/modules/account_budget/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_cash_rounding/doc/conf.py b/modules/account_cash_rounding/doc/conf.py index c270ffc298..f31a98039e 100644 --- a/modules/account_cash_rounding/doc/conf.py +++ b/modules/account_cash_rounding/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_consolidation/doc/conf.py b/modules/account_consolidation/doc/conf.py index 466cbb0b2f..ac12ea1481 100644 --- a/modules/account_consolidation/doc/conf.py +++ b/modules/account_consolidation/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_credit_limit/doc/conf.py b/modules/account_credit_limit/doc/conf.py index 470e146a95..cbd8a5190a 100644 --- a/modules/account_credit_limit/doc/conf.py +++ b/modules/account_credit_limit/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_de_skr03/doc/conf.py b/modules/account_de_skr03/doc/conf.py index f6def39458..c6ce149070 100644 --- a/modules/account_de_skr03/doc/conf.py +++ b/modules/account_de_skr03/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_deposit/doc/conf.py b/modules/account_deposit/doc/conf.py index c39ef0b722..96264d1bcd 100644 --- a/modules/account_deposit/doc/conf.py +++ b/modules/account_deposit/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_dunning/doc/conf.py b/modules/account_dunning/doc/conf.py index fdea85ee03..3899997df4 100644 --- a/modules/account_dunning/doc/conf.py +++ b/modules/account_dunning/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_dunning_email/doc/conf.py b/modules/account_dunning_email/doc/conf.py index 126e4de94b..f92920a75b 100644 --- a/modules/account_dunning_email/doc/conf.py +++ b/modules/account_dunning_email/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_dunning_fee/doc/conf.py b/modules/account_dunning_fee/doc/conf.py index 66b1e7461f..ae3312f0b3 100644 --- a/modules/account_dunning_fee/doc/conf.py +++ b/modules/account_dunning_fee/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_dunning_letter/doc/conf.py b/modules/account_dunning_letter/doc/conf.py index d7382f3d85..bc28079b99 100644 --- a/modules/account_dunning_letter/doc/conf.py +++ b/modules/account_dunning_letter/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_es/doc/conf.py b/modules/account_es/doc/conf.py index 216fca8850..d39fbca184 100644 --- a/modules/account_es/doc/conf.py +++ b/modules/account_es/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_es_sii/doc/conf.py b/modules/account_es_sii/doc/conf.py index 95b2a5ef1f..7e15c4c656 100644 --- a/modules/account_es_sii/doc/conf.py +++ b/modules/account_es_sii/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_eu/doc/conf.py b/modules/account_eu/doc/conf.py index fbfaa63c67..4e2bd3f7b1 100644 --- a/modules/account_eu/doc/conf.py +++ b/modules/account_eu/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_fr/doc/conf.py b/modules/account_fr/doc/conf.py index d2828fb3c4..02823f08c4 100644 --- a/modules/account_fr/doc/conf.py +++ b/modules/account_fr/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_fr_chorus/doc/conf.py b/modules/account_fr_chorus/doc/conf.py index faeacbb688..4126c77b30 100644 --- a/modules/account_fr_chorus/doc/conf.py +++ b/modules/account_fr_chorus/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_invoice/doc/conf.py b/modules/account_invoice/doc/conf.py index 3756e99943..cead1449fa 100644 --- a/modules/account_invoice/doc/conf.py +++ b/modules/account_invoice/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_invoice_correction/doc/conf.py b/modules/account_invoice_correction/doc/conf.py index 188e62a99f..430c865f5b 100644 --- a/modules/account_invoice_correction/doc/conf.py +++ b/modules/account_invoice_correction/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_invoice_defer/doc/conf.py b/modules/account_invoice_defer/doc/conf.py index 09982b0135..5708ac94a4 100644 --- a/modules/account_invoice_defer/doc/conf.py +++ b/modules/account_invoice_defer/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_invoice_history/doc/conf.py b/modules/account_invoice_history/doc/conf.py index a19d1e5ad5..33f0c90955 100644 --- a/modules/account_invoice_history/doc/conf.py +++ b/modules/account_invoice_history/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_invoice_line_standalone/doc/conf.py b/modules/account_invoice_line_standalone/doc/conf.py index 94e41ddf04..25a5ce4106 100644 --- a/modules/account_invoice_line_standalone/doc/conf.py +++ b/modules/account_invoice_line_standalone/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_invoice_secondary_unit/doc/conf.py b/modules/account_invoice_secondary_unit/doc/conf.py index 42fb0fea96..5a99d22cd4 100644 --- a/modules/account_invoice_secondary_unit/doc/conf.py +++ b/modules/account_invoice_secondary_unit/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_invoice_stock/doc/conf.py b/modules/account_invoice_stock/doc/conf.py index a65e2d584c..fc165ff928 100644 --- a/modules/account_invoice_stock/doc/conf.py +++ b/modules/account_invoice_stock/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_invoice_watermark/doc/conf.py b/modules/account_invoice_watermark/doc/conf.py index 58c98036c1..78f6ca5785 100644 --- a/modules/account_invoice_watermark/doc/conf.py +++ b/modules/account_invoice_watermark/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_move_line_grouping/doc/conf.py b/modules/account_move_line_grouping/doc/conf.py index d95cb85279..c0e7851aaa 100644 --- a/modules/account_move_line_grouping/doc/conf.py +++ b/modules/account_move_line_grouping/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_payment/doc/conf.py b/modules/account_payment/doc/conf.py index a17a1e4d27..96f2137571 100644 --- a/modules/account_payment/doc/conf.py +++ b/modules/account_payment/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_payment_braintree/doc/conf.py b/modules/account_payment_braintree/doc/conf.py index dbaca633ac..c1b0202114 100644 --- a/modules/account_payment_braintree/doc/conf.py +++ b/modules/account_payment_braintree/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_payment_clearing/doc/conf.py b/modules/account_payment_clearing/doc/conf.py index ae95119e32..807a340073 100644 --- a/modules/account_payment_clearing/doc/conf.py +++ b/modules/account_payment_clearing/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_payment_sepa/doc/conf.py b/modules/account_payment_sepa/doc/conf.py index 5a3d717809..618048cef5 100644 --- a/modules/account_payment_sepa/doc/conf.py +++ b/modules/account_payment_sepa/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_payment_sepa_cfonb/doc/conf.py b/modules/account_payment_sepa_cfonb/doc/conf.py index c8487b9722..2b11fb4820 100644 --- a/modules/account_payment_sepa_cfonb/doc/conf.py +++ b/modules/account_payment_sepa_cfonb/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_payment_stripe/doc/conf.py b/modules/account_payment_stripe/doc/conf.py index aa5a7906c8..487544aec8 100644 --- a/modules/account_payment_stripe/doc/conf.py +++ b/modules/account_payment_stripe/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_product/doc/conf.py b/modules/account_product/doc/conf.py index b4dc002836..5efca0c3ef 100644 --- a/modules/account_product/doc/conf.py +++ b/modules/account_product/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_receivable_rule/doc/conf.py b/modules/account_receivable_rule/doc/conf.py index affcd36f3a..99c6a9a91c 100644 --- a/modules/account_receivable_rule/doc/conf.py +++ b/modules/account_receivable_rule/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_rule/doc/conf.py b/modules/account_rule/doc/conf.py index 3bcc34ffda..997eca38b8 100644 --- a/modules/account_rule/doc/conf.py +++ b/modules/account_rule/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_statement/doc/conf.py b/modules/account_statement/doc/conf.py index e16dc41c97..cceeae2b22 100644 --- a/modules/account_statement/doc/conf.py +++ b/modules/account_statement/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_statement_aeb43/doc/conf.py b/modules/account_statement_aeb43/doc/conf.py index e50c7e8fcb..51480ea45a 100644 --- a/modules/account_statement_aeb43/doc/conf.py +++ b/modules/account_statement_aeb43/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_statement_coda/doc/conf.py b/modules/account_statement_coda/doc/conf.py index 41bd66f29a..9348de7ee5 100644 --- a/modules/account_statement_coda/doc/conf.py +++ b/modules/account_statement_coda/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_statement_mt940/doc/conf.py b/modules/account_statement_mt940/doc/conf.py index 73772b63ea..9a3c252d73 100644 --- a/modules/account_statement_mt940/doc/conf.py +++ b/modules/account_statement_mt940/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_statement_ofx/doc/conf.py b/modules/account_statement_ofx/doc/conf.py index 0b2ca8bc82..2509e145b2 100644 --- a/modules/account_statement_ofx/doc/conf.py +++ b/modules/account_statement_ofx/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_statement_rule/doc/conf.py b/modules/account_statement_rule/doc/conf.py index a4f85fbd35..89e617b352 100644 --- a/modules/account_statement_rule/doc/conf.py +++ b/modules/account_statement_rule/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_statement_sepa/doc/conf.py b/modules/account_statement_sepa/doc/conf.py index 5a1e9ccbef..4118d25204 100644 --- a/modules/account_statement_sepa/doc/conf.py +++ b/modules/account_statement_sepa/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_stock_anglo_saxon/doc/conf.py b/modules/account_stock_anglo_saxon/doc/conf.py index 2e577485bc..462546ecdc 100644 --- a/modules/account_stock_anglo_saxon/doc/conf.py +++ b/modules/account_stock_anglo_saxon/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_stock_continental/doc/conf.py b/modules/account_stock_continental/doc/conf.py index b53e335c5a..283da3c0d6 100644 --- a/modules/account_stock_continental/doc/conf.py +++ b/modules/account_stock_continental/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_stock_eu/doc/conf.py b/modules/account_stock_eu/doc/conf.py index 9e4c323ba5..240387d4a0 100644 --- a/modules/account_stock_eu/doc/conf.py +++ b/modules/account_stock_eu/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_stock_landed_cost/doc/conf.py b/modules/account_stock_landed_cost/doc/conf.py index 135ae10cb2..7166853869 100644 --- a/modules/account_stock_landed_cost/doc/conf.py +++ b/modules/account_stock_landed_cost/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_stock_landed_cost_weight/doc/conf.py b/modules/account_stock_landed_cost_weight/doc/conf.py index 84faf6ccf7..2f1bb3d290 100644 --- a/modules/account_stock_landed_cost_weight/doc/conf.py +++ b/modules/account_stock_landed_cost_weight/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_stock_shipment_cost/doc/conf.py b/modules/account_stock_shipment_cost/doc/conf.py index c9edeabbc7..91be18ddee 100644 --- a/modules/account_stock_shipment_cost/doc/conf.py +++ b/modules/account_stock_shipment_cost/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_stock_shipment_cost_weight/doc/conf.py b/modules/account_stock_shipment_cost_weight/doc/conf.py index b7dea0897d..11b0c71942 100644 --- a/modules/account_stock_shipment_cost_weight/doc/conf.py +++ b/modules/account_stock_shipment_cost_weight/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_tax_cash/doc/conf.py b/modules/account_tax_cash/doc/conf.py index 46cd8e8081..6063314962 100644 --- a/modules/account_tax_cash/doc/conf.py +++ b/modules/account_tax_cash/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_tax_non_deductible/doc/conf.py b/modules/account_tax_non_deductible/doc/conf.py index 2fcfab75c7..a76a8e4258 100644 --- a/modules/account_tax_non_deductible/doc/conf.py +++ b/modules/account_tax_non_deductible/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/account_tax_rule_country/doc/conf.py b/modules/account_tax_rule_country/doc/conf.py index 497038c44d..236858802c 100644 --- a/modules/account_tax_rule_country/doc/conf.py +++ b/modules/account_tax_rule_country/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/analytic_account/doc/conf.py b/modules/analytic_account/doc/conf.py index 22d5dc25aa..4612ded487 100644 --- a/modules/analytic_account/doc/conf.py +++ b/modules/analytic_account/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/analytic_budget/doc/conf.py b/modules/analytic_budget/doc/conf.py index 1613001bfb..5a6b19841c 100644 --- a/modules/analytic_budget/doc/conf.py +++ b/modules/analytic_budget/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/analytic_invoice/doc/conf.py b/modules/analytic_invoice/doc/conf.py index a3be8b8645..6fc8ebe355 100644 --- a/modules/analytic_invoice/doc/conf.py +++ b/modules/analytic_invoice/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/analytic_purchase/doc/conf.py b/modules/analytic_purchase/doc/conf.py index 93ee536ea0..95972b001e 100644 --- a/modules/analytic_purchase/doc/conf.py +++ b/modules/analytic_purchase/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/analytic_sale/doc/conf.py b/modules/analytic_sale/doc/conf.py index 85429b5c16..7cdcd14c5e 100644 --- a/modules/analytic_sale/doc/conf.py +++ b/modules/analytic_sale/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/attendance/doc/conf.py b/modules/attendance/doc/conf.py index 17d7c54af3..05330b6039 100644 --- a/modules/attendance/doc/conf.py +++ b/modules/attendance/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/authentication_saml/doc/conf.py b/modules/authentication_saml/doc/conf.py index 98d0704e61..74e6224c87 100644 --- a/modules/authentication_saml/doc/conf.py +++ b/modules/authentication_saml/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/authentication_sms/doc/conf.py b/modules/authentication_sms/doc/conf.py index 49ca514dbc..469d58af36 100644 --- a/modules/authentication_sms/doc/conf.py +++ b/modules/authentication_sms/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/bank/doc/conf.py b/modules/bank/doc/conf.py index 5e82109d93..e97f6a9b57 100644 --- a/modules/bank/doc/conf.py +++ b/modules/bank/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/carrier/doc/conf.py b/modules/carrier/doc/conf.py index cd2c7fa638..c1364fef6c 100644 --- a/modules/carrier/doc/conf.py +++ b/modules/carrier/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/carrier_carriage/doc/conf.py b/modules/carrier_carriage/doc/conf.py index 3f2aacf7e2..009badebbb 100644 --- a/modules/carrier_carriage/doc/conf.py +++ b/modules/carrier_carriage/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/carrier_percentage/doc/conf.py b/modules/carrier_percentage/doc/conf.py index 1cf9521f90..dd80e9d509 100644 --- a/modules/carrier_percentage/doc/conf.py +++ b/modules/carrier_percentage/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/carrier_subdivision/doc/conf.py b/modules/carrier_subdivision/doc/conf.py index f82055598d..2fcd0b095c 100644 --- a/modules/carrier_subdivision/doc/conf.py +++ b/modules/carrier_subdivision/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/carrier_weight/doc/conf.py b/modules/carrier_weight/doc/conf.py index 2b28af91d6..b48f6a584d 100644 --- a/modules/carrier_weight/doc/conf.py +++ b/modules/carrier_weight/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/commission/doc/conf.py b/modules/commission/doc/conf.py index b51e519a37..455273a4ed 100644 --- a/modules/commission/doc/conf.py +++ b/modules/commission/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/commission_waiting/doc/conf.py b/modules/commission_waiting/doc/conf.py index 9f39d4c7bb..7d6e148aba 100644 --- a/modules/commission_waiting/doc/conf.py +++ b/modules/commission_waiting/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/company/doc/conf.py b/modules/company/doc/conf.py index c02c03133a..02cbfb3a20 100644 --- a/modules/company/doc/conf.py +++ b/modules/company/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/company_work_time/doc/conf.py b/modules/company_work_time/doc/conf.py index 9e431b2cca..04c9e0f03e 100644 --- a/modules/company_work_time/doc/conf.py +++ b/modules/company_work_time/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/country/doc/conf.py b/modules/country/doc/conf.py index 38f4285b76..594ce5b62b 100644 --- a/modules/country/doc/conf.py +++ b/modules/country/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/currency/doc/conf.py b/modules/currency/doc/conf.py index 58882becf8..ebe7bc3449 100644 --- a/modules/currency/doc/conf.py +++ b/modules/currency/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/currency_ro/doc/conf.py b/modules/currency_ro/doc/conf.py index 2f930f14b1..d4f5008e74 100644 --- a/modules/currency_ro/doc/conf.py +++ b/modules/currency_ro/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/currency_rs/doc/conf.py b/modules/currency_rs/doc/conf.py index e28183be2c..f740fd0e06 100644 --- a/modules/currency_rs/doc/conf.py +++ b/modules/currency_rs/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/customs/doc/conf.py b/modules/customs/doc/conf.py index 26b55feb4e..5873d779ac 100644 --- a/modules/customs/doc/conf.py +++ b/modules/customs/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/dashboard/doc/conf.py b/modules/dashboard/doc/conf.py index f8aa8b4ea6..554156e959 100644 --- a/modules/dashboard/doc/conf.py +++ b/modules/dashboard/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/document_incoming/doc/conf.py b/modules/document_incoming/doc/conf.py index 9a5e880afa..9f0fc6d18f 100644 --- a/modules/document_incoming/doc/conf.py +++ b/modules/document_incoming/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/document_incoming_invoice/doc/conf.py b/modules/document_incoming_invoice/doc/conf.py index 5214874889..a75f8ed06e 100644 --- a/modules/document_incoming_invoice/doc/conf.py +++ b/modules/document_incoming_invoice/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/document_incoming_ocr/doc/conf.py b/modules/document_incoming_ocr/doc/conf.py index 2a17fb3083..cd06dd80cc 100644 --- a/modules/document_incoming_ocr/doc/conf.py +++ b/modules/document_incoming_ocr/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/document_incoming_ocr_typless/doc/conf.py b/modules/document_incoming_ocr_typless/doc/conf.py index 818c9e9f8c..d086b4a1eb 100644 --- a/modules/document_incoming_ocr_typless/doc/conf.py +++ b/modules/document_incoming_ocr_typless/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/edocument_uncefact/doc/conf.py b/modules/edocument_uncefact/doc/conf.py index 51e661e55d..1cb5d1c4a7 100644 --- a/modules/edocument_uncefact/doc/conf.py +++ b/modules/edocument_uncefact/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/edocument_unece/doc/conf.py b/modules/edocument_unece/doc/conf.py index fd049b4e4b..2d2a4229d7 100644 --- a/modules/edocument_unece/doc/conf.py +++ b/modules/edocument_unece/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/google_maps/doc/conf.py b/modules/google_maps/doc/conf.py index fbb76f24de..06ab02cef9 100644 --- a/modules/google_maps/doc/conf.py +++ b/modules/google_maps/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/inbound_email/doc/conf.py b/modules/inbound_email/doc/conf.py index 771fb167b4..7156e57a78 100644 --- a/modules/inbound_email/doc/conf.py +++ b/modules/inbound_email/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/incoterm/doc/conf.py b/modules/incoterm/doc/conf.py index fcaeab1ff4..47e18e5169 100644 --- a/modules/incoterm/doc/conf.py +++ b/modules/incoterm/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/ldap_authentication/doc/conf.py b/modules/ldap_authentication/doc/conf.py index 7e284cfbc5..6ab80a034e 100644 --- a/modules/ldap_authentication/doc/conf.py +++ b/modules/ldap_authentication/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/marketing/doc/conf.py b/modules/marketing/doc/conf.py index cf0d8783f7..e258c7e8f9 100644 --- a/modules/marketing/doc/conf.py +++ b/modules/marketing/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/marketing_automation/doc/conf.py b/modules/marketing_automation/doc/conf.py index e807249bfe..e0b3d6fc3a 100644 --- a/modules/marketing_automation/doc/conf.py +++ b/modules/marketing_automation/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/marketing_campaign/doc/conf.py b/modules/marketing_campaign/doc/conf.py index 8828b4f4be..e0e0a53be0 100644 --- a/modules/marketing_campaign/doc/conf.py +++ b/modules/marketing_campaign/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/marketing_email/doc/conf.py b/modules/marketing_email/doc/conf.py index 725be107de..4da7c09e17 100644 --- a/modules/marketing_email/doc/conf.py +++ b/modules/marketing_email/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/notification_email/doc/conf.py b/modules/notification_email/doc/conf.py index 9234df631d..55b372e480 100644 --- a/modules/notification_email/doc/conf.py +++ b/modules/notification_email/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/party/doc/conf.py b/modules/party/doc/conf.py index 800b3876da..7506f72224 100644 --- a/modules/party/doc/conf.py +++ b/modules/party/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/party_avatar/doc/conf.py b/modules/party_avatar/doc/conf.py index 125cdd70e6..42db07d7b6 100644 --- a/modules/party_avatar/doc/conf.py +++ b/modules/party_avatar/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/party_relationship/doc/conf.py b/modules/party_relationship/doc/conf.py index 84eae0faea..95fc31131e 100644 --- a/modules/party_relationship/doc/conf.py +++ b/modules/party_relationship/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/party_siret/doc/conf.py b/modules/party_siret/doc/conf.py index 90807b60c2..f62e971d9a 100644 --- a/modules/party_siret/doc/conf.py +++ b/modules/party_siret/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/product/doc/conf.py b/modules/product/doc/conf.py index 30fbc7ec5a..2caf8b2318 100644 --- a/modules/product/doc/conf.py +++ b/modules/product/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/product_attribute/doc/conf.py b/modules/product_attribute/doc/conf.py index 14db516fe8..37bbaa13e2 100644 --- a/modules/product_attribute/doc/conf.py +++ b/modules/product_attribute/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/product_classification/doc/conf.py b/modules/product_classification/doc/conf.py index 0476637b67..7fc424c9c1 100644 --- a/modules/product_classification/doc/conf.py +++ b/modules/product_classification/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/product_classification_taxonomic/doc/conf.py b/modules/product_classification_taxonomic/doc/conf.py index ec87aae636..cc1954dc57 100644 --- a/modules/product_classification_taxonomic/doc/conf.py +++ b/modules/product_classification_taxonomic/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/product_cost_fifo/doc/conf.py b/modules/product_cost_fifo/doc/conf.py index 5122c0b63b..7a8ed297fe 100644 --- a/modules/product_cost_fifo/doc/conf.py +++ b/modules/product_cost_fifo/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/product_cost_history/doc/conf.py b/modules/product_cost_history/doc/conf.py index e2213f0426..b9a7a10b07 100644 --- a/modules/product_cost_history/doc/conf.py +++ b/modules/product_cost_history/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/product_cost_warehouse/doc/conf.py b/modules/product_cost_warehouse/doc/conf.py index 4f3bb5ef52..3770f5d9a8 100644 --- a/modules/product_cost_warehouse/doc/conf.py +++ b/modules/product_cost_warehouse/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/product_image/doc/conf.py b/modules/product_image/doc/conf.py index b3dfd44d04..36511a0814 100644 --- a/modules/product_image/doc/conf.py +++ b/modules/product_image/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/product_image_attribute/doc/conf.py b/modules/product_image_attribute/doc/conf.py index 9cff6e8672..cb3b491f3a 100644 --- a/modules/product_image_attribute/doc/conf.py +++ b/modules/product_image_attribute/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/product_kit/doc/conf.py b/modules/product_kit/doc/conf.py index a3778e20d8..f62ce9f73f 100644 --- a/modules/product_kit/doc/conf.py +++ b/modules/product_kit/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/product_measurements/doc/conf.py b/modules/product_measurements/doc/conf.py index 09094766ec..35e69c797a 100644 --- a/modules/product_measurements/doc/conf.py +++ b/modules/product_measurements/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/product_price_list/doc/conf.py b/modules/product_price_list/doc/conf.py index 0608ff5e8e..450c9c203b 100644 --- a/modules/product_price_list/doc/conf.py +++ b/modules/product_price_list/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/product_price_list_cache/doc/conf.py b/modules/product_price_list_cache/doc/conf.py index ef0dec4fdd..72072b8e41 100644 --- a/modules/product_price_list_cache/doc/conf.py +++ b/modules/product_price_list_cache/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/product_price_list_dates/doc/conf.py b/modules/product_price_list_dates/doc/conf.py index d48afa81a6..d8b6871cdf 100644 --- a/modules/product_price_list_dates/doc/conf.py +++ b/modules/product_price_list_dates/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/product_price_list_parent/doc/conf.py b/modules/product_price_list_parent/doc/conf.py index 115b1e7405..387651e94f 100644 --- a/modules/product_price_list_parent/doc/conf.py +++ b/modules/product_price_list_parent/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/production/doc/conf.py b/modules/production/doc/conf.py index c82e793ecd..4e56f7b2da 100644 --- a/modules/production/doc/conf.py +++ b/modules/production/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/production_outsourcing/doc/conf.py b/modules/production_outsourcing/doc/conf.py index 0ad52a330b..e88c17efe1 100644 --- a/modules/production_outsourcing/doc/conf.py +++ b/modules/production_outsourcing/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/production_routing/doc/conf.py b/modules/production_routing/doc/conf.py index 98d03a61a7..42469672dd 100644 --- a/modules/production_routing/doc/conf.py +++ b/modules/production_routing/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/production_split/doc/conf.py b/modules/production_split/doc/conf.py index 0d15f5205d..bc37b5ed25 100644 --- a/modules/production_split/doc/conf.py +++ b/modules/production_split/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/production_work/doc/conf.py b/modules/production_work/doc/conf.py index 9404cd8eac..f3b09133dd 100644 --- a/modules/production_work/doc/conf.py +++ b/modules/production_work/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/production_work_timesheet/doc/conf.py b/modules/production_work_timesheet/doc/conf.py index 25009b3662..9251e92934 100644 --- a/modules/production_work_timesheet/doc/conf.py +++ b/modules/production_work_timesheet/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/project/doc/conf.py b/modules/project/doc/conf.py index 79649eef2c..8d8b86c610 100644 --- a/modules/project/doc/conf.py +++ b/modules/project/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/project_invoice/doc/conf.py b/modules/project_invoice/doc/conf.py index b1f68ffa7c..25ffbb63b3 100644 --- a/modules/project_invoice/doc/conf.py +++ b/modules/project_invoice/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/project_plan/doc/conf.py b/modules/project_plan/doc/conf.py index 7b99ebc3ea..a56b1bcb93 100644 --- a/modules/project_plan/doc/conf.py +++ b/modules/project_plan/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/project_revenue/doc/conf.py b/modules/project_revenue/doc/conf.py index 80f9874221..8076dc1dfe 100644 --- a/modules/project_revenue/doc/conf.py +++ b/modules/project_revenue/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/purchase/doc/conf.py b/modules/purchase/doc/conf.py index e6cccf420c..29d368da76 100644 --- a/modules/purchase/doc/conf.py +++ b/modules/purchase/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/purchase_amendment/doc/conf.py b/modules/purchase_amendment/doc/conf.py index d9d112d569..6e2486ad6d 100644 --- a/modules/purchase_amendment/doc/conf.py +++ b/modules/purchase_amendment/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/purchase_blanket_agreement/doc/conf.py b/modules/purchase_blanket_agreement/doc/conf.py index 4a5779e07a..372264fdf4 100644 --- a/modules/purchase_blanket_agreement/doc/conf.py +++ b/modules/purchase_blanket_agreement/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/purchase_history/doc/conf.py b/modules/purchase_history/doc/conf.py index ba73c9c9e2..bb20a176f0 100644 --- a/modules/purchase_history/doc/conf.py +++ b/modules/purchase_history/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/purchase_invoice_line_standalone/doc/conf.py b/modules/purchase_invoice_line_standalone/doc/conf.py index 9ad3810f12..9e3312b258 100644 --- a/modules/purchase_invoice_line_standalone/doc/conf.py +++ b/modules/purchase_invoice_line_standalone/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/purchase_price_list/doc/conf.py b/modules/purchase_price_list/doc/conf.py index 4e56a4895b..3f96f76070 100644 --- a/modules/purchase_price_list/doc/conf.py +++ b/modules/purchase_price_list/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/purchase_product_quantity/doc/conf.py b/modules/purchase_product_quantity/doc/conf.py index 73f00dfc29..270533326d 100644 --- a/modules/purchase_product_quantity/doc/conf.py +++ b/modules/purchase_product_quantity/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/purchase_request/doc/conf.py b/modules/purchase_request/doc/conf.py index 32edc2ce84..403b7c6421 100644 --- a/modules/purchase_request/doc/conf.py +++ b/modules/purchase_request/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/purchase_request_quotation/doc/conf.py b/modules/purchase_request_quotation/doc/conf.py index 179ca28abc..ca068d63e7 100644 --- a/modules/purchase_request_quotation/doc/conf.py +++ b/modules/purchase_request_quotation/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/purchase_requisition/doc/conf.py b/modules/purchase_requisition/doc/conf.py index 41c021a2f6..2d2517e213 100644 --- a/modules/purchase_requisition/doc/conf.py +++ b/modules/purchase_requisition/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/purchase_secondary_unit/doc/conf.py b/modules/purchase_secondary_unit/doc/conf.py index 8c81b10d04..896ac730f9 100644 --- a/modules/purchase_secondary_unit/doc/conf.py +++ b/modules/purchase_secondary_unit/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/purchase_shipment_cost/doc/conf.py b/modules/purchase_shipment_cost/doc/conf.py index 7f28bbe60b..b9641a95db 100644 --- a/modules/purchase_shipment_cost/doc/conf.py +++ b/modules/purchase_shipment_cost/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/quality/doc/conf.py b/modules/quality/doc/conf.py index 0a3f686fb8..55e8bb6771 100644 --- a/modules/quality/doc/conf.py +++ b/modules/quality/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale/doc/conf.py b/modules/sale/doc/conf.py index c2c8519200..842245eb83 100644 --- a/modules/sale/doc/conf.py +++ b/modules/sale/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_advance_payment/doc/conf.py b/modules/sale_advance_payment/doc/conf.py index 141a2b46d7..a27ad28b25 100644 --- a/modules/sale_advance_payment/doc/conf.py +++ b/modules/sale_advance_payment/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_amendment/doc/conf.py b/modules/sale_amendment/doc/conf.py index 180b30637e..907a5b3b57 100644 --- a/modules/sale_amendment/doc/conf.py +++ b/modules/sale_amendment/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_blanket_agreement/doc/conf.py b/modules/sale_blanket_agreement/doc/conf.py index 1ded7c395b..0fd3ba778b 100644 --- a/modules/sale_blanket_agreement/doc/conf.py +++ b/modules/sale_blanket_agreement/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_complaint/doc/conf.py b/modules/sale_complaint/doc/conf.py index bbecf00cb5..766d8d4db2 100644 --- a/modules/sale_complaint/doc/conf.py +++ b/modules/sale_complaint/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_credit_limit/doc/conf.py b/modules/sale_credit_limit/doc/conf.py index a95e2fcc40..519a03fc6a 100644 --- a/modules/sale_credit_limit/doc/conf.py +++ b/modules/sale_credit_limit/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_discount/doc/conf.py b/modules/sale_discount/doc/conf.py index b0112c187e..432d2a914c 100644 --- a/modules/sale_discount/doc/conf.py +++ b/modules/sale_discount/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_extra/doc/conf.py b/modules/sale_extra/doc/conf.py index feab55d813..350ed2f233 100644 --- a/modules/sale_extra/doc/conf.py +++ b/modules/sale_extra/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_gift_card/doc/conf.py b/modules/sale_gift_card/doc/conf.py index d89abd04e8..ddbba74537 100644 --- a/modules/sale_gift_card/doc/conf.py +++ b/modules/sale_gift_card/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_history/doc/conf.py b/modules/sale_history/doc/conf.py index 7033e1e105..60215891f5 100644 --- a/modules/sale_history/doc/conf.py +++ b/modules/sale_history/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_invoice_date/doc/conf.py b/modules/sale_invoice_date/doc/conf.py index 0ada4faa12..eb9f25137e 100644 --- a/modules/sale_invoice_date/doc/conf.py +++ b/modules/sale_invoice_date/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_invoice_grouping/doc/conf.py b/modules/sale_invoice_grouping/doc/conf.py index 2063d69e69..ae07327ddf 100644 --- a/modules/sale_invoice_grouping/doc/conf.py +++ b/modules/sale_invoice_grouping/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_opportunity/doc/conf.py b/modules/sale_opportunity/doc/conf.py index 6afa3e9d36..36f096e78f 100644 --- a/modules/sale_opportunity/doc/conf.py +++ b/modules/sale_opportunity/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_payment/doc/conf.py b/modules/sale_payment/doc/conf.py index d64bbfbd08..6021971bd1 100644 --- a/modules/sale_payment/doc/conf.py +++ b/modules/sale_payment/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_point/doc/conf.py b/modules/sale_point/doc/conf.py index 7d0bdc6612..7fa80fe93a 100644 --- a/modules/sale_point/doc/conf.py +++ b/modules/sale_point/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_price_list/doc/conf.py b/modules/sale_price_list/doc/conf.py index 169950d712..ed5ef68b22 100644 --- a/modules/sale_price_list/doc/conf.py +++ b/modules/sale_price_list/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_product_customer/doc/conf.py b/modules/sale_product_customer/doc/conf.py index ac912beebd..f782a4b128 100644 --- a/modules/sale_product_customer/doc/conf.py +++ b/modules/sale_product_customer/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_product_quantity/doc/conf.py b/modules/sale_product_quantity/doc/conf.py index 47f91abe22..1bbfa88cd7 100644 --- a/modules/sale_product_quantity/doc/conf.py +++ b/modules/sale_product_quantity/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_product_recommendation/doc/conf.py b/modules/sale_product_recommendation/doc/conf.py index 7935ae52ca..bd3084a219 100644 --- a/modules/sale_product_recommendation/doc/conf.py +++ b/modules/sale_product_recommendation/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_product_recommendation_association_rule/doc/conf.py b/modules/sale_product_recommendation_association_rule/doc/conf.py index afcfbe2aba..27832b5a46 100644 --- a/modules/sale_product_recommendation_association_rule/doc/conf.py +++ b/modules/sale_product_recommendation_association_rule/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_promotion/doc/conf.py b/modules/sale_promotion/doc/conf.py index 13477acf3d..cf50690547 100644 --- a/modules/sale_promotion/doc/conf.py +++ b/modules/sale_promotion/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_promotion_coupon/doc/conf.py b/modules/sale_promotion_coupon/doc/conf.py index defb691729..c95327ddce 100644 --- a/modules/sale_promotion_coupon/doc/conf.py +++ b/modules/sale_promotion_coupon/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_promotion_coupon_payment/doc/conf.py b/modules/sale_promotion_coupon_payment/doc/conf.py index aa5185b640..421ffbb41b 100644 --- a/modules/sale_promotion_coupon_payment/doc/conf.py +++ b/modules/sale_promotion_coupon_payment/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_secondary_unit/doc/conf.py b/modules/sale_secondary_unit/doc/conf.py index a85072487f..553921fef6 100644 --- a/modules/sale_secondary_unit/doc/conf.py +++ b/modules/sale_secondary_unit/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_shipment_cost/doc/conf.py b/modules/sale_shipment_cost/doc/conf.py index 8e2758effc..69d16afd51 100644 --- a/modules/sale_shipment_cost/doc/conf.py +++ b/modules/sale_shipment_cost/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_shipment_grouping/doc/conf.py b/modules/sale_shipment_grouping/doc/conf.py index ea9337fabd..6e55d874a8 100644 --- a/modules/sale_shipment_grouping/doc/conf.py +++ b/modules/sale_shipment_grouping/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_shipment_tolerance/doc/conf.py b/modules/sale_shipment_tolerance/doc/conf.py index 8dee18de53..b2ab0b45c3 100644 --- a/modules/sale_shipment_tolerance/doc/conf.py +++ b/modules/sale_shipment_tolerance/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_stock_quantity/doc/conf.py b/modules/sale_stock_quantity/doc/conf.py index 38c46fa891..92c92c99b7 100644 --- a/modules/sale_stock_quantity/doc/conf.py +++ b/modules/sale_stock_quantity/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_subscription/doc/conf.py b/modules/sale_subscription/doc/conf.py index 7c411fcaf8..e584a16374 100644 --- a/modules/sale_subscription/doc/conf.py +++ b/modules/sale_subscription/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_subscription_asset/doc/conf.py b/modules/sale_subscription_asset/doc/conf.py index ac9ebd31ac..f0106a70ad 100644 --- a/modules/sale_subscription_asset/doc/conf.py +++ b/modules/sale_subscription_asset/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_supply/doc/conf.py b/modules/sale_supply/doc/conf.py index b7e649089f..500b159ab1 100644 --- a/modules/sale_supply/doc/conf.py +++ b/modules/sale_supply/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_supply_drop_shipment/doc/conf.py b/modules/sale_supply_drop_shipment/doc/conf.py index 7bd5a83b91..a008091683 100644 --- a/modules/sale_supply_drop_shipment/doc/conf.py +++ b/modules/sale_supply_drop_shipment/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/sale_supply_production/doc/conf.py b/modules/sale_supply_production/doc/conf.py index aed4b355ee..ec0a19ee67 100644 --- a/modules/sale_supply_production/doc/conf.py +++ b/modules/sale_supply_production/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/stock/doc/conf.py b/modules/stock/doc/conf.py index 90406ab70c..45644fe3ae 100644 --- a/modules/stock/doc/conf.py +++ b/modules/stock/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/stock_assign_manual/doc/conf.py b/modules/stock_assign_manual/doc/conf.py index bc9637e1ed..c31da05948 100644 --- a/modules/stock_assign_manual/doc/conf.py +++ b/modules/stock_assign_manual/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/stock_consignment/doc/conf.py b/modules/stock_consignment/doc/conf.py index 6c0b2e5c34..3905c6277d 100644 --- a/modules/stock_consignment/doc/conf.py +++ b/modules/stock_consignment/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/stock_forecast/doc/conf.py b/modules/stock_forecast/doc/conf.py index 398520fc71..6164ed93fa 100644 --- a/modules/stock_forecast/doc/conf.py +++ b/modules/stock_forecast/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/stock_inventory_location/doc/conf.py b/modules/stock_inventory_location/doc/conf.py index 1c724d699d..bfc37c3735 100644 --- a/modules/stock_inventory_location/doc/conf.py +++ b/modules/stock_inventory_location/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/stock_location_move/doc/conf.py b/modules/stock_location_move/doc/conf.py index 17d2b07089..c693c32557 100644 --- a/modules/stock_location_move/doc/conf.py +++ b/modules/stock_location_move/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/stock_location_sequence/doc/conf.py b/modules/stock_location_sequence/doc/conf.py index 510aa208be..add988fa99 100644 --- a/modules/stock_location_sequence/doc/conf.py +++ b/modules/stock_location_sequence/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/stock_lot/doc/conf.py b/modules/stock_lot/doc/conf.py index ede04e87ee..1718ae030a 100644 --- a/modules/stock_lot/doc/conf.py +++ b/modules/stock_lot/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/stock_lot_sled/doc/conf.py b/modules/stock_lot_sled/doc/conf.py index 9b8654ec2d..162b7f0927 100644 --- a/modules/stock_lot_sled/doc/conf.py +++ b/modules/stock_lot_sled/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/stock_lot_unit/doc/conf.py b/modules/stock_lot_unit/doc/conf.py index 2ec149be52..7eeb9c8ba5 100644 --- a/modules/stock_lot_unit/doc/conf.py +++ b/modules/stock_lot_unit/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/stock_package/doc/conf.py b/modules/stock_package/doc/conf.py index 91ab4944ad..f12c36fde2 100644 --- a/modules/stock_package/doc/conf.py +++ b/modules/stock_package/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/stock_package_shipping/doc/conf.py b/modules/stock_package_shipping/doc/conf.py index 4967d2da56..c103b70f98 100644 --- a/modules/stock_package_shipping/doc/conf.py +++ b/modules/stock_package_shipping/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/stock_package_shipping_dpd/doc/conf.py b/modules/stock_package_shipping_dpd/doc/conf.py index 20ab563a6a..ddc2bdbdc6 100644 --- a/modules/stock_package_shipping_dpd/doc/conf.py +++ b/modules/stock_package_shipping_dpd/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/stock_package_shipping_mygls/doc/conf.py b/modules/stock_package_shipping_mygls/doc/conf.py index be5445b498..ba7458dc26 100644 --- a/modules/stock_package_shipping_mygls/doc/conf.py +++ b/modules/stock_package_shipping_mygls/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/stock_package_shipping_sendcloud/doc/conf.py b/modules/stock_package_shipping_sendcloud/doc/conf.py index ee221682ab..0505474de5 100644 --- a/modules/stock_package_shipping_sendcloud/doc/conf.py +++ b/modules/stock_package_shipping_sendcloud/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/stock_package_shipping_ups/doc/conf.py b/modules/stock_package_shipping_ups/doc/conf.py index 8c0381049b..d2b1dd7934 100644 --- a/modules/stock_package_shipping_ups/doc/conf.py +++ b/modules/stock_package_shipping_ups/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/stock_product_location/doc/conf.py b/modules/stock_product_location/doc/conf.py index 160e673624..65f5c8076d 100644 --- a/modules/stock_product_location/doc/conf.py +++ b/modules/stock_product_location/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/stock_quantity_early_planning/doc/conf.py b/modules/stock_quantity_early_planning/doc/conf.py index 0251ac32b1..03fae616fc 100644 --- a/modules/stock_quantity_early_planning/doc/conf.py +++ b/modules/stock_quantity_early_planning/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/stock_quantity_issue/doc/conf.py b/modules/stock_quantity_issue/doc/conf.py index 0230e14082..ec93dd373b 100644 --- a/modules/stock_quantity_issue/doc/conf.py +++ b/modules/stock_quantity_issue/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/stock_secondary_unit/doc/conf.py b/modules/stock_secondary_unit/doc/conf.py index 337777aa3f..5c73376f7a 100644 --- a/modules/stock_secondary_unit/doc/conf.py +++ b/modules/stock_secondary_unit/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/stock_shipment_cost/doc/conf.py b/modules/stock_shipment_cost/doc/conf.py index 9615855bd2..08e6229703 100644 --- a/modules/stock_shipment_cost/doc/conf.py +++ b/modules/stock_shipment_cost/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/stock_shipment_cost_weight/doc/conf.py b/modules/stock_shipment_cost_weight/doc/conf.py index b2cc0340fe..e9d5a3c387 100644 --- a/modules/stock_shipment_cost_weight/doc/conf.py +++ b/modules/stock_shipment_cost_weight/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/stock_shipment_measurements/doc/conf.py b/modules/stock_shipment_measurements/doc/conf.py index 3e2096c90e..38cc1e9ca3 100644 --- a/modules/stock_shipment_measurements/doc/conf.py +++ b/modules/stock_shipment_measurements/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/stock_split/doc/conf.py b/modules/stock_split/doc/conf.py index eee5883f60..32ffe105f8 100644 --- a/modules/stock_split/doc/conf.py +++ b/modules/stock_split/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/stock_supply/doc/conf.py b/modules/stock_supply/doc/conf.py index 61c5ec5ea5..70c43dd8d8 100644 --- a/modules/stock_supply/doc/conf.py +++ b/modules/stock_supply/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/stock_supply_day/doc/conf.py b/modules/stock_supply_day/doc/conf.py index e1ede01ce7..74c0c0fffb 100644 --- a/modules/stock_supply_day/doc/conf.py +++ b/modules/stock_supply_day/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/stock_supply_forecast/doc/conf.py b/modules/stock_supply_forecast/doc/conf.py index b20c7e605d..fbd9a13ef1 100644 --- a/modules/stock_supply_forecast/doc/conf.py +++ b/modules/stock_supply_forecast/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/stock_supply_production/doc/conf.py b/modules/stock_supply_production/doc/conf.py index 5abd82d3ac..1726a376c9 100644 --- a/modules/stock_supply_production/doc/conf.py +++ b/modules/stock_supply_production/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/timesheet/doc/conf.py b/modules/timesheet/doc/conf.py index 58bcafd142..8ccd655796 100644 --- a/modules/timesheet/doc/conf.py +++ b/modules/timesheet/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/timesheet_cost/doc/conf.py b/modules/timesheet_cost/doc/conf.py index 047ee68032..8d76258edf 100644 --- a/modules/timesheet_cost/doc/conf.py +++ b/modules/timesheet_cost/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/user_role/doc/conf.py b/modules/user_role/doc/conf.py index 4eb5576d06..c0651ef52b 100644 --- a/modules/user_role/doc/conf.py +++ b/modules/user_role/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/web_shop/doc/conf.py b/modules/web_shop/doc/conf.py index 5dec7962a0..8f87342712 100644 --- a/modules/web_shop/doc/conf.py +++ b/modules/web_shop/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/web_shop_shopify/doc/conf.py b/modules/web_shop_shopify/doc/conf.py index 81732cfd4c..26163bdf76 100644 --- a/modules/web_shop_shopify/doc/conf.py +++ b/modules/web_shop_shopify/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/web_shop_vue_storefront/doc/conf.py b/modules/web_shop_vue_storefront/doc/conf.py index 43316befbb..6cdc09664f 100644 --- a/modules/web_shop_vue_storefront/doc/conf.py +++ b/modules/web_shop_vue_storefront/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/web_shop_vue_storefront_stripe/doc/conf.py b/modules/web_shop_vue_storefront_stripe/doc/conf.py index f7fca24ea5..f5ce4d6704 100644 --- a/modules/web_shop_vue_storefront_stripe/doc/conf.py +++ b/modules/web_shop_vue_storefront_stripe/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/web_shortener/doc/conf.py b/modules/web_shortener/doc/conf.py index 96c4481fcc..3112459eb7 100644 --- a/modules/web_shortener/doc/conf.py +++ b/modules/web_shortener/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url diff --git a/modules/web_user/doc/conf.py b/modules/web_user/doc/conf.py index ae2aa7dce6..2f646f9dbc 100644 --- a/modules/web_user/doc/conf.py +++ b/modules/web_user/doc/conf.py @@ -85,4 +85,14 @@ intersphinx_mapping.update({ }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +try: + with open(os.path.join( + os.path.dirname(__file__), + 'linkcheck_ignore.json'), 'r') as f: + import json + linkcheck_ignore.extend(json.load(f)) + del json +except FileNotFoundError: + pass + del get_info, info, base_url, modules_url, trytond_url