-
Notifications
You must be signed in to change notification settings - Fork 195
How to Rename Categories
Let's say we want to rename the category "Rules to Better ChatGPT Prompt Engineering" to "Rules to Better ChatGPT Prompting". This is how you would do so:
-
Open the category in GitHub and click the 'Edit' button
Figure: Open the Editor in GitHub -
Change the
title:field in the frontmatter -
Change the
uri:field in the frontmatter -
Add the old URI to the
redirects:list
For example, change from:
---
type: category
title: Rules to Better ChatGPT Prompt Engineering
guid: 91b60efc-2b8e-4ff1-a373-ac4cab576483
uri: rules-to-better-chatgpt-prompt-engineering
index:
---To:
---
type: category
title: Rules to Better ChatGPT Prompting
guid: 91b60efc-2b8e-4ff1-a373-ac4cab576483
uri: rules-to-better-chatgpt-prompting
redirects:
- rules-to-better-chatgpt-prompt-engineering
index:
----
Click and change the file name at the top of the editor
Figure: Pressing 'backspace' will move the editor field to the folderFor example, change from path:
categories/artificial-intelligence/rules-to-better-chatgpt-prompt-engineering.mdTo:
categories/artificial-intelligence/rules-to-better-chatgpt-prompting.md -
Once done, commit your changes as a normal PR
Figure: Pressing 'Commit changes...' to save the changes
To find the top category (E.g. Artificial Intelligence) the rule is in, then follow these steps:
- Navigate to the
index.mdfile within the categories folder - Click the edit pencil
- Find the old URI in the
indexand change it to the new one
- How to Create Rules
- How to Edit Rules
- How to Rename Rules
- How to Add and Edit Categories and Top Categories
- How to Rename Categories
- Check Images
- Check For Duplicate Image Names
- Check Extension Case
- Check Folder Name
- Manage Stale PRs
- T‐shirt Size the PR
- Trigger Rules Build
- Validate Frontmatter
- Validate Frontmatter in All Rules
- Validate Markdown