Skip to content

Commit a64c1b9

Browse files
anurlybayevV2arK
andauthored
Mintlify v4 migration with NVIDIA branding, legal footer, and layout fixes (#35)
Signed-off-by: Honglin Cao <Caohonglin317@hotmail.com> Signed-off-by: Honglin Cao <hocao@nvidia.com> Co-authored-by: Honglin Cao <Caohonglin317@hotmail.com> Co-authored-by: Honglin Cao <hocao@nvidia.com>
1 parent 64eeddd commit a64c1b9

29 files changed

Lines changed: 441 additions & 554 deletions

‎AGENTS.md‎

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ This repository is a Mintlify documentation site for NVIDIA CCluster. Future age
44

55
## Quick Orientation
66

7-
- The docs site is configured by [mint.json](/Users/anurlybayev/Developer/codex/centml_platform_docs/mint.json).
8-
- Most content is written as `.mdx` files under [home/](/Users/anurlybayev/Developer/codex/centml_platform_docs/home), [apps/](/Users/anurlybayev/Developer/codex/centml_platform_docs/apps), [clients/](/Users/anurlybayev/Developer/codex/centml_platform_docs/clients), [resources/](/Users/anurlybayev/Developer/codex/centml_platform_docs/resources), and [examples/](/Users/anurlybayev/Developer/codex/centml_platform_docs/examples).
9-
- Shared MDX helpers currently live in [snippets/components.mdx](/Users/anurlybayev/Developer/codex/centml_platform_docs/snippets/components.mdx).
10-
- Static assets live in [images/](/Users/anurlybayev/Developer/codex/centml_platform_docs/images).
11-
- The local preview environment is containerized via [Dockerfile](/Users/anurlybayev/Developer/codex/centml_platform_docs/Dockerfile) and [docker-compose.yml](/Users/anurlybayev/Developer/codex/centml_platform_docs/docker-compose.yml).
7+
- The docs site is configured by [docs.json](docs.json).
8+
- Most content is written as `.mdx` files under [home/](home), [apps/](apps), [clients/](clients), [resources/](resources), and [examples/](examples).
9+
- Shared MDX helpers currently live in [snippets/components.mdx](snippets/components.mdx).
10+
- Static assets live in [images/](images).
11+
- The local preview environment is containerized via [Dockerfile](Dockerfile) and [docker-compose.yml](docker-compose.yml).
1212

1313
## Known Good Local Setup
1414

15-
- Mintlify is pinned to `4.2.28` in the Dockerfile.
15+
- The Dockerfile pins the Mintlify CLI to `mint@4.2.516`.
1616
- Preferred preview command:
1717

1818
```bash
@@ -22,22 +22,22 @@ docker compose up --build
2222
- Direct local CLI is acceptable, but keep it on the same version:
2323

2424
```bash
25-
npm install -g mintlify@4.2.28
26-
mintlify dev
25+
npm install -g mint@4.2.516
26+
mint dev
2727
```
2828

2929
## Repo Shape
3030

31-
- [home/](/Users/anurlybayev/Developer/codex/centml_platform_docs/home): entry-point pages
32-
- [apps/](/Users/anurlybayev/Developer/codex/centml_platform_docs/apps): product capability pages
33-
- [clients/](/Users/anurlybayev/Developer/codex/centml_platform_docs/clients): SDK/client usage docs
34-
- [resources/](/Users/anurlybayev/Developer/codex/centml_platform_docs/resources): operational and supporting guides
35-
- [examples/](/Users/anurlybayev/Developer/codex/centml_platform_docs/examples): example pages and nested example groups
36-
- [endpoints/](/Users/anurlybayev/Developer/codex/centml_platform_docs/endpoints): API-related files not currently exposed in navigation
31+
- [home/](home): entry-point pages
32+
- [apps/](apps): product capability pages
33+
- [clients/](clients): SDK/client usage docs
34+
- [resources/](resources): operational and supporting guides
35+
- [examples/](examples): example pages and nested example groups
36+
- [endpoints/](endpoints): API-related files not currently exposed in navigation
3737

3838
## Editing Rules Of Thumb
3939

40-
- Treat [mint.json](/Users/anurlybayev/Developer/codex/centml_platform_docs/mint.json) as the source of truth for page order and visibility.
40+
- Treat [docs.json](docs.json) as the source of truth for page order and visibility.
4141
- A file existing on disk does not mean it is published in the nav.
4242
- Prefer local image references like `/images/file.png` for assets stored in this repo.
4343
- Preserve existing MDX style and frontmatter keys such as `title`, `description`, `icon`, and optional `sidebarTitle` or `mode`.
@@ -53,13 +53,13 @@ mintlify dev
5353

5454
## Things That May Surprise You
5555

56-
- The current [README.md](/Users/anurlybayev/Developer/codex/centml_platform_docs/README.md) is repo-specific and should stay aligned with the pinned Mintlify version.
56+
- The current [README.md](README.md) is repo-specific and should stay aligned with the repository’s Mintlify workflow.
5757
- The repository contains some content and assets that are not currently referenced from navigation.
5858
- There is a local `node_modules/` directory in the working tree environment, but it is not tracked by git and should not be relied on as repository metadata.
5959

6060
## Good First Checks For Any Task
6161

62-
1. Read [README.md](/Users/anurlybayev/Developer/codex/centml_platform_docs/README.md) and [mint.json](/Users/anurlybayev/Developer/codex/centml_platform_docs/mint.json).
62+
1. Read [README.md](README.md) and [docs.json](docs.json).
6363
2. Inspect the target page and any shared snippet it imports.
6464
3. Confirm whether the page is navigation-backed or just present in the repo.
6565
4. Use the Docker preview if anything about Mintlify versioning seems uncertain.

‎Dockerfile‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ FROM node:20-alpine
44
# Set working directory
55
WORKDIR /app
66

7-
# Install Mintlify CLI globally
8-
RUN npm install -g mintlify@4.2.28
7+
# Install Mintlify CLI (pinned to a verified working version)
8+
RUN npm install -g mint@4.2.516
99

1010
# Create a user and group with specific UID and GID so kubernetes knows
11-
# it's not a root user
12-
RUN addgroup -g 1001 centml && adduser -D -s /bin/bash -u 1001 -G centml centml
11+
# it's not a root user. Alpine images ship with /bin/sh by default.
12+
RUN addgroup -g 1001 centml && adduser -D -s /bin/sh -u 1001 -G centml centml
1313

1414
# Copy all documentation files
1515
COPY . .
@@ -24,4 +24,4 @@ USER 1001:1001
2424
EXPOSE 3000
2525

2626
# Command to run Mintlify dev server
27-
CMD ["mintlify", "dev"]
27+
CMD ["mint", "dev"]

‎README.md‎

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22

33
This repository contains the Mintlify source for the NVIDIA CCluster documentation site.
44

5-
The current known-good Mintlify version is `4.2.28`. That version is pinned in the [Dockerfile](/Users/anurlybayev/Developer/codex/centml_platform_docs/Dockerfile). If you use Mintlify locally outside Docker, use the same version unless you are intentionally validating an upgrade.
5+
The Mintlify CLI is pinned to `mint@4.2.516` in the [Dockerfile](Dockerfile). If you use Mintlify locally outside Docker, use the same version unless you are intentionally validating an upgrade. The site's layout, branding, and color palette are defined in [docs.json](docs.json).
66

77
## Repository Layout
88

9-
- [mint.json](/Users/anurlybayev/Developer/codex/centml_platform_docs/mint.json): site configuration, branding, and left-nav structure
10-
- [home/](/Users/anurlybayev/Developer/codex/centml_platform_docs/home): landing pages such as introduction and quickstart
11-
- [apps/](/Users/anurlybayev/Developer/codex/centml_platform_docs/apps): deployment product docs
12-
- [clients/](/Users/anurlybayev/Developer/codex/centml_platform_docs/clients): SDK and client setup docs
13-
- [resources/](/Users/anurlybayev/Developer/codex/centml_platform_docs/resources): supporting guides such as pricing, support, vault, and custom images
14-
- [examples/](/Users/anurlybayev/Developer/codex/centml_platform_docs/examples): example-driven docs
15-
- [snippets/components.mdx](/Users/anurlybayev/Developer/codex/centml_platform_docs/snippets/components.mdx): shared custom MDX components used across pages
16-
- [images/](/Users/anurlybayev/Developer/codex/centml_platform_docs/images): local static assets referenced by MDX pages
17-
- [endpoints/](/Users/anurlybayev/Developer/codex/centml_platform_docs/endpoints): API-related assets that are present in the repo but are not currently wired into navigation
9+
- [docs.json](docs.json): site configuration, branding, and left-nav structure
10+
- [home/](home): landing pages such as introduction and quickstart
11+
- [apps/](apps): deployment product docs
12+
- [clients/](clients): SDK and client setup docs
13+
- [resources/](resources): supporting guides such as pricing, support, vault, and custom images
14+
- [examples/](examples): example-driven docs
15+
- [snippets/components.mdx](snippets/components.mdx): shared custom MDX components used across pages
16+
- [images/](images): local static assets referenced by MDX pages
17+
- [endpoints/](endpoints): API-related assets that are present in the repo but are not currently wired into navigation
1818

1919
## Prerequisites
2020

@@ -27,7 +27,7 @@ For local development you need:
2727

2828
### Preferred: Docker
2929

30-
The repo already includes a Docker-based workflow that uses the pinned Mintlify version.
30+
The repo already includes a Docker-based workflow that installs the pinned Mintlify CLI version.
3131

3232
```bash
3333
docker compose up --build
@@ -38,35 +38,35 @@ Then open [http://localhost:3000](http://localhost:3000).
3838
Notes:
3939

4040
- The repo is mounted into the container, so local file edits are reflected in the preview.
41-
- The image installs `mintlify@4.2.28` globally.
41+
- The image installs `mint@4.2.516` globally.
4242
- Port `3000` is exposed by default.
4343

4444
### Alternative: Run Mintlify locally
4545

4646
If you prefer running the CLI directly, install the same version pinned in Docker:
4747

4848
```bash
49-
npm install -g mintlify@4.2.28
49+
npm install -g mint@4.2.516
5050
```
5151

5252
From the repository root, run:
5353

5454
```bash
55-
mintlify dev
55+
mint dev
5656
```
5757

58-
If Mintlify reports missing local dependencies, run:
58+
If the CLI reports that it is outdated, run:
5959

6060
```bash
61-
mintlify install
61+
mint update
6262
```
6363

6464
## Editing Workflow
6565

6666
1. Update or add `.mdx` pages under the appropriate section directory.
67-
2. If a page should appear in the docs navigation, add it to [mint.json](/Users/anurlybayev/Developer/codex/centml_platform_docs/mint.json).
68-
3. Put screenshots and local images in [images/](/Users/anurlybayev/Developer/codex/centml_platform_docs/images) and reference them with `/images/...` paths.
69-
4. Reuse helpers from [snippets/components.mdx](/Users/anurlybayev/Developer/codex/centml_platform_docs/snippets/components.mdx) when a page needs the shared hero card or banner components.
67+
2. If a page should appear in the docs navigation, add it to [docs.json](docs.json).
68+
3. Put screenshots and local images in [images/](images) and reference them with `/images/...` paths.
69+
4. Reuse helpers from [snippets/components.mdx](snippets/components.mdx) when a page needs the shared hero card or banner components.
7070
5. Preview locally before opening a PR, especially for image paths, imports, and navigation changes.
7171

7272
## How Publishing Works
@@ -77,13 +77,13 @@ If you need admin access to the Mintlify project, follow the internal process re
7777

7878
## Important Notes
7979

80-
- `mint.json` is the source of truth for what appears in the left navigation.
80+
- `docs.json` is the source of truth for what appears in the left navigation.
8181
- Not every file in the repository is currently linked from navigation.
8282
- There is no app build, unit test, or lint pipeline defined in this repo today; the most important validation is a successful local Mintlify preview.
83-
- Avoid casually upgrading Mintlify beyond `4.2.28` until the preview and deployed site are revalidated.
83+
- After a Mintlify upgrade, recheck the local preview to confirm navigation, layout, and brand colors still render as expected.
8484

8585
## Troubleshooting
8686

87-
- If the preview does not start, make sure you are running the command from the repository root where `mint.json` lives.
88-
- If a page returns `404`, confirm the file exists and that its route is correctly listed in `mint.json` when navigation is expected.
89-
- If local Mintlify behaves differently from Docker, trust the Docker flow first because it is version-pinned in the repo.
87+
- If the preview does not start, make sure you are running the command from the repository root where `docs.json` lives.
88+
- If a page returns `404`, confirm the file exists and that its route is correctly listed in `docs.json` when navigation is expected.
89+
- If local Mintlify behaves differently from Docker, trust the Docker flow first because it is the repository’s default preview path.

‎apps/compute.mdx‎

Lines changed: 9 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Spin up a compute instance by choosing one of the available base images:
1616
Enter your SSH public key to configure access to the instance, select a GPU instance type, and click Deploy.
1717

1818
<Frame>
19-
<img src="/images/comp_1.png" style={{ borderRadius: '0.5rem' }} />
19+
<img src="/images/comp_1.png" alt="Compute instance launch page" style={{ borderRadius: '0.5rem' }} />
2020
</Frame>
2121

2222
## 2. SSH into the instance
@@ -26,7 +26,7 @@ Once the instance is ready, navigate to the deployment details page. The **Endpo
2626
- **Endpoint URL** — the hostname for your instance. Next to it are the copy button (copies the URL) and the SSH button (copies `ssh root@<endpoint_url>` so you can paste it directly into your terminal).
2727

2828
<Frame>
29-
<img src="/images/comp_2.png" style={{ borderRadius: '0.5rem' }} />
29+
<img src="/images/comp_2.png" alt="SSH key configuration for a compute instance" style={{ borderRadius: '0.5rem' }} />
3030
</Frame>
3131

3232
To connect, use the SSH command with the `root` user:
@@ -36,22 +36,15 @@ ssh root@<endpoint_url>
3636
```
3737

3838
<Frame>
39-
<img src="/images/comp_3.png" style={{ borderRadius: '0.5rem' }} />
39+
<img src="/images/comp_3.png" alt="Running compute instance showing its endpoint URL" style={{ borderRadius: '0.5rem' }} />
4040
</Frame>
4141

4242
The instance comes preloaded with the libraries included in your selected base image. For **PyTorch** instances, CUDA libraries are bundled in the NGC image. For **Ubuntu** instances on full GPU hardware, NVIDIA drivers are available; on MIG instances, NVIDIA drivers are not available. Additional packages and libraries can be installed with your preferred package manager.
4343

4444

45-
# What's Next
45+
## What's next
4646

47-
<CardGroup cols={2}>
48-
<Card
49-
title="LLM Serving"
50-
icon="messages"
51-
href="/apps/llm"
52-
>
53-
Explore dedicated public and private endpoints for production model deployments.
54-
</Card>
47+
<CardGroup cols={3}>
5548
<Card
5649
title="Clients"
5750
icon="terminal"
@@ -67,17 +60,10 @@ The instance comes preloaded with the libraries included in your selected base i
6760
Learn how to create private inference endpoints
6861
</Card>
6962
<Card
70-
title="Submit a Support Request"
71-
icon="headset"
72-
href="/resources/requesting_support"
63+
title="LLM Serving"
64+
icon="messages"
65+
href="/apps/llm"
7366
>
74-
Submit a Support Request.
67+
Explore dedicated public and private endpoints for production model deployments.
7568
</Card>
76-
<Card
77-
title="Agents on NVIDIA CCluster"
78-
icon="user-secret"
79-
href="/resources/json_and_tool"
80-
>
81-
Learn how agents can interact with NVIDIA CCluster services.
82-
</Card>
8369
</CardGroup>

‎apps/inference.mdx‎

Lines changed: 14 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Under the **Optional Details** tab:
2626
- **Environment variables** — pass additional environment variables to the container (e.g., `HF_TOKEN`).
2727

2828
<Frame>
29-
<img src="/images/inf_1.png" style={{ borderRadius: '0.5rem' }} />
29+
<img src="/images/inf_1.png" alt="General Inference deployment page" style={{ borderRadius: '0.5rem' }} />
3030
</Frame>
3131

3232
<Tip>
@@ -62,7 +62,7 @@ curl -X POST https://<endpoint_url>/api/chat -d '{"model": "qwen2:1.5b", "messag
6262
By default, NVIDIA CCluster provides several managed clusters and GPU instances for you to deploy your inference containers.
6363

6464
<Frame>
65-
<img src="/images/inf_2.png" style={{ borderRadius: '0.5rem' }} />
65+
<img src="/images/inf_2.png" alt="Hardware instance selection for general inference" style={{ borderRadius: '0.5rem' }} />
6666
</Frame>
6767

6868
Select the regional cluster and hardware instance that best fits your need and click Deploy.
@@ -76,13 +76,13 @@ You can integrate your own private cluster into CCluster through bring-your-own-
7676
Once deployed, you can see all your deployments under the listing view along with their current status.
7777

7878
<Frame>
79-
<img src="/images/inf_3.png" style={{ borderRadius: '0.5rem' }} />
79+
<img src="/images/inf_3.png" alt="Container image configuration for general inference" style={{ borderRadius: '0.5rem' }} />
8080
</Frame>
8181

8282
Click on the deployment to view the details page, logs and monitoring information.
8383

8484
<Frame>
85-
<img src="/images/inf_4.png" style={{ borderRadius: '0.5rem' }} />
85+
<img src="/images/inf_4.png" alt="Deployment details panel after launching a general inference endpoint" style={{ borderRadius: '0.5rem' }} />
8686
</Frame>
8787

8888
Once the deployment status is ready, the container port is going to be exposed under the endpoint url shown in the details page.
@@ -112,15 +112,15 @@ grpcurl -d '{"prompt": "Hello"}' my-deployment.some-hash.cluster-alias.centml.co
112112

113113

114114

115-
# What's Next
115+
## What's next
116116

117-
<CardGroup cols={2}>
117+
<CardGroup cols={3}>
118118
<Card
119-
title="LLM Serving"
120-
icon="messages"
121-
href="/apps/llm"
119+
title="Private Inference Endpoints"
120+
icon="lock"
121+
href="/resources/private"
122122
>
123-
Explore dedicated public and private endpoints for production model deployments.
123+
Learn how to create private inference endpoints
124124
</Card>
125125
<Card
126126
title="Clients"
@@ -130,24 +130,10 @@ grpcurl -d '{"prompt": "Hello"}' my-deployment.some-hash.cluster-alias.centml.co
130130
Learn how to interact with the NVIDIA CCluster programmatically
131131
</Card>
132132
<Card
133-
title="Private Inference Endpoints"
134-
icon="lock"
135-
href="/resources/private"
136-
>
137-
Learn how to create private inference endpoints
138-
</Card>
139-
<Card
140-
title="Submit a Support Request"
141-
icon="headset"
142-
href="/resources/requesting_support"
133+
title="LLM Serving"
134+
icon="messages"
135+
href="/apps/llm"
143136
>
144-
Submit a Support Request.
137+
Explore dedicated public and private endpoints for production model deployments.
145138
</Card>
146-
<Card
147-
title="Agents on NVIDIA CCluster"
148-
icon="user-secret"
149-
href="/resources/json_and_tool"
150-
>
151-
Learn how agents can interact with NVIDIA CCluster services.
152-
</Card>
153139
</CardGroup>

‎apps/llm.mdx‎

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Deploy dedicated LLM endpoints that fits your performance requirements and budge
1010
Select or enter the Hugging Face model name of your choosing and provide your Hugging Face token. Also provide a name for the dedicated endpoint you are going to deploy.
1111

1212
<Frame>
13-
<img src="/images/llm_stage1.png" style={{ borderRadius: '0.5rem' }} />
13+
<img src="/images/llm_stage1.png" alt="LLM Serving page showing available models" style={{ borderRadius: '0.5rem' }} />
1414
</Frame>
1515

1616
<Tip>
@@ -21,7 +21,7 @@ Make sure you have been granted access to the model you selected. If not, please
2121
Choose the cluster or the region you want to deploy the model. Based on that, NVIDIA CCluster presents three pre-configured deployment configurations to suit different requirements:
2222

2323
<Frame>
24-
<img src="/images/llm_stage2.png" style={{ borderRadius: '0.5rem' }} />
24+
<img src="/images/llm_stage2.png" alt="LLM Serving deployment configuration options" style={{ borderRadius: '0.5rem' }} />
2525
</Frame>
2626

2727
- **Best performance:** A configuration optimized for latency and throughput, suitable for high-demand applications where performance is critical.
@@ -70,16 +70,9 @@ For more details on how to use the LLM deployment, please refer to the [examples
7070

7171

7272

73-
# What's Next
73+
## What's next
7474

75-
<CardGroup cols={2}>
76-
<Card
77-
title="The Model Integration Lifecycle"
78-
icon="arrows-spining"
79-
href="/resources/model_integration_lifecycle"
80-
>
81-
Dive into how NVIDIA CCluster can help optimize your Model Integration Lifecycle (MILC).
82-
</Card>
75+
<CardGroup cols={3}>
8376
<Card
8477
title="Clients"
8578
icon="terminal"
@@ -93,13 +86,6 @@ For more details on how to use the LLM deployment, please refer to the [examples
9386
href="/resources/private"
9487
>
9588
Learn how to create private inference endpoints
96-
</Card>
97-
<Card
98-
title="Submit a Support Request"
99-
icon="headset"
100-
href="/resources/requesting_support"
101-
>
102-
Submit a Support Request.
10389
</Card>
10490
<Card
10591
title="Agents on NVIDIA CCluster"

0 commit comments

Comments
 (0)