#
Uploading Mods via GitHub Pull Requests
To contribute your mods to this repository, you can submit a pull request using either the GitHub web interface or your local machine. Follow the steps below for your preferred method.
#
Using the Web Interface
- Fork the Repository: Click the "Fork" button in the upper-right corner of this repository to create a personal copy in your GitHub account.
- Navigate to Your Fork: Once forked, go to your forked repository on GitHub (it will be at
https://github.com/<your-username>/<repo-name>
). - Create or Edit a File:
- Click on the "Add file" button and choose "Create new file" to add a new mod.
- To edit an existing file, navigate to it, and click the pencil icon.
- Add Your Mod: Add your mod code to the editor. Make sure it follows any style guidelines or contribution rules for the project.
- Commit Your Changes: Scroll down to the "Commit new file" section:
- Enter a brief commit message that describes the mod or changes you’ve made.
- Optionally, provide more details in the extended description.
- Click "Commit new file" (or "Commit changes" if editing an existing file).
- Submit a Pull Request (PR):
- Navigate back to the original repository (not your fork).
- Click on "New Pull Request".
- Select the branch from your fork that contains your changes.
- Add a meaningful description of your mod, explaining its functionality or purpose, then submit the pull request.
#
Using Your Local Machine (Git & CLI)
- Fork the Repository: Fork the original repository by clicking "Fork" in the upper-right corner to create a copy under your GitHub account.
- Clone Your Fork Locally: Clone your forked repository to your local machine:
git clone https://github.com/<your-username>/<repo-name>.git cd <repo-name>
- Create a New Branch: Always create a separate branch for each mod or feature to keep things organized:
git checkout -b my-new-mod
- Add Your Mod Files: Place your mod files in the appropriate directories (
Actions
,Themes
, etc.). Ensure they follow any existing file structure or conventions. - Commit Your Changes: Once your mod is added, stage and commit the changes:
git add . git commit -m "Add my new mod [describe what the mod does]"
- Push Changes to Your Fork: Push the new branch to your forked GitHub repository:
git push origin my-new-mod
- Open a Pull Request (PR):
- Visit the original repository on GitHub.
- Click "New Pull Request".
- Select the branch from your fork that contains your mod.
- Add a detailed description, including what the mod does, why it's useful, and any special instructions for testing or using it. Then submit the PR.
#
Important Notes
- Testing: Be sure to test your mod before submitting it. Ensure it works as expected and doesn’t introduce bugs or issues.
- Branch Naming: When creating a new branch, use a descriptive name that relates to the mod or feature, such as
add-action-mod
orfix-theme-mod
. - Contributing Guidelines: If this repository has a
CONTRIBUTING.md
file, make sure to read and follow it before submitting your pull request.
#
Useful Resources
Here are some helpful resources to assist you in contributing to this repository:
- Markdown Guide: A comprehensive guide to Markdown, a lightweight markup language for formatting text. Learn how to structure your README files, documentation, and more.
- GitHub Octicons: GitHub's official icon set, commonly used across GitHub projects. Use these icons to enhance your repository's visual appeal.
- Retype Octicons: A collection of GitHub Octicons that can be easily integrated into Retype-powered documentation, perfect for adding icons to enhance your documentation pages.
- GitHub Docs: The official GitHub documentation. Learn about GitHub features, commands, workflows, and tips for managing repositories, handling pull requests, and more.
- Pro Git Book: A free online book that covers everything you need to know about Git, from the basics to advanced topics like branching and Git workflows.
- GitHub Flow: An explanation of the GitHub Flow, a lightweight, branch-based workflow that supports teams and projects in version control.
- Semantic Commit Messages: A guide to writing clear and concise commit messages using semantic conventions, which helps maintain an organized commit history.
- Learn Git Branching: An interactive Git learning game that helps you practice and understand Git branching, merging, and rebasing.
- GitHub CLI: GitHub’s command-line tool for managing pull requests, issues, and repositories directly from your terminal.
These resources will help you with everything from mastering Markdown to understanding Git workflows, writing better commit messages, and effectively using GitHub tools.
#
Template page
---
icon: repo-template # icons can be found at https://primer.github.io/octicons/
image: https://picsum.photos/200/300
label: template # text that shows in the left sidebar
description: This is a custom description for this page # the pages description that shows in embed on discord or google search
date: 2020-11-25T15:30 # November 25, 2020 at 15:30 (3:30 PM)
layout: defualt # refer too https://retype.com/configuration/page/#layout
categories: [general] # what categories the page should show in
tags: [guide, basic, installation] # tags for page so it can be catagorised
authors:
- name: name
email: [email protected]
link: https://example.com/
avatar: https://example.com/frank.jpg
- name
- [email protected]
visibility: hidden # refer too https://retype.com/configuration/page/#visibility
order: 100
templating: false # boolean for if templating should be enabled
expanded: true # boolean for if the pages folder should be open or collapsed
---
## Welcome to the Template Page
This is a sample template page. You can use this as a starting point for creating new pages in your project.
### Table of Contents
- [Introduction](#introduction)
- [Usage](#usage)
- [Examples](#examples)
- [Conclusion](#conclusion)
### Introduction
Provide an introduction to the template page here. Explain the purpose and any relevant background information.
### Usage
Describe how to use this template. Include any necessary steps or instructions.
### Examples
Provide examples of how this template can be used. Include code snippets or screenshots if applicable.
### Conclusion
Summarize the key points of the template page. Include any final thoughts or recommendations.
Feel free to customize this template to fit your needs.
#
Welcome to the Template Page
This is a sample template page. You can use this as a starting point for creating new pages in your project.
#
Table of Contents
Introduction Usage Examples Conclusion
#
Introduction
Provide an introduction to the template page here. Explain the purpose and any relevant background information.
#
Usage
Describe how to use this template. Include any necessary steps or instructions.
#
Examples
Provide examples of how this template can be used. Include code snippets or screenshots if applicable.
#
Conclusion
Summarize the key points of the template page. Include any final thoughts or recommendations.
Feel free to customize this template to fit your needs.