Skip to content

Nasiko-Labs/docs

Nasiko Docs

This docs site is built with Docusaurus and docusaurus-plugin-openapi-docs.

Install

npm install

Run Locally

npm start

Build

npm run build

Configure Interactive API Base URL

The "Try it out / Send API Request" panel in API Reference uses the OpenAPI servers URL.

Source of truth

  • static/openapi.json
    • top-level: servers
    • operation-level: paths.*.*.servers

Use a base URL without a trailing slash to avoid // in rendered endpoint URLs.

Examples:

  • Local: http://localhost:9100
  • Production: https://nasiko.dev

After changing the base URL

Regenerate API docs and rebuild:

npx docusaurus clean-api-docs all
npx docusaurus gen-api-docs all
npm run build

If you're running the dev server, restart it after regenerating:

npm start

If the browser still shows stale API URLs, hard refresh (Cmd+Shift+R / Ctrl+Shift+R).

About

Nasiko Control Plane Documentation

Resources

License

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors