Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix website build #6055

Merged
merged 2 commits into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const config: Config = {
id: 'api-cspell-lib',
out: './docs/api/cspell-lib',
entryPoints: ['../packages/cspell-lib/src/lib/index.ts'],
tsconfig: '../packages/cspell-lib/tsconfig.esm.json',
tsconfig: '../packages/cspell-lib/tsconfig.json',
// outputFileStrategy: 'modules',
fileExtension: '.md',
},
Expand Down
1 change: 1 addition & 0 deletions website/src/components/HomepageFeatures/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-require-imports */
import clsx from 'clsx';
import Heading from '@theme/Heading';
import styles from './styles.module.css';
Expand All @@ -11,7 +12,7 @@
const FeatureList: FeatureItem[] = [
{
title: 'Easy to Use',
Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,

Check warning on line 15 in website/src/components/HomepageFeatures/index.tsx

View workflow job for this annotation

GitHub Actions / lint

Can't resolve '@site/static/img/undraw_docusaurus_mountain.svg' in '/home/runner/work/cspell/cspell/website/src/components/HomepageFeatures'
description: (
<>
Docusaurus was designed from the ground up to be easily installed and used to get your website up and running
Expand All @@ -21,7 +22,7 @@
},
{
title: 'Focus on What Matters',
Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,

Check warning on line 25 in website/src/components/HomepageFeatures/index.tsx

View workflow job for this annotation

GitHub Actions / lint

Can't resolve '@site/static/img/undraw_docusaurus_tree.svg' in '/home/runner/work/cspell/cspell/website/src/components/HomepageFeatures'
description: (
<>
Docusaurus lets you focus on your docs, and we&apos;ll do the chores. Go ahead and move your docs into the{' '}
Expand All @@ -31,7 +32,7 @@
},
{
title: 'Powered by React',
Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,

Check warning on line 35 in website/src/components/HomepageFeatures/index.tsx

View workflow job for this annotation

GitHub Actions / lint

Can't resolve '@site/static/img/undraw_docusaurus_react.svg' in '/home/runner/work/cspell/cspell/website/src/components/HomepageFeatures'
description: (
<>
Extend or customize your website layout by reusing React. Docusaurus can be extended while reusing the same
Expand Down