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:
parent
68c3e652e0
commit
faa3efd136
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in a new issue