Thanks for your interest in improving the NeuVector documentation!
This repository contains the source code for the official NeuVector documentation site. The documentation content is written in Markdown and the site is statically generated using Docusaurus.
To preview your changes locally, install the following tools:
-
Fork the repository to your GitHub account, then clone your fork and navigate to the
docsdirectory.git clone https://github.com/<your-fork>/docs.git cd docs
-
Install the project dependencies.
yarn install
-
Start the local development server.
yarn start
yarn start launches a local development server (usually at http://localhost:3000) with live reload enabled. This allows you to preview your changes exactly as they will render on the live site before you submit a Pull Request.
If you need to test the static production build locally to ensure everything compiles correctly:
yarn build
yarn serve # preview the built outputIf you find a typo, an error, a gap in the documentation, or an outdated instruction, please open an issue.
To help us resolve the issue quickly, please include:
- The URL or file path of the affected page.
- A description of what is currently wrong or unclear.
- What you would expect to see instead.
When you are ready to contribute a fix or an update, follow these steps:
- Create a branch: Create a new branch on your fork for your changes (e.g.,
git checkout -b fix/typo-in-getting-started). - Edit the content: Make your changes to the relevant files under the docs/ directory.
- Most content is plain Markdown (.md), but Docusaurus also supports
.mdxfor pages that embed React components. Be sure to check the file extension before assuming standard Markdown syntax alone will apply.
- Most content is plain Markdown (.md), but Docusaurus also supports
- Check older versions: If your change applies to content that also exists in an older documentation version (found in the
versioned_docs/ directory), please consider applying the same fix to those versions. - Preview locally: Use
yarn startto verify that your formatting for Docusaurus-specific admonitions like:::note,:::warning, and:::info—renderscorrectly. - Submit a Pull Request: Open a Pull Request against the
mainbranch. Provide a clear and concise description of what was changed and why.
Important: by submitting a pull request, you agree to allow the project owner to license your work under the same license as used by this project.
For anything not covered here, or if you need assistance with your contribution, please feel free to open an issue. We are here to help!