Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add short_version and use it in links #7115

Merged
merged 1 commit into from Aug 14, 2023
Merged

Add short_version and use it in links #7115

merged 1 commit into from Aug 14, 2023

Conversation

hramezani
Copy link
Member

No description provided.

@@ -7,6 +7,14 @@
"""The version of Pydantic."""


def version_short() -> str:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can replace it with a hardcoded short version or cached one

@cloudflare-pages
Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5fc9d12
Status: ✅  Deploy successful!
Preview URL: https://686cc7a1.pydantic-docs2.pages.dev
Branch Preview URL: https://short-version.pydantic-docs2.pages.dev

View logs

Copy link
Member

@samuelcolvin samuelcolvin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@samuelcolvin samuelcolvin enabled auto-merge (squash) August 14, 2023 12:43
@samuelcolvin samuelcolvin merged commit d70abd8 into main Aug 14, 2023
48 checks passed
@samuelcolvin samuelcolvin deleted the short-version branch August 14, 2023 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants