Edit This Documentation
Last updated
Last updated
The documentation for Phoenix is generated from the /docs
directory in the Phoenix repository using .
You can contribute to editing this documentation in two ways.
You will need to create a new branch on and prefix the name of the branch with docs-
.
Sign into your GitBooks account and if you have the correct permissions you should be able to edit the documentation.
Select the branch name you created for your edits using the dropdown menu on the top left of the GitBooks interface.
You are now free to edit the documentation using the interface tools GitBooks provides. Your edits will automatically sync with the branch you created on GitHub.
Once the pull request is reviewed, approved, and merged, you will see your contributions on the Primary version of the Phoenix Documentation.
Once your edits are complete, submit a pull request with your contributions.
If you would like to preview how your edits show up on the rendered GitBooks documentation, you can prefix docs-
to the name of the branch for the pull request, and GitBooks will automatically include this as a selectable version of the documentation from the dropdown menu on the top left of the GitBooks interface. With each commit you push up to your branch, GitBooks will sync and show you the updates visually.
Once the pull request is reviewed, approved, and merged, you will see your contributions on the Primary version of the Phoenix Documentation.
Once completed, head to and click to create a pull request from the branch you created.
Clone the , create a new branch and edit the /docs
files locally. Please make sure to follow similar formatting and structure to what has already been established.