Skip to content

Commit e578666

Browse files
committed
docs: fix build failure by replacing missing SVGs and adding logo placeholder
1 parent 45a24b7 commit e578666

3 files changed

Lines changed: 11 additions & 12 deletions

File tree

docs/docusaurus.config.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ const config: Config = {
99
tagline: 'Distributed, System-Intimate AI Engineering Ecosystem',
1010
favicon: 'img/favicon.ico',
1111

12-
// Future flags, see https://docusaurus.io/docs/api/docusaurus-config#future
13-
future: {
14-
v4: true, // Improve compatibility with the upcoming Docusaurus v4
15-
},
16-
1712
// Set the production url of your site here
1813
url: 'https://nathfavour.github.io',
1914
// Set the /<baseUrl>/ pathname under which your site is served
@@ -56,7 +51,7 @@ const config: Config = {
5651

5752
themeConfig: {
5853
// Replace with your project's social card
59-
image: 'img/docusaurus-social-card.jpg',
54+
// image: 'img/docusaurus-social-card.jpg',
6055
colorMode: {
6156
respectPrefersColorScheme: true,
6257
},

docs/src/components/HomepageFeatures/index.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ import styles from './styles.module.css';
55

66
type FeatureItem = {
77
title: string;
8-
Svg: React.ComponentType<React.ComponentProps<'svg'>>;
8+
emoji: string;
99
description: ReactNode;
1010
};
1111

1212
const FeatureList: FeatureItem[] = [
1313
{
1414
title: 'Modular Agentic Runtimes',
15-
Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
15+
emoji: '🤖',
1616
description: (
1717
<>
1818
Switch between the artisan Vibe Agent and the powerhouse Copilot SDK
@@ -22,7 +22,7 @@ const FeatureList: FeatureItem[] = [
2222
},
2323
{
2424
title: 'System-Intimate Tooling',
25-
Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
25+
emoji: '🛠️',
2626
description: (
2727
<>
2828
Deep access to your filesystem, system resources, and Git state for
@@ -32,7 +32,7 @@ const FeatureList: FeatureItem[] = [
3232
},
3333
{
3434
title: 'Directory-Aware Sessions',
35-
Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
35+
emoji: '📂',
3636
description: (
3737
<>
3838
Project isolation is built-in. Sessions are keyed to your directory hash,
@@ -42,11 +42,11 @@ const FeatureList: FeatureItem[] = [
4242
},
4343
];
4444

45-
function Feature({title, Svg, description}: FeatureItem) {
45+
function Feature({title, emoji, description}: FeatureItem) {
4646
return (
4747
<div className={clsx('col col--4')}>
4848
<div className="text--center">
49-
<Svg className={styles.featureSvg} role="img" />
49+
<span style={{ fontSize: '4rem' }}>{emoji}</span>
5050
</div>
5151
<div className="text--center padding-horiz--md">
5252
<Heading as="h3">{title}</Heading>

docs/static/img/logo.svg

Lines changed: 4 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)