RepoIBM (Granite)IBM (Granite)published Jun 6, 2025seen 1d

ibm-granite/docs

MDX

Open original ↗

Captured source

source ↗
published Jun 6, 2025seen 1dcaptured 9hhttp 200method plain

ibm-granite/docs

Description: IBM Granite doc site

Language: MDX

License: Apache-2.0

Stars: 0

Forks: 2

Open issues: 12

Created: 2025-06-06T10:42:19Z

Pushed: 2026-06-10T15:37:47Z

Default branch: main

Fork: no

Archived: no

README:

IBM Granite Documentation

Source for the IBM Granite documentation site at https://www.ibm.com/granite/docs, built with Docusaurus 3 and published via GitHub Pages.

Every merge to main triggers CI, which builds and deploys the site automatically. There is no staging branch or versioning — main is always the live site.

---

Repository layout

granite/docs/ # MDX source for all pages
models/ # Model family pages (Granite 4, embedding, vision, etc.)
run/ # Serving guides (Ollama, vLLM, LM Studio, partners)
use-cases/ # Cookbooks and recipes
fine-tune/ # Fine-tuning guides
model-standards/ # Naming guidance, signature verification
responsible-ai/ # Responsible AI page
src/
components/ # Reusable MDX components (Card, Accordion, etc.)
theme/ # Swizzled Docusaurus theme components
css/custom.css # Global style overrides
static/ # Fonts, images, analytics script
sidebars.ts # Sidebar structure for Docs and Cookbooks tabs
docusaurus.config.ts # Site configuration

---

Local development

Prerequisites

  • Node.js 20 or later

Install dependencies

npm install

Start the dev server

npm start

The site is available at http://localhost:3000/granite/docs/.

Build

npm run build

A production build is written to build/.

---

Contributing

Add or update a page

1. Create or edit an .mdx file under granite/docs/. 2. To add a new page, also add its path to sidebars.ts in the appropriate section. 3. Test locally with npm start before opening a PR.

Frontmatter

Every page should have at minimum:

---
title: "My Page"
description: "One sentence describing what this page covers."
---

Optional fields:

| Field | Purpose | |---|---| | sidebar_label | Override the sidebar display name (defaults to title) | | displayed_sidebar: null | Suppress the page from all sidebars (page still exists at its URL) |

Components

The following components are available in MDX files without any import:

| Component | Purpose | |---|---| | ` | Linked card with optional icon | | | Grid container for elements | | | Collapsible section | | | Container for multiple elements | | ` | Tabbed code block group |

For simple callouts, prefer native Docusaurus admonitions:

:::note
This is a note.
:::

:::warning
This is a warning.
:::

Submit a pull request

1. Create a branch: git checkout -b feature/my-change 2. Make your changes and test locally with npm start 3. Open a PR against main

PRs require at least one maintainer approval and a passing CI build before merging.