To contribute to either the documentation or stubs, you can fork & clone our repository, make your edits, and simply push back to GitHub and send us a pull request. All items that get pulled into the main repository will automatically get pushed to our.umbraco.org/documentation.
- Setting up Git for Windows and connecting to GitHub
- Forking a GitHub repository
- The simple guide to GIT
All active work done on the documentation is currently being done on the master
branch.
If you decide to clone the UmbracoDocs repository on your local machine for making larger changes that can't be done directly on GitHub then we recommend you sync with our repository before you submit your pull request. That way, you can fix any potential merge conflicts and make our lives a little bit easier.
To sync your fork with this original one, you'll have to add the upstream url, you only have to do this once:
git remote add upstream https://github.com/umbraco/UmbracoDocs.git
Then when you want to get the changes from the main repository:
git fetch upstream
git rebase upstream/master
In this command we're syncing with the master
branch, but you can of course choose another one if needed.
All documents are written in Markdown, using a simple structure and stored as .md files. These are then pulled to our.umbraco.org/documentation for easy browsing.
First fork and clone the repository so that you have your own working copy. Then create a new branch on your local copy to make your changes. Once you are happy with your edits, use GitHub to issue a "pull request", which means your edits will be reviewed, and once accepted, merged into the main repository.
Note: It's a good idea to pull in upstream changes, merge and commit to your own fork before submitting a pull request. Instructions on how to set up a remote repo and pull from upstream can be found on this page.
Everything in the main repository will make it onto the our.umbraco.org/documentation site, which is why we have chosen a pull request workflow to keep everything simple and straightforward.
Use Github issues for reporting and discussing issues.