Преглед изворни кода

fix(docs): Fix internal links to graphql types

Michael Bromley пре 2 година
родитељ
комит
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}`);