-
Notifications
You must be signed in to change notification settings - Fork 1
Rubix Docs
Aidan P edited this page May 5, 2023
·
20 revisions
We welcome contributions to our Rubix Docs! This guide will walk you through the steps to update and add content to the site.
- A GitHub account
- Write access to the repository containing the site
- A local installation of Git
- A text editor
- Clone the repository to your local machine using Git:
git clone https://github.com/NubeIO/rubix-ce-docs.git
-
Make changes to the relevant Markdown files in your text editor.
-
Commit your changes to your local Git repository:
git add .
git commit -m "Update site content Rubix Docs"
- Push your changes to the remote repository:
git push
https://github.com/NubeIO/rubix-ce-docs/blob/main/src/pages/index.tsx#L15
https://github.com/NubeIO/rubix-ce-docs/blob/main/src/components/HomepageFeatures/index.tsx#L14
- Run the site locally:
yarn install
yarn start
- Open a web browser and go to http://localhost:3000/ to view the site with your changes.
- Go to the GitHub repository and click the Pull Requests tab.
- Click the New pull request button.
- The branch you want to merge into main branch.
- Click the Create pull request button.
- Add a title and description for your pull request, and click the Create pull request button.
- merge PR (wait for the github actions to finish before deleting the branch)
Congratulations, you have contributed to the Rubix Docs! Thank you for your contribution.