Просмотр исходного кода

fix(docs): Fix internal links to graphql types

Michael Bromley 2 лет назад
Родитель
Сommit
73994da2aa
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      scripts/docs/generate-graphql-docs.ts

+ 1 - 1
scripts/docs/generate-graphql-docs.ts

@@ -27,7 +27,7 @@ const targetApi: TargetApi = getTargetApiFromArgs();
 // The path to the introspection schema json file
 const SCHEMA_FILE = path.join(__dirname, `../../schema-${targetApi}.json`);
 // The absolute URL to the generated api docs section
-const docsUrl = `/docs/graphql-api/${targetApi}/`;
+const docsUrl = `/graphql-api/${targetApi}/`;
 // The directory in which the markdown files will be saved
 const outputPath = path.join(__dirname, `../../docs/content/graphql-api/${targetApi}`);