diff --git a/src/components/ActionOptionsTable.tsx b/src/components/ActionOptionsTable.tsx index 5d0798591e..0847a2b068 100644 --- a/src/components/ActionOptionsTable.tsx +++ b/src/components/ActionOptionsTable.tsx @@ -1,4 +1,4 @@ -import configSchema from '../content/mergify-configuration-openapi.json'; +import configSchema from '../../static/mergify-configuration-openapi.json'; import { OptionDefinition } from './ConfigOptions'; import { OptionsTableBase } from './OptionsTable'; diff --git a/src/components/ConfigOptions.tsx b/src/components/ConfigOptions.tsx index bd7d8137e0..d874702c40 100644 --- a/src/components/ConfigOptions.tsx +++ b/src/components/ConfigOptions.tsx @@ -5,7 +5,7 @@ import React from 'react'; import ReactMarkdown from 'react-markdown'; -import configSchema from '../content/mergify-configuration-openapi.json'; +import configSchema from '../../static/mergify-configuration-openapi.json'; import InlineCode from './InlineCode'; import { mdxComponents } from './Page'; diff --git a/src/components/OptionsTable.tsx b/src/components/OptionsTable.tsx index e70174c75f..88f8ddb657 100644 --- a/src/components/OptionsTable.tsx +++ b/src/components/OptionsTable.tsx @@ -5,7 +5,7 @@ import * as yaml from 'js-yaml'; import React from 'react'; import ReactMarkdown from 'react-markdown'; -import configSchema from '../content/mergify-configuration-openapi.json'; +import configSchema from '../../static/mergify-configuration-openapi.json'; import { getValueType, OptionDefinition } from './ConfigOptions'; diff --git a/src/components/PullRequestAttributesTable.jsx b/src/components/PullRequestAttributesTable.jsx index f9c40e7d26..fcbad343e6 100644 --- a/src/components/PullRequestAttributesTable.jsx +++ b/src/components/PullRequestAttributesTable.jsx @@ -5,7 +5,7 @@ import React from 'react'; import ReactMarkdown from 'react-markdown'; -import configSchema from '../content/mergify-configuration-openapi.json'; +import configSchema from '../../static/mergify-configuration-openapi.json'; import { getValueType } from './ConfigOptions'; diff --git a/src/content/mergify-configuration-openapi.json b/static/mergify-configuration-openapi.json similarity index 100% rename from src/content/mergify-configuration-openapi.json rename to static/mergify-configuration-openapi.json