Skip to content
nvisycomPublic

About

Official documentation for Nvisy: guides for the app, the API and SDKs, and self-hosting, with an endpoint reference generated from the OpenAPI spec. Built with Astro Starlight.

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

Nvisy Docs

Documentation for the Nvisy multimodal redaction platform.

Guides, API reference, and SDK documentation, built with Astro Starlight and deployed to docs.nvisy.com.

nvisy.com · docs.nvisy.com

The published source for docs.nvisy.com: an Astro Starlight site that builds to plain HTML. Pages are MDX files under src/content/docs, each served at its path there. astro.config.ts holds the sidebar, the Docs / Developers / Self-hosting topics, and the plugins. The endpoint reference is generated from openapi.json, which is fetched from a running server rather than edited by hand.

The layout follows Linear's docs: a full-height sidebar holding the logo, search and section switch, a slim breadcrumb bar over a narrow text column, and filled cards. The look is nvisy.com's (the portal repo): the same fonts, logo, monochrome colour tokens and code themes. The layout lives in the component overrides under src/components/overrides; src/styles/theme.css maps the site's tokens onto Starlight's. When the site's palette changes, update it there too.

Warning

Active development: API not stable. This project is under active development. Public APIs, configuration shapes, on-disk formats, and wire protocols may change without notice between releases. Pages here track main and may describe unreleased behavior.

Contents

Docs
Using the Nvisy app: workspaces, documents, detection and redaction, policies, reviews, integrations, and the desktop app.

Developers
The API: authentication, a quickstart, guides, minimal TypeScript, Python and Rust SDK pages, and the endpoint reference generated from the OpenAPI specification.

Self-hosting
Running the server yourself: requirements, Docker Compose install, configuration, the detection engine, sign-in, and operations.

Quick Start

Install dependencies and start the dev server on localhost:4321:

make install
make dev

Before opening a pull request, run the checks CI runs: formatting and lint (Biome), types, the OpenAPI spec, and a full build. The build fails on any broken internal link or anchor.

make check

Writing Pages

Pages use Starlight's built-in components (Steps, Tabs, TabItem) and asides (:::note, :::tip, :::caution). Cards, accordions and field lists come from src/components/mdx. Import what a page uses at its top:

import { Steps, Tabs, TabItem } from "@astrojs/starlight/components";
import { Card, CardGroup } from "@/components/mdx";

A card's icon must be one listed in CardIcon.astro. An unknown name fails the build.

OpenAPI

The specification is generated from a running server, never written by hand. Regenerate it against production or a local instance:

make generate         # from https://api.nvisy.com
make generate-local   # from http://127.0.0.1:8080

Both fetch the spec, pretty-print it, and validate the result before writing. An invalid spec leaves the existing openapi.json untouched.

Endpoint pages under /developers/api-reference/ are rendered from that file at build time by starlight-openapi, so a regenerated spec is the only change needed when the API surface moves. The spec, not an SDK, is the source of truth for hand-written pages: the SDKs can lag behind it.

Project

Hosted on Render as a static site, like nvisy.com: it runs npm ci && npm run build and publishes dist/ on every merge to main. Render reads the Node version from .node-version. npm run build writes the same site locally to dist/, including the search index and llms.txt.

Support

About

Official documentation for Nvisy: guides for the app, the API and SDKs, and self-hosting, with an endpoint reference generated from the OpenAPI spec. Built with Astro Starlight.

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Contributors

Languages

Generated from mintlify/starter