diff --git a/packages/docs/src/generate-abilities.mjs b/packages/docs/src/generate-abilities.mjs index 93162432..65c5ddef 100644 --- a/packages/docs/src/generate-abilities.mjs +++ b/packages/docs/src/generate-abilities.mjs @@ -33,7 +33,7 @@ async function generatePageFromAbilities() { /** @type Doc */ // @ts-expect-error doc is `unknown` - const doc = yaml.load(plainText) + const doc = yaml.load(plainText, { json: true }) const repositories = await getRepositoryNames()