diff --git a/cookiecutter-module/{{ cookiecutter.module_name }}/doc/conf.py b/cookiecutter-module/{{ cookiecutter.module_name }}/doc/conf.py index 9b2108968e..50d020c43c 100644 --- a/cookiecutter-module/{{ cookiecutter.module_name }}/doc/conf.py +++ b/cookiecutter-module/{{ cookiecutter.module_name }}/doc/conf.py @@ -100,6 +100,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account/doc/conf.py b/modules/account/doc/conf.py index 0f9adb809c..c17adbbdb3 100644 --- a/modules/account/doc/conf.py +++ b/modules/account/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_asset/doc/conf.py b/modules/account_asset/doc/conf.py index 8e98ce0bdb..86b4e0ce25 100644 --- a/modules/account_asset/doc/conf.py +++ b/modules/account_asset/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_be/doc/conf.py b/modules/account_be/doc/conf.py index 697de855c1..461d21e5bf 100644 --- a/modules/account_be/doc/conf.py +++ b/modules/account_be/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_budget/doc/conf.py b/modules/account_budget/doc/conf.py index c84d7e4ce5..b7abcb196f 100644 --- a/modules/account_budget/doc/conf.py +++ b/modules/account_budget/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_cash_rounding/doc/conf.py b/modules/account_cash_rounding/doc/conf.py index c6dfda3543..aeaeaba3de 100644 --- a/modules/account_cash_rounding/doc/conf.py +++ b/modules/account_cash_rounding/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_consolidation/doc/conf.py b/modules/account_consolidation/doc/conf.py index 803acab79a..abdb5a54e7 100644 --- a/modules/account_consolidation/doc/conf.py +++ b/modules/account_consolidation/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_credit_limit/doc/conf.py b/modules/account_credit_limit/doc/conf.py index f5401aa264..92c72f0923 100644 --- a/modules/account_credit_limit/doc/conf.py +++ b/modules/account_credit_limit/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_de_skr03/doc/conf.py b/modules/account_de_skr03/doc/conf.py index 0e2b83d9b0..28ee418fc7 100644 --- a/modules/account_de_skr03/doc/conf.py +++ b/modules/account_de_skr03/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_deposit/doc/conf.py b/modules/account_deposit/doc/conf.py index 0024c463d9..a7a385b7fa 100644 --- a/modules/account_deposit/doc/conf.py +++ b/modules/account_deposit/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_dunning/doc/conf.py b/modules/account_dunning/doc/conf.py index 3633211d21..cb5ccde858 100644 --- a/modules/account_dunning/doc/conf.py +++ b/modules/account_dunning/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_dunning_email/doc/conf.py b/modules/account_dunning_email/doc/conf.py index 132e9e0315..95f24ad761 100644 --- a/modules/account_dunning_email/doc/conf.py +++ b/modules/account_dunning_email/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_dunning_fee/doc/conf.py b/modules/account_dunning_fee/doc/conf.py index c73b1615ac..fb8d11c30c 100644 --- a/modules/account_dunning_fee/doc/conf.py +++ b/modules/account_dunning_fee/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_dunning_letter/doc/conf.py b/modules/account_dunning_letter/doc/conf.py index f37f63108e..720beb38b6 100644 --- a/modules/account_dunning_letter/doc/conf.py +++ b/modules/account_dunning_letter/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_es/doc/conf.py b/modules/account_es/doc/conf.py index b87e7d34c2..8ce84f36c4 100644 --- a/modules/account_es/doc/conf.py +++ b/modules/account_es/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_es_sii/doc/conf.py b/modules/account_es_sii/doc/conf.py index 4592435dc3..1208c148b3 100644 --- a/modules/account_es_sii/doc/conf.py +++ b/modules/account_es_sii/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_es_sii/doc/linkcheck_ignore.json b/modules/account_es_sii/doc/linkcheck_ignore.json deleted file mode 100644 index a2e7d2765f..0000000000 --- a/modules/account_es_sii/doc/linkcheck_ignore.json +++ /dev/null @@ -1 +0,0 @@ -["https://www.sede.fnmt.gob.es/*"] diff --git a/modules/account_eu/doc/conf.py b/modules/account_eu/doc/conf.py index b2582865ed..003fdbcea1 100644 --- a/modules/account_eu/doc/conf.py +++ b/modules/account_eu/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_export/doc/conf.py b/modules/account_export/doc/conf.py index 1cc0e53633..2dd2eeb433 100644 --- a/modules/account_export/doc/conf.py +++ b/modules/account_export/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_export_winbooks/doc/conf.py b/modules/account_export_winbooks/doc/conf.py index bdd97c1ec1..010b54cddd 100644 --- a/modules/account_export_winbooks/doc/conf.py +++ b/modules/account_export_winbooks/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_fr/doc/conf.py b/modules/account_fr/doc/conf.py index 58be00fe7f..cb206b659f 100644 --- a/modules/account_fr/doc/conf.py +++ b/modules/account_fr/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_fr_chorus/doc/conf.py b/modules/account_fr_chorus/doc/conf.py index 3c43e341f3..5b31b4c27b 100644 --- a/modules/account_fr_chorus/doc/conf.py +++ b/modules/account_fr_chorus/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_invoice/doc/conf.py b/modules/account_invoice/doc/conf.py index 048ca4e516..1d3faa8c1c 100644 --- a/modules/account_invoice/doc/conf.py +++ b/modules/account_invoice/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_invoice_correction/doc/conf.py b/modules/account_invoice_correction/doc/conf.py index 82903dc3dd..b5ef06ecbe 100644 --- a/modules/account_invoice_correction/doc/conf.py +++ b/modules/account_invoice_correction/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_invoice_defer/doc/conf.py b/modules/account_invoice_defer/doc/conf.py index fa944b6eb5..f92ed933e4 100644 --- a/modules/account_invoice_defer/doc/conf.py +++ b/modules/account_invoice_defer/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_invoice_history/doc/conf.py b/modules/account_invoice_history/doc/conf.py index 3cc4996d6a..c4dd445157 100644 --- a/modules/account_invoice_history/doc/conf.py +++ b/modules/account_invoice_history/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_invoice_line_standalone/doc/conf.py b/modules/account_invoice_line_standalone/doc/conf.py index 599c5fe0a2..3d06c60896 100644 --- a/modules/account_invoice_line_standalone/doc/conf.py +++ b/modules/account_invoice_line_standalone/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_invoice_secondary_unit/doc/conf.py b/modules/account_invoice_secondary_unit/doc/conf.py index 70270eafb7..8bcd41f672 100644 --- a/modules/account_invoice_secondary_unit/doc/conf.py +++ b/modules/account_invoice_secondary_unit/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_invoice_stock/doc/conf.py b/modules/account_invoice_stock/doc/conf.py index 8d1ad7cd37..d0b2ee99c5 100644 --- a/modules/account_invoice_stock/doc/conf.py +++ b/modules/account_invoice_stock/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_invoice_watermark/doc/conf.py b/modules/account_invoice_watermark/doc/conf.py index 02a291d7af..139a745119 100644 --- a/modules/account_invoice_watermark/doc/conf.py +++ b/modules/account_invoice_watermark/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_move_line_grouping/doc/conf.py b/modules/account_move_line_grouping/doc/conf.py index 7eecfaaf29..d97feea84a 100644 --- a/modules/account_move_line_grouping/doc/conf.py +++ b/modules/account_move_line_grouping/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_payment/doc/conf.py b/modules/account_payment/doc/conf.py index 25be8c8b75..cae2d6854b 100644 --- a/modules/account_payment/doc/conf.py +++ b/modules/account_payment/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_payment_braintree/doc/conf.py b/modules/account_payment_braintree/doc/conf.py index d166ec5be2..5d88314368 100644 --- a/modules/account_payment_braintree/doc/conf.py +++ b/modules/account_payment_braintree/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_payment_clearing/doc/conf.py b/modules/account_payment_clearing/doc/conf.py index d5d5dee5b2..60727b8045 100644 --- a/modules/account_payment_clearing/doc/conf.py +++ b/modules/account_payment_clearing/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_payment_sepa/doc/conf.py b/modules/account_payment_sepa/doc/conf.py index 58f77fc5f6..f9f627d860 100644 --- a/modules/account_payment_sepa/doc/conf.py +++ b/modules/account_payment_sepa/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_payment_sepa_cfonb/doc/conf.py b/modules/account_payment_sepa_cfonb/doc/conf.py index 7bda5193b6..d3d63a89ed 100644 --- a/modules/account_payment_sepa_cfonb/doc/conf.py +++ b/modules/account_payment_sepa_cfonb/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_payment_stripe/doc/conf.py b/modules/account_payment_stripe/doc/conf.py index 74a5795cd6..4cd44f410e 100644 --- a/modules/account_payment_stripe/doc/conf.py +++ b/modules/account_payment_stripe/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_product/doc/conf.py b/modules/account_product/doc/conf.py index f2b472aafc..69c74a8cea 100644 --- a/modules/account_product/doc/conf.py +++ b/modules/account_product/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_receivable_rule/doc/conf.py b/modules/account_receivable_rule/doc/conf.py index 022e2fd82c..e6573e8f9a 100644 --- a/modules/account_receivable_rule/doc/conf.py +++ b/modules/account_receivable_rule/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_rule/doc/conf.py b/modules/account_rule/doc/conf.py index 8a4442d406..24908bc54b 100644 --- a/modules/account_rule/doc/conf.py +++ b/modules/account_rule/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_statement/doc/conf.py b/modules/account_statement/doc/conf.py index 1763f68625..d601dd6b76 100644 --- a/modules/account_statement/doc/conf.py +++ b/modules/account_statement/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_statement_aeb43/doc/conf.py b/modules/account_statement_aeb43/doc/conf.py index 147e99be76..9ca5f6ab74 100644 --- a/modules/account_statement_aeb43/doc/conf.py +++ b/modules/account_statement_aeb43/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_statement_coda/doc/conf.py b/modules/account_statement_coda/doc/conf.py index 3c63e5a880..6a00730e35 100644 --- a/modules/account_statement_coda/doc/conf.py +++ b/modules/account_statement_coda/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_statement_mt940/doc/conf.py b/modules/account_statement_mt940/doc/conf.py index c71691fe55..c79e3fa764 100644 --- a/modules/account_statement_mt940/doc/conf.py +++ b/modules/account_statement_mt940/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_statement_ofx/doc/conf.py b/modules/account_statement_ofx/doc/conf.py index cae46590d8..60eccc6f68 100644 --- a/modules/account_statement_ofx/doc/conf.py +++ b/modules/account_statement_ofx/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_statement_rule/doc/conf.py b/modules/account_statement_rule/doc/conf.py index 946b55cfe4..60a54134c3 100644 --- a/modules/account_statement_rule/doc/conf.py +++ b/modules/account_statement_rule/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_statement_sepa/doc/conf.py b/modules/account_statement_sepa/doc/conf.py index f4afc0a58b..27930e26e8 100644 --- a/modules/account_statement_sepa/doc/conf.py +++ b/modules/account_statement_sepa/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_stock_anglo_saxon/doc/conf.py b/modules/account_stock_anglo_saxon/doc/conf.py index 5fa0e5e5d4..4496d15fc4 100644 --- a/modules/account_stock_anglo_saxon/doc/conf.py +++ b/modules/account_stock_anglo_saxon/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_stock_continental/doc/conf.py b/modules/account_stock_continental/doc/conf.py index e55db1a1f5..122424794c 100644 --- a/modules/account_stock_continental/doc/conf.py +++ b/modules/account_stock_continental/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_stock_eu/doc/conf.py b/modules/account_stock_eu/doc/conf.py index 53167babdf..93d2db2abb 100644 --- a/modules/account_stock_eu/doc/conf.py +++ b/modules/account_stock_eu/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_stock_landed_cost/doc/conf.py b/modules/account_stock_landed_cost/doc/conf.py index f26b0d6d4f..a4831c8cfe 100644 --- a/modules/account_stock_landed_cost/doc/conf.py +++ b/modules/account_stock_landed_cost/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_stock_landed_cost_weight/doc/conf.py b/modules/account_stock_landed_cost_weight/doc/conf.py index 0859e033a2..e99257935c 100644 --- a/modules/account_stock_landed_cost_weight/doc/conf.py +++ b/modules/account_stock_landed_cost_weight/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_stock_shipment_cost/doc/conf.py b/modules/account_stock_shipment_cost/doc/conf.py index 7a45e4aece..a469cde7bf 100644 --- a/modules/account_stock_shipment_cost/doc/conf.py +++ b/modules/account_stock_shipment_cost/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_stock_shipment_cost_weight/doc/conf.py b/modules/account_stock_shipment_cost_weight/doc/conf.py index ec5eb97771..830f0f9caf 100644 --- a/modules/account_stock_shipment_cost_weight/doc/conf.py +++ b/modules/account_stock_shipment_cost_weight/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_syscohada/doc/conf.py b/modules/account_syscohada/doc/conf.py index 9c36f3e9d9..4cfea184a3 100644 --- a/modules/account_syscohada/doc/conf.py +++ b/modules/account_syscohada/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_tax_cash/doc/conf.py b/modules/account_tax_cash/doc/conf.py index 9984febd80..031c9911eb 100644 --- a/modules/account_tax_cash/doc/conf.py +++ b/modules/account_tax_cash/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_tax_non_deductible/doc/conf.py b/modules/account_tax_non_deductible/doc/conf.py index f3eb279183..4a0c582c72 100644 --- a/modules/account_tax_non_deductible/doc/conf.py +++ b/modules/account_tax_non_deductible/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/account_tax_rule_country/doc/conf.py b/modules/account_tax_rule_country/doc/conf.py index d535e59733..4806a013be 100644 --- a/modules/account_tax_rule_country/doc/conf.py +++ b/modules/account_tax_rule_country/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/analytic_account/doc/conf.py b/modules/analytic_account/doc/conf.py index 83e2ea98f6..b72d6d9819 100644 --- a/modules/analytic_account/doc/conf.py +++ b/modules/analytic_account/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/analytic_budget/doc/conf.py b/modules/analytic_budget/doc/conf.py index 036165d24e..5e4dc96822 100644 --- a/modules/analytic_budget/doc/conf.py +++ b/modules/analytic_budget/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/analytic_invoice/doc/conf.py b/modules/analytic_invoice/doc/conf.py index 057a8f6669..119e11c49c 100644 --- a/modules/analytic_invoice/doc/conf.py +++ b/modules/analytic_invoice/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/analytic_purchase/doc/conf.py b/modules/analytic_purchase/doc/conf.py index d53e234dd8..f9c1a14fac 100644 --- a/modules/analytic_purchase/doc/conf.py +++ b/modules/analytic_purchase/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/analytic_sale/doc/conf.py b/modules/analytic_sale/doc/conf.py index f4ebac0aeb..11a63b9fc4 100644 --- a/modules/analytic_sale/doc/conf.py +++ b/modules/analytic_sale/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/attendance/doc/conf.py b/modules/attendance/doc/conf.py index 2c83566162..7fa15912f7 100644 --- a/modules/attendance/doc/conf.py +++ b/modules/attendance/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/authentication_saml/doc/conf.py b/modules/authentication_saml/doc/conf.py index 637e4cbd38..828c90b01f 100644 --- a/modules/authentication_saml/doc/conf.py +++ b/modules/authentication_saml/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/authentication_sms/doc/conf.py b/modules/authentication_sms/doc/conf.py index 409eb323b5..0eb73c086a 100644 --- a/modules/authentication_sms/doc/conf.py +++ b/modules/authentication_sms/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/bank/doc/conf.py b/modules/bank/doc/conf.py index a4a3a6ca67..7690892be0 100644 --- a/modules/bank/doc/conf.py +++ b/modules/bank/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/carrier/doc/conf.py b/modules/carrier/doc/conf.py index eb0af0d5e1..14463fb679 100644 --- a/modules/carrier/doc/conf.py +++ b/modules/carrier/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/carrier_carriage/doc/conf.py b/modules/carrier_carriage/doc/conf.py index 5c71bc7b3b..8b6435979e 100644 --- a/modules/carrier_carriage/doc/conf.py +++ b/modules/carrier_carriage/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/carrier_percentage/doc/conf.py b/modules/carrier_percentage/doc/conf.py index cd76495c8e..bfe8b8601f 100644 --- a/modules/carrier_percentage/doc/conf.py +++ b/modules/carrier_percentage/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/carrier_subdivision/doc/conf.py b/modules/carrier_subdivision/doc/conf.py index 7eb611757f..2c472cc366 100644 --- a/modules/carrier_subdivision/doc/conf.py +++ b/modules/carrier_subdivision/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/carrier_weight/doc/conf.py b/modules/carrier_weight/doc/conf.py index f8437174a4..0f2cfbf5b2 100644 --- a/modules/carrier_weight/doc/conf.py +++ b/modules/carrier_weight/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/commission/doc/conf.py b/modules/commission/doc/conf.py index 7680067996..e049ba7e3c 100644 --- a/modules/commission/doc/conf.py +++ b/modules/commission/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/commission_waiting/doc/conf.py b/modules/commission_waiting/doc/conf.py index d6b4557dc3..495d644bb7 100644 --- a/modules/commission_waiting/doc/conf.py +++ b/modules/commission_waiting/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/company/doc/conf.py b/modules/company/doc/conf.py index f0f0af4f6c..614e362d41 100644 --- a/modules/company/doc/conf.py +++ b/modules/company/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/company_work_time/doc/conf.py b/modules/company_work_time/doc/conf.py index 75cb8a5296..80d9d1134c 100644 --- a/modules/company_work_time/doc/conf.py +++ b/modules/company_work_time/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/country/doc/conf.py b/modules/country/doc/conf.py index b300b8698d..603d60a64a 100644 --- a/modules/country/doc/conf.py +++ b/modules/country/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/currency/doc/conf.py b/modules/currency/doc/conf.py index 449392320d..b67622ccd8 100644 --- a/modules/currency/doc/conf.py +++ b/modules/currency/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/currency_ro/doc/conf.py b/modules/currency_ro/doc/conf.py index 9f65c58caa..8011b17fd6 100644 --- a/modules/currency_ro/doc/conf.py +++ b/modules/currency_ro/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/currency_ro/doc/linkcheck_ignore.json b/modules/currency_ro/doc/linkcheck_ignore.json deleted file mode 100644 index 89defb5291..0000000000 --- a/modules/currency_ro/doc/linkcheck_ignore.json +++ /dev/null @@ -1 +0,0 @@ -["https://bnr.ro/*"] diff --git a/modules/currency_rs/doc/conf.py b/modules/currency_rs/doc/conf.py index 5bd5f8b333..d236a51249 100644 --- a/modules/currency_rs/doc/conf.py +++ b/modules/currency_rs/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/customs/doc/conf.py b/modules/customs/doc/conf.py index e603d73452..2dd9f530ab 100644 --- a/modules/customs/doc/conf.py +++ b/modules/customs/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/dashboard/doc/conf.py b/modules/dashboard/doc/conf.py index db543ee686..347c54dfec 100644 --- a/modules/dashboard/doc/conf.py +++ b/modules/dashboard/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/document_incoming/doc/conf.py b/modules/document_incoming/doc/conf.py index 90c7582609..b50db959d0 100644 --- a/modules/document_incoming/doc/conf.py +++ b/modules/document_incoming/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/document_incoming_invoice/doc/conf.py b/modules/document_incoming_invoice/doc/conf.py index 3a4e3ffbe0..95591431b9 100644 --- a/modules/document_incoming_invoice/doc/conf.py +++ b/modules/document_incoming_invoice/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/document_incoming_ocr/doc/conf.py b/modules/document_incoming_ocr/doc/conf.py index 45cc42461b..627063fab7 100644 --- a/modules/document_incoming_ocr/doc/conf.py +++ b/modules/document_incoming_ocr/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/document_incoming_ocr_typless/doc/conf.py b/modules/document_incoming_ocr_typless/doc/conf.py index 25d3e30958..bbb5dbb54c 100644 --- a/modules/document_incoming_ocr_typless/doc/conf.py +++ b/modules/document_incoming_ocr_typless/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/edocument_peppol/doc/conf.py b/modules/edocument_peppol/doc/conf.py index 80f33f722f..2fad16d111 100644 --- a/modules/edocument_peppol/doc/conf.py +++ b/modules/edocument_peppol/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/edocument_peppol_peppyrus/doc/conf.py b/modules/edocument_peppol_peppyrus/doc/conf.py index d03353c769..7ca4bbf447 100644 --- a/modules/edocument_peppol_peppyrus/doc/conf.py +++ b/modules/edocument_peppol_peppyrus/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/edocument_ubl/doc/conf.py b/modules/edocument_ubl/doc/conf.py index 2dfb5c45a8..1745a10369 100644 --- a/modules/edocument_ubl/doc/conf.py +++ b/modules/edocument_ubl/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/edocument_uncefact/doc/conf.py b/modules/edocument_uncefact/doc/conf.py index 41221d2ff9..2b24192589 100644 --- a/modules/edocument_uncefact/doc/conf.py +++ b/modules/edocument_uncefact/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/edocument_unece/doc/conf.py b/modules/edocument_unece/doc/conf.py index 37d43e9671..e2b3f8c25d 100644 --- a/modules/edocument_unece/doc/conf.py +++ b/modules/edocument_unece/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/google_maps/doc/conf.py b/modules/google_maps/doc/conf.py index c842a47806..8eb6e48b08 100644 --- a/modules/google_maps/doc/conf.py +++ b/modules/google_maps/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/inbound_email/doc/conf.py b/modules/inbound_email/doc/conf.py index 9e3311dba2..7ddc1090a5 100644 --- a/modules/inbound_email/doc/conf.py +++ b/modules/inbound_email/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/inbound_email/doc/linkcheck_ignore.json b/modules/inbound_email/doc/linkcheck_ignore.json deleted file mode 100644 index ae86156d83..0000000000 --- a/modules/inbound_email/doc/linkcheck_ignore.json +++ /dev/null @@ -1 +0,0 @@ -["https://datatracker.ietf.org/*"] diff --git a/modules/incoterm/doc/conf.py b/modules/incoterm/doc/conf.py index df6ff92d38..85eaf4a753 100644 --- a/modules/incoterm/doc/conf.py +++ b/modules/incoterm/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/ldap_authentication/doc/conf.py b/modules/ldap_authentication/doc/conf.py index e1d8fd7466..f79fdd9ecd 100644 --- a/modules/ldap_authentication/doc/conf.py +++ b/modules/ldap_authentication/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/ldap_authentication/doc/linkcheck_ignore.json b/modules/ldap_authentication/doc/linkcheck_ignore.json deleted file mode 100644 index ae86156d83..0000000000 --- a/modules/ldap_authentication/doc/linkcheck_ignore.json +++ /dev/null @@ -1 +0,0 @@ -["https://datatracker.ietf.org/*"] diff --git a/modules/marketing/doc/conf.py b/modules/marketing/doc/conf.py index ca58be7722..f2a4bd8778 100644 --- a/modules/marketing/doc/conf.py +++ b/modules/marketing/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/marketing_automation/doc/conf.py b/modules/marketing_automation/doc/conf.py index 8e89aba40f..4d12343b49 100644 --- a/modules/marketing_automation/doc/conf.py +++ b/modules/marketing_automation/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/marketing_campaign/doc/conf.py b/modules/marketing_campaign/doc/conf.py index 4268197cd9..e281ffeb71 100644 --- a/modules/marketing_campaign/doc/conf.py +++ b/modules/marketing_campaign/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/marketing_email/doc/conf.py b/modules/marketing_email/doc/conf.py index 8e19af5457..a5984496ce 100644 --- a/modules/marketing_email/doc/conf.py +++ b/modules/marketing_email/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/notification_email/doc/conf.py b/modules/notification_email/doc/conf.py index 71eb1fed5f..0f52400012 100644 --- a/modules/notification_email/doc/conf.py +++ b/modules/notification_email/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/party/doc/conf.py b/modules/party/doc/conf.py index af14d0168b..0c91f3440c 100644 --- a/modules/party/doc/conf.py +++ b/modules/party/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/party_avatar/doc/conf.py b/modules/party_avatar/doc/conf.py index ce70d4f345..8f0a000296 100644 --- a/modules/party_avatar/doc/conf.py +++ b/modules/party_avatar/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/party_relationship/doc/conf.py b/modules/party_relationship/doc/conf.py index fe208f2ddb..28893fe749 100644 --- a/modules/party_relationship/doc/conf.py +++ b/modules/party_relationship/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/party_siret/doc/conf.py b/modules/party_siret/doc/conf.py index e1f2eaef2b..ae7ad80ee6 100644 --- a/modules/party_siret/doc/conf.py +++ b/modules/party_siret/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/product/doc/conf.py b/modules/product/doc/conf.py index ff6ae4c86b..55ed1963ac 100644 --- a/modules/product/doc/conf.py +++ b/modules/product/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/product_attribute/doc/conf.py b/modules/product_attribute/doc/conf.py index f08fda4981..f4389fffed 100644 --- a/modules/product_attribute/doc/conf.py +++ b/modules/product_attribute/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/product_classification/doc/conf.py b/modules/product_classification/doc/conf.py index 136f71ade0..74fe41a660 100644 --- a/modules/product_classification/doc/conf.py +++ b/modules/product_classification/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/product_classification_taxonomic/doc/conf.py b/modules/product_classification_taxonomic/doc/conf.py index 86902fbc3e..f9bc4d2895 100644 --- a/modules/product_classification_taxonomic/doc/conf.py +++ b/modules/product_classification_taxonomic/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/product_cost_fifo/doc/conf.py b/modules/product_cost_fifo/doc/conf.py index da1e91a23f..1a25df07ef 100644 --- a/modules/product_cost_fifo/doc/conf.py +++ b/modules/product_cost_fifo/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/product_cost_history/doc/conf.py b/modules/product_cost_history/doc/conf.py index 4917cb4dcc..183f3f1e51 100644 --- a/modules/product_cost_history/doc/conf.py +++ b/modules/product_cost_history/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/product_cost_warehouse/doc/conf.py b/modules/product_cost_warehouse/doc/conf.py index 06d0c4cc71..408cba5071 100644 --- a/modules/product_cost_warehouse/doc/conf.py +++ b/modules/product_cost_warehouse/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/product_image/doc/conf.py b/modules/product_image/doc/conf.py index d6b0561c03..4ef2708c80 100644 --- a/modules/product_image/doc/conf.py +++ b/modules/product_image/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/product_image_attribute/doc/conf.py b/modules/product_image_attribute/doc/conf.py index 512d2da197..b46c533607 100644 --- a/modules/product_image_attribute/doc/conf.py +++ b/modules/product_image_attribute/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/product_kit/doc/conf.py b/modules/product_kit/doc/conf.py index 0dbd8bdcf3..93d98bd9dd 100644 --- a/modules/product_kit/doc/conf.py +++ b/modules/product_kit/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/product_measurements/doc/conf.py b/modules/product_measurements/doc/conf.py index d0ae6ce936..8a0e135a1b 100644 --- a/modules/product_measurements/doc/conf.py +++ b/modules/product_measurements/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/product_price_list/doc/conf.py b/modules/product_price_list/doc/conf.py index e23c0b0c03..dabe57f680 100644 --- a/modules/product_price_list/doc/conf.py +++ b/modules/product_price_list/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/product_price_list_cache/doc/conf.py b/modules/product_price_list_cache/doc/conf.py index c011f4f2cb..751208e75d 100644 --- a/modules/product_price_list_cache/doc/conf.py +++ b/modules/product_price_list_cache/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/product_price_list_dates/doc/conf.py b/modules/product_price_list_dates/doc/conf.py index d83a74f382..a5332c3278 100644 --- a/modules/product_price_list_dates/doc/conf.py +++ b/modules/product_price_list_dates/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/product_price_list_parent/doc/conf.py b/modules/product_price_list_parent/doc/conf.py index 56e4a81e67..b307a56c6a 100644 --- a/modules/product_price_list_parent/doc/conf.py +++ b/modules/product_price_list_parent/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/production/doc/conf.py b/modules/production/doc/conf.py index be8a8dabb7..f2307c94f8 100644 --- a/modules/production/doc/conf.py +++ b/modules/production/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/production_outsourcing/doc/conf.py b/modules/production_outsourcing/doc/conf.py index 4285e8c1ee..835404d45e 100644 --- a/modules/production_outsourcing/doc/conf.py +++ b/modules/production_outsourcing/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/production_routing/doc/conf.py b/modules/production_routing/doc/conf.py index 6d06b1ea20..f1b99979f5 100644 --- a/modules/production_routing/doc/conf.py +++ b/modules/production_routing/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/production_split/doc/conf.py b/modules/production_split/doc/conf.py index afbf3a4120..04c62d8184 100644 --- a/modules/production_split/doc/conf.py +++ b/modules/production_split/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/production_work/doc/conf.py b/modules/production_work/doc/conf.py index 11ebcde13e..cbd2c2214f 100644 --- a/modules/production_work/doc/conf.py +++ b/modules/production_work/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/production_work_timesheet/doc/conf.py b/modules/production_work_timesheet/doc/conf.py index 6231deed36..2b66d24de6 100644 --- a/modules/production_work_timesheet/doc/conf.py +++ b/modules/production_work_timesheet/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/project/doc/conf.py b/modules/project/doc/conf.py index 5e3ba4b94a..e6d22eb038 100644 --- a/modules/project/doc/conf.py +++ b/modules/project/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/project_invoice/doc/conf.py b/modules/project_invoice/doc/conf.py index 4d66e2b490..c577059c3a 100644 --- a/modules/project_invoice/doc/conf.py +++ b/modules/project_invoice/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/project_plan/doc/conf.py b/modules/project_plan/doc/conf.py index 0df3128b1c..eff89329bd 100644 --- a/modules/project_plan/doc/conf.py +++ b/modules/project_plan/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/project_revenue/doc/conf.py b/modules/project_revenue/doc/conf.py index 03eaff8c43..33103511c6 100644 --- a/modules/project_revenue/doc/conf.py +++ b/modules/project_revenue/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/purchase/doc/conf.py b/modules/purchase/doc/conf.py index 15332d7db0..d661f3f805 100644 --- a/modules/purchase/doc/conf.py +++ b/modules/purchase/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/purchase_amendment/doc/conf.py b/modules/purchase_amendment/doc/conf.py index f59dd3ab4f..d81794f361 100644 --- a/modules/purchase_amendment/doc/conf.py +++ b/modules/purchase_amendment/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/purchase_blanket_agreement/doc/conf.py b/modules/purchase_blanket_agreement/doc/conf.py index bf484bd2fb..cc82137a63 100644 --- a/modules/purchase_blanket_agreement/doc/conf.py +++ b/modules/purchase_blanket_agreement/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/purchase_history/doc/conf.py b/modules/purchase_history/doc/conf.py index a1d320cef4..4bdfa12ec1 100644 --- a/modules/purchase_history/doc/conf.py +++ b/modules/purchase_history/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/purchase_invoice_line_standalone/doc/conf.py b/modules/purchase_invoice_line_standalone/doc/conf.py index a5c2aaa291..d18a3d09bf 100644 --- a/modules/purchase_invoice_line_standalone/doc/conf.py +++ b/modules/purchase_invoice_line_standalone/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/purchase_price_list/doc/conf.py b/modules/purchase_price_list/doc/conf.py index a22f78c63b..84f9622ab1 100644 --- a/modules/purchase_price_list/doc/conf.py +++ b/modules/purchase_price_list/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/purchase_product_quantity/doc/conf.py b/modules/purchase_product_quantity/doc/conf.py index ed3b6aafe0..60c0a04b09 100644 --- a/modules/purchase_product_quantity/doc/conf.py +++ b/modules/purchase_product_quantity/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/purchase_request/doc/conf.py b/modules/purchase_request/doc/conf.py index 110ca2006a..44206dfc5f 100644 --- a/modules/purchase_request/doc/conf.py +++ b/modules/purchase_request/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/purchase_request_quotation/doc/conf.py b/modules/purchase_request_quotation/doc/conf.py index 490dd5625e..2851631845 100644 --- a/modules/purchase_request_quotation/doc/conf.py +++ b/modules/purchase_request_quotation/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/purchase_requisition/doc/conf.py b/modules/purchase_requisition/doc/conf.py index 86d7bcbdce..809553f3bc 100644 --- a/modules/purchase_requisition/doc/conf.py +++ b/modules/purchase_requisition/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/purchase_secondary_unit/doc/conf.py b/modules/purchase_secondary_unit/doc/conf.py index 8d7f46691f..753efa1a44 100644 --- a/modules/purchase_secondary_unit/doc/conf.py +++ b/modules/purchase_secondary_unit/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/purchase_shipment_cost/doc/conf.py b/modules/purchase_shipment_cost/doc/conf.py index 0cb5bd7777..f275cc17f8 100644 --- a/modules/purchase_shipment_cost/doc/conf.py +++ b/modules/purchase_shipment_cost/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/quality/doc/conf.py b/modules/quality/doc/conf.py index 1cf8254695..f8047ebc65 100644 --- a/modules/quality/doc/conf.py +++ b/modules/quality/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale/doc/conf.py b/modules/sale/doc/conf.py index 6ae6789ddb..909b1d8eb3 100644 --- a/modules/sale/doc/conf.py +++ b/modules/sale/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_advance_payment/doc/conf.py b/modules/sale_advance_payment/doc/conf.py index 6988875e43..f83147a25b 100644 --- a/modules/sale_advance_payment/doc/conf.py +++ b/modules/sale_advance_payment/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_amendment/doc/conf.py b/modules/sale_amendment/doc/conf.py index 8223fb8aac..3c1c6fc275 100644 --- a/modules/sale_amendment/doc/conf.py +++ b/modules/sale_amendment/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_blanket_agreement/doc/conf.py b/modules/sale_blanket_agreement/doc/conf.py index ff561d40ed..efdd5be4fb 100644 --- a/modules/sale_blanket_agreement/doc/conf.py +++ b/modules/sale_blanket_agreement/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_complaint/doc/conf.py b/modules/sale_complaint/doc/conf.py index 557e73c530..32899ee543 100644 --- a/modules/sale_complaint/doc/conf.py +++ b/modules/sale_complaint/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_credit_limit/doc/conf.py b/modules/sale_credit_limit/doc/conf.py index 384a513ef9..ddf46cd539 100644 --- a/modules/sale_credit_limit/doc/conf.py +++ b/modules/sale_credit_limit/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_discount/doc/conf.py b/modules/sale_discount/doc/conf.py index 4fac265d59..abb65f322f 100644 --- a/modules/sale_discount/doc/conf.py +++ b/modules/sale_discount/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_extra/doc/conf.py b/modules/sale_extra/doc/conf.py index a943670b14..4c8c26ec49 100644 --- a/modules/sale_extra/doc/conf.py +++ b/modules/sale_extra/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_gift_card/doc/conf.py b/modules/sale_gift_card/doc/conf.py index f7b1b2c185..8eedd5c5c3 100644 --- a/modules/sale_gift_card/doc/conf.py +++ b/modules/sale_gift_card/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_history/doc/conf.py b/modules/sale_history/doc/conf.py index 2f2e1747d7..2202e64c1c 100644 --- a/modules/sale_history/doc/conf.py +++ b/modules/sale_history/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_invoice_date/doc/conf.py b/modules/sale_invoice_date/doc/conf.py index fbc28b2fc0..711debf7c1 100644 --- a/modules/sale_invoice_date/doc/conf.py +++ b/modules/sale_invoice_date/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_invoice_grouping/doc/conf.py b/modules/sale_invoice_grouping/doc/conf.py index 6fa6414164..b9c59f8f91 100644 --- a/modules/sale_invoice_grouping/doc/conf.py +++ b/modules/sale_invoice_grouping/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_opportunity/doc/conf.py b/modules/sale_opportunity/doc/conf.py index 0db3a89556..aace2c12fd 100644 --- a/modules/sale_opportunity/doc/conf.py +++ b/modules/sale_opportunity/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_payment/doc/conf.py b/modules/sale_payment/doc/conf.py index e8a0cb5d15..5d58a47975 100644 --- a/modules/sale_payment/doc/conf.py +++ b/modules/sale_payment/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_point/doc/conf.py b/modules/sale_point/doc/conf.py index ecdec36023..cef46fdca6 100644 --- a/modules/sale_point/doc/conf.py +++ b/modules/sale_point/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_price_list/doc/conf.py b/modules/sale_price_list/doc/conf.py index da649f3d06..26b46e8bc6 100644 --- a/modules/sale_price_list/doc/conf.py +++ b/modules/sale_price_list/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_product_customer/doc/conf.py b/modules/sale_product_customer/doc/conf.py index 3743d9635d..eccec73a47 100644 --- a/modules/sale_product_customer/doc/conf.py +++ b/modules/sale_product_customer/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_product_quantity/doc/conf.py b/modules/sale_product_quantity/doc/conf.py index 7c034796ff..341c907525 100644 --- a/modules/sale_product_quantity/doc/conf.py +++ b/modules/sale_product_quantity/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_product_recommendation/doc/conf.py b/modules/sale_product_recommendation/doc/conf.py index 80f3b755fd..a620d4de55 100644 --- a/modules/sale_product_recommendation/doc/conf.py +++ b/modules/sale_product_recommendation/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_product_recommendation_association_rule/doc/conf.py b/modules/sale_product_recommendation_association_rule/doc/conf.py index dc3be603f5..d2299d3a06 100644 --- a/modules/sale_product_recommendation_association_rule/doc/conf.py +++ b/modules/sale_product_recommendation_association_rule/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_promotion/doc/conf.py b/modules/sale_promotion/doc/conf.py index ebeecd5677..86e2d4c025 100644 --- a/modules/sale_promotion/doc/conf.py +++ b/modules/sale_promotion/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_promotion_coupon/doc/conf.py b/modules/sale_promotion_coupon/doc/conf.py index 6813100799..089b135bf1 100644 --- a/modules/sale_promotion_coupon/doc/conf.py +++ b/modules/sale_promotion_coupon/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_promotion_coupon_payment/doc/conf.py b/modules/sale_promotion_coupon_payment/doc/conf.py index 9489cbe9f7..9c4739a673 100644 --- a/modules/sale_promotion_coupon_payment/doc/conf.py +++ b/modules/sale_promotion_coupon_payment/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_rental/doc/conf.py b/modules/sale_rental/doc/conf.py index 3c0a9f8750..bc9eb67570 100644 --- a/modules/sale_rental/doc/conf.py +++ b/modules/sale_rental/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_rental_progress_invoice/doc/conf.py b/modules/sale_rental_progress_invoice/doc/conf.py index d5229b4e53..33213d1c55 100644 --- a/modules/sale_rental_progress_invoice/doc/conf.py +++ b/modules/sale_rental_progress_invoice/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_secondary_unit/doc/conf.py b/modules/sale_secondary_unit/doc/conf.py index a5d0261aa0..02ec64eea2 100644 --- a/modules/sale_secondary_unit/doc/conf.py +++ b/modules/sale_secondary_unit/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_shipment_cost/doc/conf.py b/modules/sale_shipment_cost/doc/conf.py index 1898895633..0204769f9f 100644 --- a/modules/sale_shipment_cost/doc/conf.py +++ b/modules/sale_shipment_cost/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_shipment_grouping/doc/conf.py b/modules/sale_shipment_grouping/doc/conf.py index fda8957a2c..c222234319 100644 --- a/modules/sale_shipment_grouping/doc/conf.py +++ b/modules/sale_shipment_grouping/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_shipment_tolerance/doc/conf.py b/modules/sale_shipment_tolerance/doc/conf.py index 60fee695fd..64ebe96575 100644 --- a/modules/sale_shipment_tolerance/doc/conf.py +++ b/modules/sale_shipment_tolerance/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_stock_quantity/doc/conf.py b/modules/sale_stock_quantity/doc/conf.py index 3ff17f787c..f61b402089 100644 --- a/modules/sale_stock_quantity/doc/conf.py +++ b/modules/sale_stock_quantity/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_subscription/doc/conf.py b/modules/sale_subscription/doc/conf.py index 71790af3b6..fe76ea8482 100644 --- a/modules/sale_subscription/doc/conf.py +++ b/modules/sale_subscription/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_subscription_asset/doc/conf.py b/modules/sale_subscription_asset/doc/conf.py index f0273205e2..2446ff0c97 100644 --- a/modules/sale_subscription_asset/doc/conf.py +++ b/modules/sale_subscription_asset/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_supply/doc/conf.py b/modules/sale_supply/doc/conf.py index 2e6a99a638..ebd5154b14 100644 --- a/modules/sale_supply/doc/conf.py +++ b/modules/sale_supply/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_supply_drop_shipment/doc/conf.py b/modules/sale_supply_drop_shipment/doc/conf.py index 0334a6693e..af95652568 100644 --- a/modules/sale_supply_drop_shipment/doc/conf.py +++ b/modules/sale_supply_drop_shipment/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/sale_supply_production/doc/conf.py b/modules/sale_supply_production/doc/conf.py index 306ec8f4b0..913a845e64 100644 --- a/modules/sale_supply_production/doc/conf.py +++ b/modules/sale_supply_production/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock/doc/conf.py b/modules/stock/doc/conf.py index 460e0062c3..c8e985e2e1 100644 --- a/modules/stock/doc/conf.py +++ b/modules/stock/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_assign_manual/doc/conf.py b/modules/stock_assign_manual/doc/conf.py index 5b07312040..a647457e1f 100644 --- a/modules/stock_assign_manual/doc/conf.py +++ b/modules/stock_assign_manual/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_consignment/doc/conf.py b/modules/stock_consignment/doc/conf.py index c786c24b2b..95870c0755 100644 --- a/modules/stock_consignment/doc/conf.py +++ b/modules/stock_consignment/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_forecast/doc/conf.py b/modules/stock_forecast/doc/conf.py index 55a98b512d..0c4b5323c6 100644 --- a/modules/stock_forecast/doc/conf.py +++ b/modules/stock_forecast/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_inventory_location/doc/conf.py b/modules/stock_inventory_location/doc/conf.py index 36c54e964e..b79e37aa75 100644 --- a/modules/stock_inventory_location/doc/conf.py +++ b/modules/stock_inventory_location/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_location_move/doc/conf.py b/modules/stock_location_move/doc/conf.py index 02921e4219..6c61ecad7f 100644 --- a/modules/stock_location_move/doc/conf.py +++ b/modules/stock_location_move/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_location_sequence/doc/conf.py b/modules/stock_location_sequence/doc/conf.py index 5b2a640a31..3764f6ee1c 100644 --- a/modules/stock_location_sequence/doc/conf.py +++ b/modules/stock_location_sequence/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_lot/doc/conf.py b/modules/stock_lot/doc/conf.py index 21a424de8d..302d45612b 100644 --- a/modules/stock_lot/doc/conf.py +++ b/modules/stock_lot/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_lot_sled/doc/conf.py b/modules/stock_lot_sled/doc/conf.py index 29f5807a45..96f83f03b4 100644 --- a/modules/stock_lot_sled/doc/conf.py +++ b/modules/stock_lot_sled/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_lot_unit/doc/conf.py b/modules/stock_lot_unit/doc/conf.py index c8df848c7d..b6306bc766 100644 --- a/modules/stock_lot_unit/doc/conf.py +++ b/modules/stock_lot_unit/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_package/doc/conf.py b/modules/stock_package/doc/conf.py index b4e02f0122..11fc064e9b 100644 --- a/modules/stock_package/doc/conf.py +++ b/modules/stock_package/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_package_shipping/doc/conf.py b/modules/stock_package_shipping/doc/conf.py index 9f96cb879d..ca66c8e4e6 100644 --- a/modules/stock_package_shipping/doc/conf.py +++ b/modules/stock_package_shipping/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_package_shipping_dpd/doc/conf.py b/modules/stock_package_shipping_dpd/doc/conf.py index 5f24253042..95807950ab 100644 --- a/modules/stock_package_shipping_dpd/doc/conf.py +++ b/modules/stock_package_shipping_dpd/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_package_shipping_mygls/doc/conf.py b/modules/stock_package_shipping_mygls/doc/conf.py index 5cc40a441a..46e8798691 100644 --- a/modules/stock_package_shipping_mygls/doc/conf.py +++ b/modules/stock_package_shipping_mygls/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_package_shipping_sendcloud/doc/conf.py b/modules/stock_package_shipping_sendcloud/doc/conf.py index c58c2f0f1d..fed0cf4c9c 100644 --- a/modules/stock_package_shipping_sendcloud/doc/conf.py +++ b/modules/stock_package_shipping_sendcloud/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_package_shipping_ups/doc/conf.py b/modules/stock_package_shipping_ups/doc/conf.py index 62fc8ef365..8024506363 100644 --- a/modules/stock_package_shipping_ups/doc/conf.py +++ b/modules/stock_package_shipping_ups/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_product_location/doc/conf.py b/modules/stock_product_location/doc/conf.py index adfed0d842..aa2e192e26 100644 --- a/modules/stock_product_location/doc/conf.py +++ b/modules/stock_product_location/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_product_location_place/doc/conf.py b/modules/stock_product_location_place/doc/conf.py index f28a047e77..459414445e 100644 --- a/modules/stock_product_location_place/doc/conf.py +++ b/modules/stock_product_location_place/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_quantity_early_planning/doc/conf.py b/modules/stock_quantity_early_planning/doc/conf.py index ad54d62b3a..21db8e4033 100644 --- a/modules/stock_quantity_early_planning/doc/conf.py +++ b/modules/stock_quantity_early_planning/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_quantity_issue/doc/conf.py b/modules/stock_quantity_issue/doc/conf.py index ff82f6780a..ea31a876cb 100644 --- a/modules/stock_quantity_issue/doc/conf.py +++ b/modules/stock_quantity_issue/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_secondary_unit/doc/conf.py b/modules/stock_secondary_unit/doc/conf.py index 6c44f823db..9c8c288dd6 100644 --- a/modules/stock_secondary_unit/doc/conf.py +++ b/modules/stock_secondary_unit/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_shipment_cost/doc/conf.py b/modules/stock_shipment_cost/doc/conf.py index 13c8aa4d4a..13240c0d4d 100644 --- a/modules/stock_shipment_cost/doc/conf.py +++ b/modules/stock_shipment_cost/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_shipment_cost_weight/doc/conf.py b/modules/stock_shipment_cost_weight/doc/conf.py index d2f7fe7220..9d8173a1ea 100644 --- a/modules/stock_shipment_cost_weight/doc/conf.py +++ b/modules/stock_shipment_cost_weight/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_shipment_customs/doc/conf.py b/modules/stock_shipment_customs/doc/conf.py index bb479ddfce..aef728c3fb 100644 --- a/modules/stock_shipment_customs/doc/conf.py +++ b/modules/stock_shipment_customs/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_shipment_measurements/doc/conf.py b/modules/stock_shipment_measurements/doc/conf.py index 6365a4fc0f..e0095e7278 100644 --- a/modules/stock_shipment_measurements/doc/conf.py +++ b/modules/stock_shipment_measurements/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_shipping_point/doc/conf.py b/modules/stock_shipping_point/doc/conf.py index 851d6912b1..c14ebbc284 100644 --- a/modules/stock_shipping_point/doc/conf.py +++ b/modules/stock_shipping_point/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_split/doc/conf.py b/modules/stock_split/doc/conf.py index 62a28eb1c3..5f60db7bbf 100644 --- a/modules/stock_split/doc/conf.py +++ b/modules/stock_split/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_supply/doc/conf.py b/modules/stock_supply/doc/conf.py index db4b88e2e3..86d68e2fa9 100644 --- a/modules/stock_supply/doc/conf.py +++ b/modules/stock_supply/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_supply_day/doc/conf.py b/modules/stock_supply_day/doc/conf.py index c9620aa165..8baeb8c5b1 100644 --- a/modules/stock_supply_day/doc/conf.py +++ b/modules/stock_supply_day/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_supply_forecast/doc/conf.py b/modules/stock_supply_forecast/doc/conf.py index d668776e29..47520181ab 100644 --- a/modules/stock_supply_forecast/doc/conf.py +++ b/modules/stock_supply_forecast/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/stock_supply_production/doc/conf.py b/modules/stock_supply_production/doc/conf.py index 1d8421aa41..c424a2a13a 100644 --- a/modules/stock_supply_production/doc/conf.py +++ b/modules/stock_supply_production/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/timesheet/doc/conf.py b/modules/timesheet/doc/conf.py index 850b36dfc5..cf291d3841 100644 --- a/modules/timesheet/doc/conf.py +++ b/modules/timesheet/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/timesheet_cost/doc/conf.py b/modules/timesheet_cost/doc/conf.py index 2c3e154941..f136e80f3b 100644 --- a/modules/timesheet_cost/doc/conf.py +++ b/modules/timesheet_cost/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/user_role/doc/conf.py b/modules/user_role/doc/conf.py index 72e7c1b88e..79c1f2412e 100644 --- a/modules/user_role/doc/conf.py +++ b/modules/user_role/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/web_shop/doc/conf.py b/modules/web_shop/doc/conf.py index 827f4b9b85..19175c570b 100644 --- a/modules/web_shop/doc/conf.py +++ b/modules/web_shop/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/web_shop_product_data_feed/doc/conf.py b/modules/web_shop_product_data_feed/doc/conf.py index fcb97b3568..5bc3ebfc9a 100644 --- a/modules/web_shop_product_data_feed/doc/conf.py +++ b/modules/web_shop_product_data_feed/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/web_shop_product_data_feed/doc/linkcheck_ignore.json b/modules/web_shop_product_data_feed/doc/linkcheck_ignore.json index 42418c7109..97a402aa10 100644 --- a/modules/web_shop_product_data_feed/doc/linkcheck_ignore.json +++ b/modules/web_shop_product_data_feed/doc/linkcheck_ignore.json @@ -1 +1 @@ -["https://www.facebook.com/business/*", "https://datatracker.ietf.org/*"] +["https://www.facebook.com/business/*"] diff --git a/modules/web_shop_shopify/doc/conf.py b/modules/web_shop_shopify/doc/conf.py index 319cbf2e09..1960738265 100644 --- a/modules/web_shop_shopify/doc/conf.py +++ b/modules/web_shop_shopify/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/web_shop_shopify/doc/linkcheck_ignore.json b/modules/web_shop_shopify/doc/linkcheck_ignore.json deleted file mode 100644 index e24a4df6df..0000000000 --- a/modules/web_shop_shopify/doc/linkcheck_ignore.json +++ /dev/null @@ -1 +0,0 @@ -["https://help.shopify.com/*"] diff --git a/modules/web_shop_vue_storefront/doc/conf.py b/modules/web_shop_vue_storefront/doc/conf.py index 753c794b85..bb67d0ecb1 100644 --- a/modules/web_shop_vue_storefront/doc/conf.py +++ b/modules/web_shop_vue_storefront/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/web_shop_vue_storefront_stripe/doc/conf.py b/modules/web_shop_vue_storefront_stripe/doc/conf.py index 68245b6496..404e9c9801 100644 --- a/modules/web_shop_vue_storefront_stripe/doc/conf.py +++ b/modules/web_shop_vue_storefront_stripe/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/web_shortener/doc/conf.py b/modules/web_shortener/doc/conf.py index 2e5a0ff6e1..4db02bcb71 100644 --- a/modules/web_shortener/doc/conf.py +++ b/modules/web_shortener/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join( diff --git a/modules/web_user/doc/conf.py b/modules/web_user/doc/conf.py index 5879156968..0dd1a5602a 100644 --- a/modules/web_user/doc/conf.py +++ b/modules/web_user/doc/conf.py @@ -92,6 +92,13 @@ intersphinx_mapping.update({ for m in info['modules'] }) linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*'] +linkcheck_request_headers = { + 'User-Agent': ( + 'TrytonBot/0.0 (https://www.tryton.org/foundation) ' + 'sphinx-linkcheck/0.0'), + 'Accept-Encoding': 'gzip', + } +linkcheck_workers = 1 try: with open(os.path.join(