Add New Documentation via GitHub#
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 documentation. 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. You will see the following screen:
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 Propose 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 unique, descriptive title for your pull request.
Add a comment that explains your change to the Open edX team.
Ensure the checkbox “Allow edits by maintainers” - this enables the Open edX team to rerun tests or make small changes, which will decrease the time for your changes to be accepted. Your screen should look like this:
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.