We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2670cfb commit 94f0506Copy full SHA for 94f0506
plugins/docusaurus-plugin-ionic-component-api/index.js
@@ -20,7 +20,7 @@ module.exports = function (context, options) {
20
const generateMarkdownForVersion = async (version, npmTag, isCurrentVersion) => {
21
let COMPONENT_LINK_REGEXP;
22
const response = isCurrentVersion
23
- ? await fetch(`https://raw.githubusercontent.com/ionic-jp/ionic-docs/main/scripts/data/translated-api.json`)
+ ? await fetch(`https://unpkg.com/@ionic/docs@${npmTag}/core.json`)
24
: await fetch(`https://unpkg.com/@ionic/docs@${npmTag}/core.json`);
25
const { components } = await response.json();
26
0 commit comments