This page will help you understand how to contribute to the Orbiton Documentation Website. You will also understand the project structure, scripts and tools used to build the website.
Inorder to contributeto the documentatio first you must fork this repository. Then clone your fork.
Requirements
- Node version 14 or later
- Yarn
If you have the above requirements the you are ready to go.
After cloning it. Then run the following commands to install the dependecies and start the development server.
yarn
yarn run startIf the server starts without errors thaen you are good to go🚀.
The project structure of the repository is quite simple but the location of each element is critical.
When you have cloned the repository installed all dependecies you will have such a structure simmilar to this.
~ |
|- .config
|- .github
|- .vscode
|- node_modules
|- src
|- static
Files have been ignoredNext lets explain What each folder represents and its use.
This folder contains configuration files used in development. Some examples like webpack configuration files. You can adjust files in this folder inorder to add new features to the development environment or even to the website itself.
Note: If you make a change that affects the project structure please add an explained detail in the Contributing guide of the project.
This folder is for github configurations
For Visual Studio Code cofigurations
This is the most crutial directory is the project it contains the source code for the documentation.