-
Notifications
You must be signed in to change notification settings - Fork 64
Contribution Guidelines
Title | Contribution Guidelines |
---|---|
Description | Guide to contribute to the DigiByte Wiki |
Published | true |
Date | 2023-10-22T11:38:22.657Z |
Tags | |
Editor | markdown |
DateCreated | 2023-10-22T09:24:43.645Z |
Thank you for considering contributing to the DigiByte Blockchain Community Wiki. This guide outlines the process and guidelines for contributing to our wiki, ensuring that your contributions are valuable, well-structured, and easy for the community to understand.
We accept contributions exclusively through GitHub, using Pull Requests (PRs) made to the Develop
branch of our repository. You can find our GitHub repository here: DigiByte Wiki GitHub Repository.
We accept contributions in the following formats, listed in order of preference:
- Markdown (MD): Markdown is the preferred format for contributions. It is well-supported by the wiki platform.
- HTML: Contributions in HTML are accepted but are not the preferred format. Ensure that your HTML is well-structured and compliant.
- Plaintext: While plaintext contributions are accepted, they should be used sparingly, as they offer limited formatting options.
Our wiki platform runs on Wiki.js, a modern and user-friendly platform for documentation. To ensure your contributions are compatible with our platform, please refer to our Markdown Guide.
Users can engage in discussions and offer comments directly on the wiki platform. However, please note the following:
- To participate in discussions and comment on articles, users must be logged in.
- Users can log in to the wiki platform using their GitHub credentials, simplifying the authentication process.
If you wish to make suggestions or propose new content or changes to existing content, we encourage you to create GitHub Issues on our repository. This helps us manage and track suggestions, making it easier for the community to engage with your proposals.
-
Fork the DigiByte Wiki GitHub Repository to your GitHub account.
-
Clone your forked repository to your local development environment.
-
Create a new branch from the
Develop
branch. Name it appropriately to describe your contribution. -
Make your desired changes to the wiki content, ensuring they follow the preferred syntax (MD, HTML, or Plaintext).
-
Commit your changes to your branch.
-
Push your branch to your forked repository on GitHub.
-
Create a Pull Request (PR) from your branch to the
Develop
branch of the main repository. In the PR description, please provide a brief summary of your contribution. -
Our maintainers will review your PR, provide feedback if needed, and merge it if it meets our contribution guidelines.
Your contributions are highly appreciated, and they play a crucial role in maintaining and improving the DigiByte Blockchain Community Wiki. Thank you for being part of our community!
If you have any questions or need assistance with the contribution process, please feel free to reach out to our maintainers or community members.
This guide provides a quick reference for using Git to contribute to the DigiByte Blockchain Community Wiki. It assumes you have a basic understanding of Git.
-
Fork the Repository: Click the Fork button on the DigiByte Wiki GitHub Repository to create a copy in your GitHub account.
-
Clone Your Fork: Clone your forked repository to your local development environment.
git clone https://github.com/YourGitHubUsername/digibyte-wiki.git
- Create a New Branch: Name it appropriately to describe your contribution. A common convention is to prefix the branch name with "feature/" or "fix/" followed by a descriptive name.
git checkout -b feature/descriptive-branch-name
Make your desired changes to the wiki content, and add new or modified files.
# Make your changes
# Add files for staging
git add file1.md file2.md
Commit your changes with a descriptive message.
git commit -m "Add new content to file1.md"
If you want to make a longer commit message you can ommit the
-m
flag and the message. You will be prompted to create the commit message in your default editor. The first line will be the subject title and the third line will start your actual content message. {.is-info}
- Push Your Branch: Push your branch to your forked repository on GitHub.
git push origin feature/descriptive-branch-name
- Create a Pull Request (PR): Navigate to the DigiByte Wiki GitHub Repository, click on "New Pull Request," and choose your branch.
To maintain consistency and clarity in branch names, we recommend using the following naming convention:
-
Feature Branch: Prefix with "feature/" and provide a descriptive name. Example:
feature/update-markdown-guide
. -
Fix Branch: Prefix with "fix/" and provide a descriptive name. Example:
fix/typo-in-article
.
This naming convention helps quickly identify the purpose of each branch and is widely used in collaborative software development.
That's it! Your contributions to the DigiByte Blockchain Community Wiki will go through the review process, and if approved, they will be merged into the main repository. Thank you for your contributions!