Skip to content

Latest commit

 

History

115 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NEAR AI Documentation



NEAR AI Logo

Private. Intelligent. Yours.

Check broken links Node.js Version Mintlify License

Live DocumentationReport BugRequest Feature


About

This repository contains the official documentation for NEAR AI Cloud, a platform offering developers access to secure, private, verifiable AI models through a unified API.

The site is built and hosted with Mintlify. Content is plain MDX; docs.json holds the navigation, branding, and site settings.

The API Reference tab is generated by Mintlify from api-reference/openapi.json, a vendored copy of the live spec. Refresh it with ./scripts/sync-openapi.py whenever the API changes.

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js >= 20.0.0 (Download)
  • Mintlify CLI: npm i -g mint

Quick Start

Installation

# Clone the repository
git clone https://github.com/nearai/docs.git
cd docs

# Install the Mintlify CLI (once)
npm i -g mint

Local Development

# Start the local preview
mint dev

This starts a local preview at http://localhost:3000. Changes are reflected live without restarting the server.

Validate

# Strict build validation (fails on warnings or errors)
mint validate

# Check for broken internal links
mint broken-links

Run both before opening a pull request; CI runs the broken-link check on every PR.

Available Commands

Command Description
mint dev Start the local preview with hot reload
mint validate Validate the build in strict mode
mint broken-links Check for broken links
mint update Update the Mintlify CLI

Deployment

Mintlify deploys automatically from the main branch through the Mintlify GitHub App; every pull request gets a preview deployment. The production domain (docs.near.ai) is configured in the Mintlify dashboard.

Contributing

We welcome contributions to improve our documentation! Here's how you can help:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-improvement)
  3. Make your changes and test locally (mint dev)
  4. Validate (mint validate && mint broken-links)
  5. Commit your changes (git commit -m 'Add amazing improvement')
  6. Push to the branch (git push origin feature/amazing-improvement)
  7. Open a Pull Request

Documentation Guidelines

  • Use clear, concise language
  • Include code examples where applicable
  • Follow the existing documentation structure
  • Test all code snippets before submitting
  • Use proper markdown formatting

Documentation Standards

  • Markdown Files: Use the .mdx extension; a page's URL is its file path (e.g., cloud/quickstart.mdx/cloud/quickstart)
  • Navigation: Add every new page to the navigation tree in docs.json
  • Code Blocks: Include language identifiers for syntax highlighting; add a filename after the language for a title (```yaml librechat.yaml)
  • Links: Use absolute paths for internal links (e.g., /cloud/quickstart)
  • Images: Store in images/ and reference with absolute paths (e.g., /images/cloud.png)
  • Components: Use Mintlify's built-in components (Card, CardGroup, Tabs, Accordion, Note/Tip/Warning, …) rather than custom React
  • Integration guides: Follow the section contract in .github/INTEGRATION_GUIDE_TEMPLATE.md

Bug Reports & Feature Requests

Found a bug or have a feature request? Please open an issue with:

  • Clear title and description
  • Steps to reproduce (for bugs)
  • Expected vs actual behavior
  • Screenshots (if applicable)

Links

Support

Need help? Reach out through:

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

NEAR AI Cloud Documentation

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages