This repository contains the documentation and content for the jQuery Validation Plugin website.
This site is automatically deployed to GitHub Pages using Jekyll.
- Content is written in Markdown with Jekyll front matter
- The site is built using Jekyll (configured in
_config.yml) - GitHub Actions automatically builds and deploys the site when changes are pushed to the
mainormasterbranch - The workflow is defined in
.github/workflows/deploy-pages.yml
To test the site locally:
-
Install Ruby 2.7 or higher and Bundler:
gem install bundler
-
Install dependencies:
bundle install npm install npm run copy-libs
-
Run Jekyll locally:
bundle exec jekyll serve -
Open your browser to
http://localhost:4000/validation-content/
Note: This site uses Jekyll 4.x. If you encounter issues, ensure you have Ruby 2.7 or higher installed.
- Edit or create Markdown files (
.md) in the root directory - Each file should have Jekyll front matter at the top:
--- layout: default title: Your Page Title ---
- Commit and push your changes
- GitHub Actions will automatically build and deploy the site
index.md- Home pagedocumentation.md- API documentationcontribute.md- Contribution guidereference.md- General guidelines and reference_entries/- Markdown documentation entries (for API methods, converted from XML)_layouts/- Jekyll layout templates
The site is automatically deployed via GitHub Actions when:
- Changes are pushed to
mainormasterbranch - The workflow can also be triggered manually from the Actions tab
No manual deployment is required!