* docs(changelog): expand v4.4.0 deployment-change upgrade steps The v4.4.0 deployment-changes section described what changed but not what an upgrader must do. Rewrite it into action-oriented subsections matching the v4.1.1 "Action May Be Required" style: - AUTH_TYPE removal: keep legacy vars through the one-time migration, verify the seeded SSO provider, then remove them; note the login page now shows a password fallback and point to Restrict Open Sign-Up. - Hardened model server / web images: custom CA roots now use ONYX_CUSTOM_CA_CERTS_DIR (not update-ca-certificates), and shell-wrapped web overrides (e.g. HOSTNAME) must move to plain env vars since the image has no shell. - Customized Compose files: the model-server DISABLE_MODEL_SERVER /bin/sh gate was removed and now lives in the image. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * nit * docs(changelog): refocus v4.4.0 hardening upgrade note and command overrides - Drop the section-wide top Note; move a scoped "upgrading the stock Helm chart or Compose files carries this for you" note into the image-hardening section, where the manual steps actually apply. - Generalize the shell-override guidance to both hardened images: remove command:/entrypoint: overrides for the web and model-server services in favor of the image's baked-in entrypoint (this subsumes the old DISABLE_MODEL_SERVER gate), and move shell-set values like HOSTNAME to plain env vars. Note that the un-hardened api server / background images keep their stock /bin/sh -c commands. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * nit * nit * Apply suggestion from @jmelahman * nit --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Onyx Docs
This repo generates the docs and setup guide for Onyx found at https://docs.onyx.app/.
It uses Mintlify, a low-code documentation generation tool.
More info on Mintlify found here.
To make changes, check out docs.json.
Set up Mintlify
Install the Mintlify CLI to preview the documentation changes locally.
To install, use the following command (requires node >= v19.0.0)
npm i -g mintlify
Run the following command at the root of your documentation (where docs.json is)
mintlify dev
Publishing Changes
Changes are automatically deployed to production after merging to main.
Troubleshooting
- Mintlify dev isn't running - Run
mintlify installto re-install dependencies. - Page loads as a 404 - Make sure you are running in a folder with
docs.json - Mintlify Docs - https://mintlify.com/docs/introduction
Docs Formatter (scripts/format_docs.py)
A comprehensive Markdown/MDX formatter with intelligent formatting rules for documentation sites.
Usage:
# Check which files would be reformatted (exits with code 1 if changes needed)
python scripts/format_docs.py --check
# Apply formatting changes to files
python scripts/format_docs.py --write
# Set custom line width (default: 120)
python scripts/format_docs.py --write --width 100
What it does:
-
File scope: Processes all
*.md,*.mdx,*.markdownfiles recursively -
Indentation: Converts tabs to 2-space indentation; normalizes list indents to multiples of 2
-
Container normalization: Properly formats nested structures like:
<Steps>with<Step>children<Accordion>with<AccordionItem>children<Columns>with<Card>children<CardGroup>with<Card>children- Content inside containers gets indented one level deeper
-
Spacing control: Ensures single blank lines around:
- Headings and horizontal rules
- Images (Markdown
![...]and MDX<Image>) - Block-level components (
<Steps>,<Accordion>, etc.) - Code fences (removes blanks after opening, adds after closing)
-
Advisory blocks: Expands single-line tags to multi-line format:
<Warning>This is a warning</Warning> # Becomes: <Warning> This is a warning </Warning> -
Text wrapping: Reflows paragraphs to target width while preserving:
- Code blocks and fenced code
- Tables and complex formatting
- Lines with backticks, URLs, or HTML/MDX tags
- List item continuation indentation
-
Import cleanup: Splits merged imports and fixes missing
importkeywords -
YAML frontmatter: Repairs malformed frontmatter and normalizes quoted values
-
Quality checks:
- Reports numbered lists (suggests using
<Steps>/<Step>instead) - Warns about missing spaces after list markers (
1.item→1. item) - Warns if
icon:field missing from frontmatter (except in excluded directories)
- Reports numbered lists (suggests using
-
Link validation: Runs
mintlify broken-linksif available (install:npm i -g mintlify)
TODOs and Enhancements
- Reintroduce the First Look page when bandwidth allows
- Add visuals for the Use Cases page