ngxdocs
Documentation

Deploying

Deploy an ngxdocs application anywhere Analog can run.

On this page

ngxdocs does not introduce a separate deployment runtime. Build and deploy the documentation as an Analog application.

Choose an Analog preset

Use the deployment preset for your hosting provider in the Analog Vite configuration. Server-rendered deployments run the generated server entry; static deployments prerender the docs routes and publish the client output.

Before deploying

  • Run the project typecheck and tests.
  • Confirm that every visible meta.json entry resolves to a content file.
  • Verify direct navigation to nested docs URLs.
  • Keep hosted search and analytics secrets out of the client bundle.
  • Generate AI and export artifacts when those features are enabled.

Repository deployment

This repository includes zerops.yaml for deploying the ngxdocs site through Zerops. Other providers can use the normal Analog adapter and output conventions without changes to content or UI packages.

Last updated on