Hi, me again :)
My docusaurus project has 3 versions, and I only want to generate the API for the latest one. I would like to leave older versions as they are.
If I don't add versioned APIs, I get the error:
[cause]: Error: ENOENT: no such file or directory, open '/website/versioned_docs/version-2.0.0/api-packages.json'
If I generate that file with yarn docusaurus api:version 2.0.0 I get an error for each different API item:
Error: Can't render static file for pathname "/docs/api/next/function/getValueInPath"
(note that is using next instead of 2.0.0 which is the version name, there are no references to next anywhere in my codebase)
I don't need the API in older versions and would rather have it disabled. Is it possible?
Thanks!
Hi, me again :)
My docusaurus project has 3 versions, and I only want to generate the API for the latest one. I would like to leave older versions as they are.
If I don't add versioned APIs, I get the error:
If I generate that file with
yarn docusaurus api:version 2.0.0I get an error for each different API item:(note that is using
nextinstead of2.0.0which is the version name, there are no references tonextanywhere in my codebase)I don't need the API in older versions and would rather have it disabled. Is it possible?
Thanks!