fix: Missing button text for PostScript (#7200)

* ci: Update build-base-app.yml workflow

* Do not list PS in build_file_urls

* Update ietf/doc/utils.py

Co-authored-by: Robert Sparks <rjsparks@nostrum.com>

---------

Co-authored-by: Nicolas Giard <github@ngpixel.com>
Co-authored-by: Robert Sparks <rjsparks@nostrum.com>
This commit is contained in:
Eric Vyncke 2024-03-21 08:09:47 +09:00 committed by GitHub
parent 68c3e652e0
commit faa3efd136
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1062,6 +1062,8 @@ def build_file_urls(doc: Union[Document, DocHistory]):
base = settings.IETF_ID_ARCHIVE_URL
file_urls = []
for t in found_types:
if t == "ps": # Postscript might have been submitted but should not be displayed in the list of URLs
continue
label = "plain text" if t == "txt" else t
file_urls.append((label, base + doc.name + "-" + doc.rev + "." + t))