Add Documentation via Github
Add Documentation via Github#
Steps to Add Documentation
These instructions are for adding new documentation directly on GitHub. You can create documentation on your computer then synch it to GitHub, if you are familiar with the GitHub client software.
You need a GitHub account to create or edit documenation. You can create a Github account here.
The latest documentation is in the main branch of the Open edX Documentation GitHub repository.
Navigate to the folder where you want to create the new document.
Ensure the main branch is selected.
In the GitHub repository, click the branch drop-down.
Type the name of the branch, in the form of:
Click Create branch.
The branch you created becomes active; you can now create or edit documentation.
In some cases (for example, with a brand new feature), you may want to create a new document to describe the feature.
With your new branch active:
Find the location where you should put the new document. Consider the audience and type of topic for the new content.
In the Add New File drop-down, select Create New File.
At the top of the screen, give the file a name and the
Add content to the topic as needed.
In the Commit Changes section at the bottom of the edit window:
Add a comment about the addition you made.
Choose to commit directly to the branch you created in Step 1.
Click Commit new file to save these changes to your branch.
Repeat these steps for all topics you need to create.
Every new topic must be added to a table of contents. Add each new topic to the audience home page in the appropriate place.
In the Pull Request window, click Create pull request.
You should not need to change the branches selected. By default, you are requesting to merge the branch in your fork of the repository into the official repository’s main branch.
Add a title for your pull request.
Add a comment that explains your change to the Open edX team.
Click Create pull request.
The Open edX team will then review your changes. If they approve, they will merge the pull request, and you will see your changes in the latest documentation. The Open edX team may ask you to make further changes, to clarify the documentation or fix issues.