fix: OpenAPI broken docs link
This commit is contained in:
committed by
Wolfgang Walther
parent
087b9ecca1
commit
8f4a200f33
@@ -5,6 +5,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Fix OpenAPI broken docs link by @taimoorzaeem in #4048
|
||||||
|
|
||||||
## [13.0.4] - 2025-06-17
|
## [13.0.4] - 2025-06-17
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ prettyVersion =
|
|||||||
docsVersion :: Text
|
docsVersion :: Text
|
||||||
docsVersion
|
docsVersion
|
||||||
| isPreRelease = "latest"
|
| isPreRelease = "latest"
|
||||||
| otherwise = "v" <> (T.intercalate "." . map show . take 1 $ version)
|
| otherwise = "v" <> T.intercalate "." (take 1 version)
|
||||||
|
|
||||||
|
|
||||||
-- | Versions with two components (e.g., '1.1') are treated as pre-releases.
|
-- | Versions with two components (e.g., '1.1') are treated as pre-releases.
|
||||||
|
|||||||
Reference in New Issue
Block a user