You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update: Improve the contribution workflow
* Updated internal members terms to Organization members
---------
Co-authored-by: Gaius_sama <[email protected]>
***File structure:** understanding where different documentation sections are located
72
+
73
+
### Step 4: Test Your Changes
74
+
75
+
Before committing, ensure the documentation builds without errors:
76
+
```bash
77
+
yarn build
78
+
```
41
79
42
-
- Markdown basics:
43
-
- titles, subtitles
44
-
- lists
45
-
- hyperlinks
80
+
If the build completes successfully, you are ready to commit your changes.
46
81
47
-
### Method 2:
82
+
### Step 5: Commit and Push Your Changes
48
83
49
-
Make sure `node` and `yarn` exist as commands in your terminal or VS Code and [**Github Desktop**](https://desktop.github.com/download/) is installed. All the `git` operations described below can also be found within the menu of the desktop application, and common operations are clearly visible on launch.
84
+
Add your changes and create a commit with a descriptive message:
Please import and use the `<Figure/>` tag instead of `![image]` as this enables smoother translation of docs to other languages (automatic reference to original images, no need to copy images to translated subfolders) and automatically applies some styling such as line breaks.
89
-
90
-
**🧑🏻💻 Example as seen [here](https://github.com/AstarNetwork/astar-docs/blob/d530139ca7a5ab034a783981d313542e02fdfb54/docs/about/token-economics/inflationary-model.md).**
91
-
92
-
**Top of file:**
127
+
Add the original repository as an upstream remote to keep your fork synchronized:
***File structure:** understanding where different documentation sections are located
163
+
164
+
### Step 5: Test Your Changes
165
+
166
+
Before committing, ensure the documentation builds without errors:
167
+
```bash
168
+
yarn build
169
+
```
170
+
171
+
If the build completes successfully, you are ready to commit your changes.
172
+
173
+
### Step 6: Commit and Push Your Changes
174
+
175
+
Add your changes and create a commit with a descriptive message:
176
+
```bash
177
+
git add .
178
+
git commit -m "Description of your changes"
179
+
```
180
+
181
+
Push your branch to your forked repository:
182
+
```bash
183
+
git push -u origin feat/your-feature-name
184
+
```
185
+
186
+
### Step 7: Create a Pull Request
187
+
188
+
1. Go to your forked repository on GitHub (https://github.com/YOUR-USERNAME/astar-docs)
189
+
2. Click **Compare & pull request**
190
+
3. Ensure the base repository is `astarnetwork/astar-docs` and the base branch is `main`
191
+
4. Provide a detailed description of your changes
192
+
5. Submit the Pull Request
193
+
6. Once the PR is created, CI/CD will automatically generate a unique staging link for review
194
+
7. You can monitor the build progress in the Actions tab on GitHub
195
+
8. Wait for feedback from the Astar team
196
+
197
+
### Step 8: Keep Your Fork Updated
198
+
199
+
To keep your fork synchronized with the original repository:
200
+
```bash
201
+
git checkout main
202
+
git pull upstream main
203
+
git push origin main
204
+
```
205
+
206
+
</details>
207
+
208
+
## Working with Images
209
+
210
+
Please import and use the `<Figure/>` tag instead of `![image]` as this enables smoother translation of docs to other languages (automatic reference to original images, no need to copy images to translated subfolders) and automatically applies some styling such as line breaks.
211
+
212
+
**🧑🏻💻 Example as seen [here](https://github.com/AstarNetwork/astar-docs/blob/d530139ca7a5ab034a783981d313542e02fdfb54/docs/about/token-economics/inflationary-model.md).**
0 commit comments