Skip to content

Commit fe38b46

Browse files
authored
Merge pull request #96 from divine7022/readme/update-contributing-guidelines
Readme/update contributing guidelines
2 parents 0a2974a + c58766f commit fe38b46

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,21 @@ Changes to `package-lock.json` and `yarn.lock` files should only be committed wh
9595
- Updating an existing dependency: Running an update for a package will adjust these files to reflect the new versions.
9696
- Removing a dependency: Uninstalling a package will update these files to remove the reference to the dependency.
9797

98+
### Content File Formats
99+
100+
**Use `.md` or `.mdx` file formats** MDX is a markdown format that allows embedded JSX components for more flexibility. Refer to the Docusaurus Docs page [MDX and React](https://docusaurus.io/docs/markdown-features/react) for information on MDX syntax and capabilities.
101+
102+
**Always link using explicit heading IDs** when adding or editing headings in a `.md` or `.mdx` file. This prevents broken links if heading text changes later. For example:
103+
104+
```markdown
105+
### My Important Section{#my-important-section}
106+
```
107+
Then, you can link to this section using:
108+
109+
```markdown
110+
[Link to my section](#my-important-section)
111+
```
112+
98113
### Add or Edit Feature Cards
99114

100115
Feature Cards on the website homepage highlight the key features of the PEcAn Project.
@@ -118,7 +133,7 @@ You should use SVG images when available.
118133

119134
The people page contains details of the PEcAn team. The image here is a representation of how the page should look like with placeholder values.
120135

121-
![PecanPople](screenshots/pecanPeople.png)
136+
![PecanPeople](screenshots/pecanPeople.png)
122137

123138
```javascript
124139
const contributors = [
@@ -177,13 +192,16 @@ tags: [gsoc, gsoc21]
177192
---
178193
```
179194

195+
196+
<!-- These screenshots are large and don't appear to be in the right place, if necessary
180197
## Screenshots
181198
182199
This section contains screenshots of website's homepage in light and dark theme.
183200
184201
![LightTheme](screenshots/light.png)
185202
186203
![DarkTheme](screenshots/dark.png)
204+
-->
187205

188206
## Next Steps
189207

0 commit comments

Comments
 (0)