Documentation Website Development on Nextra (Next.js)

Our company is engaged in the development, support and maintenance of sites of any complexity. From simple one-page sites to large-scale cluster systems built on micro services. Experience of developers is confirmed by certificates from vendors.
Development and maintenance of all types of websites:
Informational websites or web applications
Business card websites, landing pages, corporate websites, online catalogs, quizzes, promo websites, blogs, news resources, informational portals, forums, aggregators
E-commerce websites or web applications
Online stores, B2B portals, marketplaces, online exchanges, cashback websites, exchanges, dropshipping platforms, product parsers
Business process management web applications
CRM systems, ERP systems, corporate portals, production management systems, information parsers
Electronic service websites or web applications
Classified ads platforms, online schools, online cinemas, website builders, portals for electronic services, video hosting platforms, thematic portals

These are just some of the technical types of websites we work with, and each of them can have its own specific features and functionality, as well as be customized to meet the specific needs and goals of the client.

Our competencies:
Development stages
Latest works
  • image_website-b2b-advance_0.png
    B2B ADVANCE company website development
    1230
  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1167
  • image_websites_belfingroup_462_0.webp
    Website development for BELFINGROUP
    863
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1077
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    829
  • image_bitrix-bitrix-24-1c_fixper_448_0.png
    Website development for FIXPER company
    843

Building a Documentation Site with Nextra (Next.js Documentation)

Nextra is a documentation framework built on top of Next.js by the Vercel team. It uses MDX, supports App Router, and works out-of-the-box on Vercel. Unlike Docusaurus, it's a full Next.js application—you can add API routes, SSR pages, and any Next.js features.

Initialization

npx create-next-app@latest my-docs --typescript --tailwind --app
npm install nextra nextra-theme-docs

next.config.ts

import nextra from 'nextra';

const withNextra = nextra({
  theme: 'nextra-theme-docs',
  themeConfig: './theme.config.tsx',
  defaultShowCopyCode: true,
  flexsearch: {
    codeblocks: false,
  },
  staticImage: true,
  latex: true,
});

export default withNextra({
  reactStrictMode: true,
  images: {
    remotePatterns: [{ hostname: 'images.unsplash.com' }],
  },
});

theme.config.tsx

import { DocsThemeConfig } from 'nextra-theme-docs';
import React from 'react';

const config: DocsThemeConfig = {
  logo: (
    <span style={{ fontWeight: 700 }}>My Project</span>
  ),
  project: { link: 'https://github.com/my-org/my-project' },
  docsRepositoryBase: 'https://github.com/my-org/my-project/blob/main/docs',
  footer: {
    text: `© ${new Date().getFullYear()} My Company`,
  },
  useNextSeoProps() {
    return {
      titleTemplate: '%s – My Project',
    };
  },
  primaryHue: { dark: 210, light: 212 },
  navigation: { prev: true, next: true },
  toc: {
    backToTop: true,
    float: true,
  },
  editLink: { text: 'Edit this page on GitHub' },
  feedback: { content: 'Question? Give us feedback →' },
  sidebar: {
    titleComponent: ({ title, type }) => (
      type === 'separator' ? (
        <span style={{ textTransform: 'uppercase', fontSize: '11px', fontWeight: 600 }}>
          {title}
        </span>
      ) : <>{title}</>
    ),
    defaultMenuCollapseLevel: 1,
    autoCollapse: true,
  },
};

export default config;

File Structure

app/
├── layout.tsx
└── [[...mdxPath]]/
    └── page.tsx        # catch-all for MDX files

content/
├── _meta.json          # navigation order and titles
├── index.mdx           # home page
├── guide/
│   ├── _meta.json
│   ├── installation.mdx
│   └── configuration.mdx
└── api/
    ├── _meta.json
    └── reference.mdx
// content/_meta.json
{
  "index": "Introduction",
  "guide": {
    "title": "Guide",
    "type": "folder"
  },
  "api": {
    "title": "API Reference",
    "type": "folder"
  },
  "changelog": "Changelog",
  "---": { "type": "separator" },
  "github_link": {
    "title": "GitHub ↗",
    "href": "https://github.com/my-org/my-project",
    "newWindow": true
  }
}

MDX with React Components

---
title: API Reference
---

import { Callout, Tabs, Tab } from 'nextra/components';

# API Reference

<Callout type="warning">
  Breaking change in v2.0: the `apiKey` parameter was renamed to `key`.
</Callout>

<Tabs items={['cURL', 'JavaScript', 'Python']}>
  <Tab>
    ```bash
    curl https://api.myproject.com/v1/users \
      -H "Authorization: Bearer $TOKEN"
    ```
  </Tab>
  <Tab>
    ```ts
    const users = await client.users.list();
    ```
  </Tab>
  <Tab>
    ```python
    users = client.users.list()
    ```
  </Tab>
</Tabs>

Deployment on Vercel

vercel --prod
# Nextra is automatically optimized for Vercel Edge Network

Setting up a Nextra documentation site takes 2–3 days.