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

Fix latest version displayed in docs #11

Merged
merged 1 commit into from
Aug 12, 2024
Merged

Conversation

majk-p
Copy link
Member

@majk-p majk-p commented Aug 12, 2024

No description provided.

build.sbt Outdated
@@ -177,7 +177,7 @@ lazy val docs = project
mdocOut := new File("website/docs"),
mdocVariables := Map(
"LATEST_STABLE_VERSION" -> {
if (isSnapshot.value && latestStableVersion.isDefined) latestStableVersion.get
if (latestStableVersion.isDefined) latestStableVersion.get
Copy link
Contributor

Choose a reason for hiding this comment

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

How about:

    mdocVariables := Map(
      "LATEST_STABLE_VERSION" -> latestStableVersion.getOrElse(version.value)
    ),

@zainab-ali zainab-ali changed the title Fix latest versino displayed in docs Fix latest version displayed in docs Aug 12, 2024
@majk-p majk-p force-pushed the fix-latest-version-in-docs branch from 797df09 to d21ce87 Compare August 12, 2024 16:32
@majk-p majk-p force-pushed the fix-latest-version-in-docs branch from d21ce87 to 49b72c8 Compare August 12, 2024 16:33
@majk-p majk-p merged commit d3c5dcd into main Aug 12, 2024
12 checks passed
@majk-p majk-p deleted the fix-latest-version-in-docs branch August 12, 2024 16:40
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.

2 participants