Skip to content

Commit f0b5fb9

Browse files
lbliiipimlock
andauthored
docs(fern): migrate OpenShell docs to Fern (#780)
This PR migrates the OpenShell docs to Fern and carries the follow-up cleanup needed to make the migrated site usable and close to the existing docs experience. It focuses on navigation, content structure, code block behavior, and landing-page polish, while leaving CI workflow work out of this PR. --------- Signed-off-by: Lawrence Lane <llane@nvidia.com> Co-authored-by: Piotr Mlocek <pmlocek@nvidia.com>
1 parent b7779bd commit f0b5fb9

44 files changed

Lines changed: 5676 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,3 +197,4 @@ architecture/plans
197197
.claude/settings.local.json.claude/worktrees/
198198
.claude/worktrees/
199199
rfc.md
200+
.worktrees

fern/assets/NVIDIA_dark.svg

Lines changed: 35 additions & 0 deletions
Loading

fern/assets/NVIDIA_light.svg

Lines changed: 34 additions & 0 deletions
Loading

fern/assets/NVIDIA_symbol.svg

Lines changed: 22 additions & 0 deletions
Loading

fern/assets/images/architecture.svg

Lines changed: 1 addition & 0 deletions
Loading
196 KB
Loading

fern/assets/openshell-terminal.png

196 KB
Loading

fern/components/BadgeLinks.tsx

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/**
2+
* Badge links for GitHub, License, PyPI, etc.
3+
* Uses a flex wrapper to display badges horizontally and hides Fern's
4+
* external-link icon that otherwise stacks under each badge image.
5+
* Requires the `.badge-links` CSS rule from main.css.
6+
*/
7+
export type BadgeItem = {
8+
href: string;
9+
src: string;
10+
alt: string;
11+
};
12+
13+
export function BadgeLinks({ badges = [] }: { badges?: BadgeItem[] }) {
14+
if (badges.length === 0) {
15+
return null;
16+
}
17+
return (
18+
<div className="badge-links">
19+
{badges.map((b) => (
20+
<a key={b.href} href={b.href} target="_blank" rel="noreferrer">
21+
<img src={b.src} alt={b.alt} />
22+
</a>
23+
))}
24+
</div>
25+
);
26+
}

0 commit comments

Comments
 (0)