-
Notifications
You must be signed in to change notification settings - Fork 34
Edit on Github
Editing a documentation file in our gitbook-docs
repository is like editing any other file directly on Github.
In any page of the documentation site, you'll find a link (on the right sidebar) that will take you directly to the corresponding file in the repository.
You can also browse directly through this repository until you find the file you'd like to edit.
In the upper right corner of the file view, click the button with the pencil icon, to open the file editor.
On the Edit file tab, make any changes you want to make to the file.
You can preview your changes by clicking "Preview changes". Take into account that the final style will be given by gitbook but it will use the content and markup set in the file.
At the bottom of the page, type a short, meaningful commit message that describes the change, or changes, that you made to the file (For example → Improved expression
).
Below the commit message fields, click the email address drop-down menu and choose a Git author email address.
Below the commit message fields select the option Create a new branch for this commit and start a pull request
. This option will create a new branch, you can then create a pull request from there.
When selecting
Create a new branch for this commit and start a pull request
you can see a default name for the branch is available. You can leave that as it is in order to simplify things, or you can type another name for the branch that you think is more meaningful.
Click "Propose file change".
Once you click the "Propose file change" you'll be redirected to the "Open a pull request" page.
Here you can change the title of the pull request (Improved expression
in our example) and add any comments regarding your changes, but usually you can just click the "Create pull request" button.
So... click "Create pull request".
🎉 Boom! Pull requested created. Now the ball is in our court.
We will either accept your changes and merge them with the final version or, if we want to discuss the changes, we will start a conversation about your changes on the Pull Request.
Got questions or feedback about Frontity? We'd love to hear from you. Use our community forum yo ! ❤️
Frontity also welcomes contributions. There are many ways to support the project (and get free swag)! If you don't know where to start, this guide might help → How to contribute?