Locally hosting prefect
SDK reference docs for specific versions with mdxify
#18528
kevingrismore
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Wanted to share a little thing I put together in case anyone wants to construct SDK reference docs for a particular version of
prefect
.sh serve_prefect_sdk_docs.sh <optional-prefect-version-number>
Prerequisites:
Usage examples
Select a
prefect
versionsh serve_prefect_sdk_docs.sh 3.1.6
Current
prefect
versionNot supplying a version number will serve docs for the latest version.
sh serve_prefect_sdk_docs.sh
Ctrl+C will shut off the mintlify dev server and clean up any generated files.
Known issues and limitations:
>=3.1.6
due to pydantic compatibility issues.Beta Was this translation helpful? Give feedback.
All reactions