PEcAn webpage
This repository contains the contents of the PEcAn Project website.
This README is written for members of the PEcAn Project community who wish to add content to or otherwise modify the website. The website is built using Docusaurus 3, a modern static website generator. The Docusaurus Documentation provides details on maintaining the website; this README is not intended to replace the Docusaurus documentation. Rather, it is intended to provide a brief introduction to common tasks as well as project specific information.
This site was created by Eshan Tripathi with mentorship from Prakher Prashank as part of GSoC '21.
This section will help one to setup the project for local development.
Use Node.js 26 LTS with its bundled npm for local development. Docusaurus 3.10.2 requires Node.js 20 or newer. To reproduce the CI build, use Node.js 20.20.2 and npm 10.8.2. Download Node.js · Website build workflow
From the repository root, install the dependencies recorded in package-lock.json using the same command as CI.
npm ci
If you prefer Yarn, use Yarn Classic 1.22.22 and run yarn install --frozen-lockfile to install from yarn.lock. Use yarn start for local development and yarn build for the production build. Yarn Classic install reference
npm start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
npm run build
This command generates static content into the build directory and can be served using any static contents hosting service.
This describes how to add or modify the Website's content.
This is an open source project and contributions are what make an open source community. Everyone is welcome to contribute to this project.
All involved are expected to follow the PEcAn code of conduct and contribute to a positive and inclusive environment.
First time contributors are welcome. Contributions can be very simple, make sure to check out issues labeled 'good first issue'. If you have an idea, the best place to start a discussion is on the PEcAn project Slack channel, or by opening an issue in this repository.
Changes to package-lock.json and yarn.lock files should only be committed when:
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 for information on MDX syntax and capabilities.
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:
### My Important Section{#my-important-section}
Then, you can link to this section using:
[Link to my section](#my-important-section)
Feature Cards on the website homepage highlight the key features of the PEcAn Project.

To modify the feature cards-
src/components/HomepageFeatures.jsconst FeatureList inside HomepageFeatures.js
Every item inside the FeatureList array contains a JavaScript object enclosed {} and separated by , .
Each of these objects is a feature that is displayed on the homepage and contains a title, Svg and description.
You can edit or remove feature cards and the changes will be reflected after the code passes build test.
If you are adding or editing an image file, the image file must is present inside static/img directory, otherwise the compiler would return an error.
You should use SVG images when available.
The people page contains details of the PEcAn team. The image here
Add ESLint rule to catch broken internal links and standardize on npm
https://github.com/PecanProject/PecanProject.github.io/issues/156
Labels: 없음
Add lychee GitHub action to automatically check for broken links
https://github.com/PecanProject/PecanProject.github.io/issues/134
Labels: good first issue
Enhance Site Navigation: Add Search Bar to Navbar
https://github.com/PecanProject/PecanProject.github.io/issues/90
Labels: 없음
No CONTRIBUTING document was found. Please check the README and open issues.