docs-to-fern

Migrates a Markdown docs/ folder into a Fern documentation site with scaffolding, navigation, and NVIDIA SPDX frontmatter.

526|145|Updated Apr 16, 2025
One-click install
npx skills add https://github.com/ai-dynamo/aiperf --skill docs-to-fern
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docs-to-fern
Source: https://github.com/ai-dynamo/aiperf/tree/main/.agents/skills/docs-to-fern
Command: npx skills add https://github.com/ai-dynamo/aiperf --skill docs-to-fern

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Migrates a plain Markdown docs/ folder to a fully functional Fern documentation site, scaffolding configuration, navigation, and branding so teams can publish docs without a publishing framework.

Core Features & Use Cases

  • Scaffold a complete Fern project (docs.yml, fern.config.json, navigation skeleton) from an existing docs repo.
  • Migrate content: copy markdown pages into fern/pages, enforce consistent heading hierarchy, and add SPDX frontmatter for NVIDIA branding.
  • Build navigation: auto-generate fern/versions/next.yml from the page tree and ensure internal links stay intact.
  • Optional: migrate and reference images/assets to fern/assets/img for site publishing.

Quick Start

Scaffold Fern, migrate the docs/ folder, update headings and frontmatter, generate navigation, and verify with a local preview.

Frequently Asked Questions about docs-to-fern

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate a plain Markdown docs folder to a Fern documentation site?

To migrate a Markdown docs folder to a Fern site, the skill scaffolds the Fern project configuration, copies content into fern/pages, enforces heading hierarchy, and generates a working navigation skeleton from your existing page tree.

Can I automatically generate navigation for my Markdown pages when scaffolding a Fern project?

Yes, you can automatically generate navigation for Markdown pages. The skill builds a fern/versions/next.yml navigation skeleton directly from the migrated page tree and ensures internal links remain intact.

Do I need an existing publishing framework to use Fern for my documentation?

No, you do not need an existing publishing framework. The skill is designed for projects lacking a publishing solution and scaffolds a complete Fern environment with branding, structure, and SPDX frontmatter.

What is the best way to add NVIDIA SPDX frontmatter to Markdown files during a Fern migration?

The best way to add NVIDIA SPDX frontmatter during a Fern migration is using this skill, which automatically injects the required branding frontmatter into your Markdown pages as they are copied into the fern/pages directory.

Does the Fern migration process handle migrating images and assets alongside the Markdown content?

Yes, the Fern migration process handles images and assets by optionally migrating and referencing them to the fern/assets/img directory, ensuring visual content is available for site publishing.