Added a link to RFCs rendered with inline errata (where available) to the /doc/rfcNNNN pages.
- Legacy-Id: 16732
This commit is contained in:
parent
96f6f47758
commit
4283740bf1
|
@ -221,6 +221,8 @@ def document_main(request, name, rev=None):
|
|||
|
||||
if "txt" in found_types:
|
||||
file_urls.append(("html", settings.TOOLS_ID_HTML_URL + name))
|
||||
if doc.tags.filter(slug="errata"):
|
||||
file_urls.append(("with errata", settings.RFC_EDITOR_INLINE_ERRATA_URL.format(rfc_number=rfc_number)))
|
||||
|
||||
if not found_types:
|
||||
content = "This RFC is not currently available online."
|
||||
|
|
|
@ -723,6 +723,7 @@ RFC_EDITOR_GROUP_NOTIFICATION_EMAIL = "webmaster@rfc-editor.org"
|
|||
RFC_EDITOR_QUEUE_URL = "https://www.rfc-editor.org/queue2.xml"
|
||||
RFC_EDITOR_INDEX_URL = "https://www.rfc-editor.org/rfc/rfc-index.xml"
|
||||
RFC_EDITOR_ERRATA_URL = "https://www.rfc-editor.org/errata_search.php?rfc={rfc_number}&rec_status=0"
|
||||
RFC_EDITOR_INLINE_ERRATA_URL = "https://www.rfc-editor.org/rfc/beta/errata/RFC{rfc_number}.html"
|
||||
|
||||
# NomCom Tool settings
|
||||
ROLODEX_URL = ""
|
||||
|
|
Loading…
Reference in a new issue