Skip to content

Commit

Permalink
fix: Missing button text for PostScript (#7200)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>

---------

Co-authored-by: Nicolas Giard <[email protected]>
Co-authored-by: Robert Sparks <[email protected]>
  • Loading branch information
3 people authored Mar 20, 2024
1 parent 68c3e65 commit faa3efd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ietf/doc/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit faa3efd

Please sign in to comment.