nytimes/library

Support an "archived" tag on folders and documents

Open

#194 建立於 2020年7月24日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)JavaScript (148 fork)auto 404
enhancementgood first issuegood for learning

倉庫指標

Star
 (1,180 star)
PR 合併指標
 (PR 指標待抓取)

描述

Problem Description

As systems and workflows are deprecated, it is often useful to keep around old documentation around. I propose adding a way to "archive" documents similar to Github's archive feature to denote documents that may no longer be up to date, but could still be worth keeping for reference.

Feature

  • Adding a | archived tag to a document should put mark that page as archived. Adding an | archive tag to a folder will mark the folder as archived, as well as its home page and any nested folders and documents.
  • Archived documents will show with an archived badge somewhere on the page.

Stretch goals

  • Adjust search results to de-emphasize archived pages?

貢獻者指南