Use rfc role in documentation and ignore checking datatracker.ietf.org links

This commit is contained in:
Cédric Krier
2025-05-03 17:10:58 +02:00
parent 29e6c6e0c9
commit 16cbeeee2c
7 changed files with 17 additions and 4 deletions
@@ -0,0 +1 @@
["https://datatracker.ietf.org/*"]
+1 -2
View File
@@ -14,8 +14,7 @@ The *Inbound Email Module* defines a route for each `Inbox <model-inbound.email.
data of the request.
The request parameter ``type`` define which data type to apply by default
it is ``raw`` which expect the bytes of a `RFC 822
<https://datatracker.ietf.org/doc/html/rfc822.html>`_ message.
it is ``raw`` which expect the bytes of a :rfc:`822` message.
Other available types:
@@ -0,0 +1 @@
["https://datatracker.ietf.org/*"]
@@ -1 +1 @@
["https://www.facebook.com/business/*"]
["https://www.facebook.com/business/*", "https://datatracker.ietf.org/*"]
+10
View File
@@ -81,4 +81,14 @@ intersphinx_mapping = {
}
linkcheck_ignore = [r'/.*', r'https://demo.tryton.org/*']
try:
with open(os.path.join(
os.path.dirname(__file__),
'linkcheck_ignore.json'), 'r') as f:
import json
linkcheck_ignore.extend(json.load(f))
del json
except FileNotFoundError:
pass
del get_info, info, base_url, modules_url, tryton_url, proteus_url
+1
View File
@@ -0,0 +1 @@
["https://datatracker.ietf.org/*"]
+2 -1
View File
@@ -14,7 +14,8 @@ Email
.. function:: format_address(email[, name])
Return a string suitable for an RFC 2822 From, To or Cc header.
Return a string suitable for an :rfc:`2822` ``From``, ``To`` or ``Cc``
header.
.. function:: validate_email(email)