-
Notifications
You must be signed in to change notification settings - Fork 175
How to Archive Categories
Brook Jeynes edited this page Feb 8, 2023
·
3 revisions
Video showcasing how to do these steps: https://youtu.be/DTYCbYYSs_E
Categories that are no longer relevant or are outdated, are archived, rather than being deleted.
When archiving a category, all rules within it will remain visible unless archived themselves. This allows any existing links to these categories or rules to continue to work.
- Go to the category index public page (E.g. https://ssw.com.au/rules/rules-to-better-communication)
- Click on 'edit in GitHub'
- Click on the little pencil to edit the Markdown file
- Within the frontmatter (---), add "archivedreason: {{REASON FOR ARCHIVE}}"
- Create a PR
---
type: category
archivedreason: Category contains outdated information
title: Rules to Better Communication
guid: 471816bf-f0df-4835-bf4d-66a90f6f1adc
uri: rules-to-better-communication
index:
- some-rule
- another-rule
- some-other-rule
- a-fourth-rule
---
When we archive a category, it no longer shows on the homepage. To see all live rules within an archived category:
- Navigate to https://www.ssw.com.au/rules/archived/
- Find the desired archived category
- Click on the title
- You will then be redirected to the categories home page where all live rules under that category are displayed