Hi! We are really excited that you are interested in contributing to iconify/website
. Before submitting your contribution, please make sure to take a moment and read through the following guide.
Refer also to https://github.com/antfu/contribute.
The iconify/website
repo is using pnpm. The package manager used to install and link dependencies must be pnpm.
To develop and test the iconify/website
package:
-
Fork the
iconify/website
repository to your own GitHub account and then clone it to your local device. -
Ensure using the latest Node.js (16.x)
-
iconify/website
uses pnpm v8. If you are working on multiple projects with different versions of pnpm, it's recommend to enable Corepack by runningcorepack enable
. -
Check out a branch where you can work and commit your changes:
git checkout -b my-new-branch
-
Run
pnpm install
iniconify/website
's root folder -
Run
nr build
iniconify/website
's root folder.
iconify/website
uses Vitepress
.
Once you made the changes to the documentation, you can test them running nr dev
from the root folder.
To check the website build, just run nr preview
from the root folder.