Welcome to the repository for the Helpshift Developer Documentation!
Browse the existing Github issues or feel free to create a new Github issue if you can't find your problem.
You can contribute to this repository by opening a pull request against the main
branch. Check the Local development section for more information.
If you are making changes to docs, it is possible to use the Github code editor directly for small changes. For larger changes, consider going local:
- Clone this repository locally
- Ensure that you are on Node 16.14 or above
- Run
npm i
to install dependencies
This is a Docusaurus project, so Docusaurus-related commands apply.
- Run the local server with
npm run start
(starts on port 3100) - Use
npm run lint
to check for ornpm run lint:fix
to take care of linter issues - Make your changes
- Open a PR against the
main
branch
The search plugin only works with the final output of Docusaurus. If you want to test changes against the search plugin, do the following:
- Make your changes
- Build the project with
npm run build
- Test the search bar
This is a doc-heavy website, so unit tests for the base components haven't been added yet. We are considering adding E2E and/or Component tests with Cypress.