A documentation viewer for the WEKA REST API across multiple versions. This project provides an interactive Swagger UI interface to explore and understand the WEKA system's RESTful API capabilities.
All API documentation files are stored in /public/docs/
as JSON files.
When adding new API documentation versions:
- Place the new JSON file in
/public/docs/
- Update the
urls
array insrc/main.js
to include the new version - Follow the existing naming convention:
{version}.json
- Node.js (version specified in
.nvmrc
) - Yarn package manager
yarn install
yarn start
The application will be available at http://localhost:5000
(or the next available port).
yarn build
The built files will be generated in the dist/
directory.
yarn preview
This project is configured for automatic deployment to GitHub Pages via GitHub Actions. Simply push your changes to the main
branch and the CI/CD pipeline will:
- Build the application using
yarn build
- Deploy the built files to GitHub Pages automatically
No manual deployment commands are needed.